![]() |
06/25/10 |
![]() ![]() ![]()
|
How to run installed program in Visual Studio setup projectDeveloper will often want to launch just-installed program at the end of installation. In Visual Studio 2005 setup project, this can be accomplished by adding custom action in the Commit phase, and adding primary output to the custom action. This, however, will fail because Visual Studio places custom action in execute sequence before InstallFinalize, so the file is not ready yet. Another, more involved way is adding InstallerClass and launching the program from there. This is probably even less reliable, especially taking into account the fact that managed code in fact is not even supported by Installer.The proper way to accomplish this involves direct editing the MSI by ORCA (or other capable editor)
|