Page 1 of 1

Run Program not working

Posted: Wed Jan 19, 2011 3:45 pm
by BlackNight
I have a line of code in my .mia file that should install a msi file on the user’s computer. after the application is installed. " Run Program $SUPPORTDIR$\InstallerTestHello.msi (WAIT)". The msi never runs. If I step through the installer with the debugger the line gets hit but does not actually run. Also if I do an Add Watch on the "$SUPPORTDIR$" Variable the value is Variable not defined if I Add Watch to "SUPPORTDIR" it has a path.

Any suggestions? Is there a better way of installing another msi file along with my app?

Thanks

Re: Run Program not working

Posted: Wed Jan 19, 2011 7:45 pm
by giaviv
Dear BlackNight,

The correct way to install MSI setups is with the use of our wonderful (Un)Install MSI Setup! I actually just finished writing a tutorial on how to use it - I am attaching it here. Please let me know if you have any questions!

Re: Run Program not working

Posted: Thu Jan 20, 2011 1:07 pm
by BlackNight
Aviv,
Thank you!!! That worked great!

You guys Rock!

Paul

Re: Run Program not working

Posted: Thu Jan 20, 2011 11:21 pm
by giaviv
Happy to help Paul - please do not hesitate should you have any more questions!

Best