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)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
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.
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.
so that the conversation will remain readable.