Run Program not working

Got a problem you cannot solve? Try here.
Post Reply
BlackNight
Posts: 53
Joined: Tue Dec 28, 2010 11:05 am

Run Program not working

Post 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
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Run Program not working

Post 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!
Attachments
msi setup.docx
(1.98 MiB) Downloaded 409 times
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
BlackNight
Posts: 53
Joined: Tue Dec 28, 2010 11:05 am

Re: Run Program not working

Post by BlackNight »

Aviv,
Thank you!!! That worked great!

You guys Rock!

Paul
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Run Program not working

Post by giaviv »

Happy to help Paul - please do not hesitate should you have any more questions!

Best
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply