launching a file - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

launching a file

Hi Support,

I am creating an exe setup file with only the prerequisites of my application. Now I need to launch this exe file from main installer.
Note: I do not want to launch this file as an prerequisite in the main installer.

I have tried to launch the exe as a temporary file in UI sequence, but we are getting windows installer error and unable to launch the file..

Is there any other way of launching the file before the UI sequence and check the registry before launching the exe to know if the exe is already installed or not?

Regards
Sony
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: launching a file

Hi Sony,

I am afraid two installer can not run at the same time. You can either use a feature based prerequisite if you need an .msi for your application (but the installer needs to have a UI), you can use a global prerequisite if you don't really need the installer to be an .msi, or you can use Windows Installer's chained packages feature, but that one is only available from Windows Installer 4.5 onwards.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: launching a file

Hi Gabriel,

Thanks for the quick suggestion.

In chained package, can we launch the exe based on the registry check?

Regards
Sony
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: launching a file

Hi Sony,
In chained package, can we launch the exe based on the registry check?
Please note that you can add as a chained package only MSI files, not EXE files.

You can condition very easily if the MSI will install or not based on your registry search, all this can be done from the Chained Packages page.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”