Targets: I have MyAPP.exe (build in VS2010) & MyDriver.sys (build with VS2010 + WinDDK)

What I'm trying to do: is to create a Setup Wizard project, which can run post-install action, for example, I need to install the driver after installation succesfully completed like this:

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\MyDriver.inf

Another words, I need to run CMD script file (pre or port install, the order not is the real problem), with my MSI package simultaneously.

Is there any solution for me?

Thank you!


PS. Yes, I had already read some topics, like link 1, link 2 and others, but they seems to me too "heavy". Maybe some more easy solution exists?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top