469,950 Members | 2,314 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

launch application after installation


How using VS.NET installer
launch application after instalation?
Nov 22 '05 #1
1 2349
Hi Konrad,

Thanks for posting.

To achieve this, we can add the primary output of the application (the EXE
file) to the "Install" custom action. We also need to change the
"InstallerClass" property of the custom action to "false".

As a result, when the installation is finishing, the application will be
lanched. However, the Windows Installer Session will be suspended to wait
for the return of the application. This "Synchronous execution" behavior of
the custom action is by default. If we want the Windows Installer Session
to finish without waiting, we need to change the type of the custom action
outside VS.Net:

1. Download and install the Windows Installer Platform SDK at the following

2. Install "Orca.msi" included.

3. Run Orca and open the MSI file we have generated.

4. Go to the "CustomAction" table and locate the row with "Type" = 1042.
This shall be the custom action we have created to run the EXE.

5. Change the type from 1042 to 1234.

6. Save the MSI and quit Orca.

Please give it a try and see whether this achieves your goal or not. If you
have any concerns or new findings, please feel free to post here.


Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jeff Cooper | last post: by
1 post views Thread by Leonid Finis | last post: by
13 posts views Thread by Ole Hanson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.