Visual Studio Install project load program after install

ok so for a project i'm doing I want the application to execute after the installation. Easier said than done with the visual studio installer project creator / manager / thing.

If you right click the install project, select view > custom actions.

Under install add your program executable. Change installerClass to false.

Install ORCA (an MSI file editor)

Go to the Custom Actions table (on the left) and find the custom action in the list. Change the type value to 1476.

Save.

Now when the installation runs it should execute the program asynchronously. So the installer progress bar will hinder you no more :)

If anyone knows how to get the Uninstall custom action to execute an exe on uninstall drop a comment, that one's annoying me, it seems to not want to execute.

Comments are closed.

Search

About Me

Hi, I'm Stu. I launched this website to host some of the applications I have developed using C#. I'm always looking for new ideas, contact me if you have any :)

Sponsors

Cool Links