jorgeltx
Posts: 10
Joined: Tue Sep 09, 2008 6:30 pm

Install MSI without using package chaining?

Is it possible to install an MSI (1) from within another MSI without using package chaining?
A Feature will control the installation of the second MSI (1). The installation will occur after the main package installs and the user chooses to install a new feature (second application).
Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Install MSI without using package chaining?

Hi,

Please note that the recommended approach for installing other packages is by using prerequisites. Although it's not recommended, another approach is this:
- add the second MSI in the "Files and Folders" page so it's copied on the target machine
- in the Custom Actions page show the "InstallFinalize" standard action
- create a Launch file or open URL custom action under it
- configure the custom action to launch the MSI
- make sure it uses the Asynchronous execution, do not wait for return option
- condition it with the feature action of the feature you want

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hhale21
Posts: 26
Joined: Thu Apr 01, 2010 10:21 pm

Re: Install MSI without using package chaining?

I am trying to install a msi using "not recommended" method described below as I only want the msi to be installed if the user chooses the feature.
I tried this method without any condition. I added the msi to the windows temp folder than created a custom action using the msi.( MSI is not a listing source type)
The msi was not installed when I ran the installer. There is no evidence in the install log that an attempt was even made.

I just want to confirm that the steps listed below are still valid.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Install MSI without using package chaining?

Hi,

I'm not sure why this happens. Can you please send us the .AIP (project) file you are using and a verbose log of the installation with the problem to support at advancedinstaller dot com so we can investigate them?

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

Return to “Common Problems”