/build/static/layout/Breadcrumb_cap_w.png

Run exe after installing msi

I am using VB6 and I have created an exe file.I need to run an exe file after the msi finish installing. I am using Visual Studio Installer for creating MSI package.Can any one tell me the step by step procedure to run exe file after installing MSI package. Please it is urgent.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 15 years ago
Red Belt
0
I don't think the VS Installer has any interface to the installation sequences, nor does it allow you to directly edit the MSI's tables. For that, you need either a decent MSI authoring tool (e.g. Wise or InstallShield) or a bare-bones table editor like Orca (available in the Platform SDK) or InstEd (http://www.instedit.com).

Then you need to add a Custom Action to the end of the 'ExecuteImmediate' sequence, using the component name of the EXE as the source.

It sounds to me as if you may not be familiar with application packaging so I imagine some of the above makes no sense whatsoever so, in your shoes, if I was unwilling to climb the very steep learning curve involved with MSIs and Custom Actions, I'd build a new console EXE which runs the MSI, spawns the installed EXE (if present), then exits. Failing that, a script or command line, compiled to an EXE using one of the many tools available would do.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ