/build/static/layout/Breadcrumb_cap_w.png

Install Hangs During 'Execute Program From Installed Files'

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   [ + ] Show comments

Answers (2)

Posted by: michaelnowell 14 years ago
Second Degree Blue Belt
0
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'
Posted by: mturman 14 years ago
Orange Belt
0
That did it. Thanks!
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