I'm trying to create my first MSI from scratch. It's fairly basic; just installs a couple files to an install directory, creates a HKLM\RUN registry entry, and creates a start menu shortcut. The app is designed to run in the Systray and I'm trying to get it to launch automatically during or after the install completes. I'm trying to use the 'Execute Program From Installed Files' action and it works fine; the app launches to the systray as expected. The problem is that the install hangs at this point and never moves on. If I remove the 'Execute Program' action the install completes normally. I've tried adding the action after InstallFinalize in Execute Immediate and in Execute Deferred but get the same results either way.

BTW, I have enabled logging and checked the Event Logs. No indicators there that I can find.

Any idea what I might be doing wrong?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Which tool are you using to create your MSI? I'm assuming that your using Wise from how you described the custom action.

It hanging because the installation is waiting for your exe to complete and report an exit code.

Open up your custom action, select the properties tab and set 'Processing' to 'Asynch, No wait'
Answered 07/16/2009 by: michaelnowell
Second Degree Blue Belt

Please log in to comment
That did it. Thanks!
Answered 07/16/2009 by: mturman
Orange Belt

Please log in to comment