HowTo run a script after MSI installation was completed? MSI created with VS2010 + Setup Wizard

StackOverflow https://stackoverflow.com/questions/5950081

Вопрос

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