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!

jnojr
Posts: 2
Joined: Fri Dec 11, 2009 8:19 pm

Possible to package other installers?

Is it possible to create an installer that will include other installers?

I'm working on creating an installer for an application that depends upon another application, JRE, and Google Earth. I'd like my installer to test for the existence of these things and install them if necessary.

I found the Software Prerequisites page, but things I add there don't seem to work the way I would expect them to. For one thing, the MSI is not created with them inside... they're copied into the folder next to the MSI, so installation media would need to include all of those files. And when I did a test install, nothing indicated that those files were ever seen or referred to. That might change when I try again on a "clean" system.

Also, on that topic... one of my prerequisites is not a single installer, but a setup.exe that also has some CABs and other files. I couldn't find a way to make all of them be referred to as inside of one folder... all of those files are just dumped into the same directory as the MSI that gets created. If those prerequisites must all stay as separate files, then I'd really need to make all of these files appear in a directory... having everything at one level is just too confusing, and WILL cause problems down the road.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Possible to package other installers?

Hi,
the MSI is not created with them inside... they're copied into the folder next to the MSI, so installation media would need to include all of those files.
Note that in the Bootstrapper tab of the "Builds" page you can select the "Include installation files in EXE" option. This way you will obtain a single EXE installer.
And when I did a test install, nothing indicated that those files were ever seen or referred to.
Please note that prerequisites are installed only when the installation is launched through the EXE bootstrapper. Software prerequisites is a feature in Advanced Installer, it's not supported by Windows Installer for MSI packages.
Also, on that topic... one of my prerequisites is not a single installer, but a setup.exe that also has some CABs and other files. I couldn't find a way to make all of them be referred to as inside of one folder
For a prerequisite you can set the folder which will contain it through the "Folder" field on the Properties tab of the "Edit Prerequisite" dialog. Also, you can use the Files tab to add the prerequisite files.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jnojr
Posts: 2
Joined: Fri Dec 11, 2009 8:19 pm

Re: Possible to package other installers?

cosmin wrote:
Note that in the Bootstrapper tab of the "Builds" page you can select the "Include installation files in EXE" option. This way you will obtain a single EXE installer.

Please note that prerequisites are installed only when the installation is launched through the EXE bootstrapper. Software prerequisites is a feature in Advanced Installer, it's not supported by Windows Installer for MSI packages.
Is there a mechanism to have the installer test for prerequisites?

For example, let's say I require Foo v1.3, Bar v2.2, and Whiz v8.0 The system has Foo v1.2, Bar v2.3, and does not have Whiz at all. Can it see that Foo exists but needs to be upgraded; that Bar exists but is of a higher version and so won't be touched; and that Whiz doesn't exist at all and needs to be installed?

Thanks...
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Possible to package other installers?

Hello,

This behavior can be configured in Advanced Installer using the Prerequisite Install Conditions Tab.
Simply make sure you have the proper conditions set.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Feature Requests”