Launching one or more external installs from AI - 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!

LCharlier
Posts: 13
Joined: Fri Jun 12, 2009 8:52 pm
Location: Lafayette, Louisiana, USA
Contact: Website

Launching one or more external installs from AI

I am a new AI Enterprise customer and I am currently working on an install program that needs to be able to install over 8GB of other vendors' solutions before copying/configuring my company's applications which run on top. Because of their size, I understandably do not wish to include the other vendors' solutions as part of my compiled install but rather I would like to include those images on the installation disk for access from my setup (I would like to spawn each of the external installers as "silent installs"). From my initial examination of the launch capabilities in AI, it appears that the executables in question need to be included in Files and Folders before I can execute them from within my program. Is there a way around this? Given the large size of these other install images, I do not wish to copy them to the destination machine prior to execution. Ideally, I would like to include all of the other vendors' solutions alongside mine on a single DVD, have the customer execute my setup and have it run each of the other installs in-place from the DVD itself.

Thanks in advance for any-and-all assistance.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Launching one or more external installs from AI

Hi,

To run the scripted installations you can try using "Launch file or open URL" custom actions. These custom actions can be scheduled under "InstallExecuteSequence" -> "Commit" in the "Custom Actions" page.

To get the path of the scripts, you can use the SOURCEDIR (for a MSI package) or SETUPEXEDIR (for an EXE package) property. Please note that this works only for non-MSI installations. If the installers are MSI-based, you can add them as prerequisites or as chained packages.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
LCharlier
Posts: 13
Joined: Fri Jun 12, 2009 8:52 pm
Location: Lafayette, Louisiana, USA
Contact: Website

Re: Launching one or more external installs from AI

Cosmin,

Thanks for the reply. Unfortunately, I have repeatedly tried to use "Launch File or URL" to do what I want but to no avail as it appears that an executable specified in the Command Line field cannot accept arguments. Is this correct? I need to be able to launch an executable (an external installer) and pass it a number of switches/args, most importantly being the fully-qualified path to the installer's response file. Case in point:

s:\C14SLML\setup.exe /u s:\ResponseFiles\C14SLML.txt

where: s: is the drive letter of the DVD drive used to launch the installer

Suggestion(s)? Thanks for your help.

Lloyd Charlier
SpatiaX Infosystems
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Launching one or more external installs from AI

Hi Lloyd,
it appears that an executable specified in the Command Line field cannot accept arguments. Is this correct?
No, the command line of a "Launch file or open URL" custom action can contain both the path of the EXE you want to launch and its parameters. The drive path can be obtained from the SOURCEDIR property if you are using a MSI or from the SETUPEXEDIR property if you are using an EXE.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”