DrJones
Posts: 18
Joined: Wed Jun 28, 2006 10:00 pm

Multiple Builds with separate dialog & 32/64-bit

We have several builds that we currently do with separate .AIP files. Some include the .NET installer, some download it, some have a 64-bit version of our driver, some are 32-bit, etc. It's quite a hassle doing new builds.

I've learned I can do multiple builds to make some of this easier, but have a few questions.

From what I understand, I can pack all the different files into different features, and select which features go with what builds, this lets me include certain files in what I want.

For one set of builds, we give the user the option of running two separate installers to install other software with our own. Other builds don't have those and thus don't need the dialog. Can I set that dialog to only be displayed in certain builds? Or do I need a separate .aip file for this.

Also, we have a 32-bit and 64-bit driver. From what I understand, these have to be separate based on if it's a 64-bit package or not, which is toggled in the Install Parameters section. Can I add both the 32-bit driver and 64-bit driver to one project, add them into separate features associated with two builds, and then simply select the right option for 32-bit package or 64-bit package when I build each of them?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Multiple Builds with separate dialog & 32/64-bit

Hi,
For one set of builds, we give the user the option of running two separate installers to install other software with our own. Other builds don't have those and thus don't need the dialog. Can I set that dialog to only be displayed in certain builds? Or do I need a separate .aip file for this.
This is not supported directly, but you can try conditioning the dialog with the "AI_BUILD_NAME" property. This way you can show it only for a specific build and skip it for the rest. Perhaps this tutorial will help you.
Also, we have a 32-bit and 64-bit driver. From what I understand, these have to be separate based on if it's a 64-bit package or not, which is toggled in the Install Parameters section. Can I add both the 32-bit driver and 64-bit driver to one project, add them into separate features associated with two builds, and then simply select the right option for 32-bit package or 64-bit package when I build each of them?
Yes, this is exactly the way to achieve this. Select the feature, and in the right pane, in the "Builds" section, select the appropriate build in which to include the feature.
More information on how to install different versions of a file based on the operating system can be found here.

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

Return to “Common Problems”