\"Run application on finish\" doesn't always work correctly

Got a problem you cannot solve? Try here.
EricHarmon
Posts: 6
Joined: Mon Jan 07, 2008 5:29 pm

\"Run application on finish\" doesn't always work correctly

Postby EricHarmon » Tue Jan 08, 2008 7:46 am

I'm building a test install for an application. The shortcuts to the application need to set the startup directory to the application directory in order for this application to work (this is a requirement of a third-party library). If the startup directory is not the same as the program directory, the program crashes on startup.

The problem is, when the last screen of the install is displayed and the user elects to run the application, there is no option to set the startup directory, so the program crashes. How can I set the startup directory when running my application automatically at the end of the install process?

Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Postby Alex_Ronquillo » Wed Jan 09, 2008 2:50 pm

This is an easy one. Use "Run Program As" command instead of "Run Program". "Run Program As" lets you set the working directory.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 86 guests