Different Builds in same aip - 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!

Stardraw
Posts: 14
Joined: Thu Oct 16, 2008 12:39 pm

Different Builds in same aip

I need to build several different media sets of my installer.
For example, .net 3.5 is about 250Mb and I don't want to include it inside every bootstrapper exe.
I need to build a web install version where I can download from a URL if .net 3.5 is not installed.
I also need to build a standalone version that can be put on a CD or USB key so that it can be installed without internet access.
I also need a version that retrieve .net 3.5 from a fixed folder location. I have about 6 programs that I need to put on a CD and I can't have each one embed .net 3.5 as this will exceed 650Mb of CD space. I really want each installer to automatically look in the same root directory on the CD for .net 3.5 if it is not installed.
I'm sure I can do each part of this in AI, but I would need 3 seperate AI files for each of my programs, meaning 18 aip files to maintain rather than 6.
So, my question is - can AI have multiple build settings in the same aip file?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Different Builds in same aip

Hi,
So, my question is - can AI have multiple build settings in the same aip file?
Yes it can. The builds can be managed from the Media page. If you have other questions on this subject don't hesitate to ask.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Stardraw
Posts: 14
Joined: Thu Oct 16, 2008 12:39 pm

Re: Different Builds in same aip

This is close to what I want, however, how do I define different locations for the Pre-Requisites, such as .net 3.5 ?

To be clear, I want 3 builds:

1. Self Contained exe with .net 3.5 embedded in setup.exe
2. Web installer with .net 3.5 having a URL to .net 3.5 installer
3. CD installer with .net 3.5 as a seperate installer exe in a folder.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Different Builds in same aip

Hi,

For what you need you can go to prerequisites tab and edit the prerequisites you've defined as follows:
- double click the prerequisite
- go to Builds tab
- here select the “Include prerequisite only in the selected builds” radio button
- now check the build in which you want your prerequisite to be included.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Stardraw
Posts: 14
Joined: Thu Oct 16, 2008 12:39 pm

Re: Different Builds in same aip

This is really close to what I want, except that I can only have one of the same type of Pre-Requisite and each one can only have one type of setting - in package or URL.

I presume that the workaround is to create my own PreRequisite and copy the settings from the real one with the type of setting changed?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Different Builds in same aip

Hello,
This is really close to what I want, except that I can only have one of the same type of Pre-Requisite and each one can only have one type of setting - in package or URL.
Simply double click the prerequisite you just added, and change its name to something else. You can add as many prerequisites of the same type as you want provided they have different names.

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

Return to “Common Problems”