mtande
Posts: 8
Joined: Fri Feb 02, 2007 1:12 pm
Contact: Website

Same AI setup for x86, ia64 and x64

Hi there, I'm struggling with a problem I'm sure someone have solved already.

I have a package that runs on all three processor types. Because each MSI file needs to know the processor type it's intended for, I must make one MSI file for each processor instead of one file containing software for all platforms as I originally intended.

However, I don't want to maintain three different .API files -- I have a huge number of common (processor-independent) files divided into many features and components, and a couple of hundred processor-specific files. I need to maintain only one master copy of the .AIP file, and run AI in batch mode to generate the CPU-specific MSI files.

How do I say to AI, using program parameters and/or installer properties, that only a subset of all the files defined in the .AIP project should be included in the generated MSI?

To be more precise, on my installation source directory I have CPU-specific files in subdirectories named w32XXX, i64XXX and x64XXX. All files for all architectures are defined in the .AIP project. I need to instruct AI to disregard all "i64XXX" and "x64XXX" subdirectories when building an x86 MSI, and so on. Is this possible?

-mats
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

We already have this feature (support for multiple builds) on our TODO list and will be available in a future version of Advanced Installer. I'm afraid that I cannot give you an ETA for it.

For now you need to create different projects for each platform.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

'till it's done, what I'm doing is keeping a 'master' copy of the installer that is just the x86 version. Then we just have the differences put into a script, so any editing is done in the x86 version, then the script is run and I've got ia64 and x64 as well. Don't know if that'll work well for you, but it's been helping me out a ton. Only bad thing is that if you need to modify anything for one specific platform, you've got to do it in the script instead of the .aip file. Not too big a hassle. You should try checking out the .aip files in a text editor, it uses nice plain text.
mtande
Posts: 8
Joined: Fri Feb 02, 2007 1:12 pm
Contact: Website

Jebrew,
what I'm doing is keeping a 'master' copy of the installer that is just the x86 version. Then we just have the differences put into a script, so any editing is done in the x86 version, then the script is run and I've got ia64 and x64 as well
thanks. This is more or less what I do now, except that my master file contains settings for all three architectures, and I simply delete the directories I don't need.
You should try checking out the .aip files in a text editor, it uses nice plain text.
I know. I don't really like to script myself out of the mess, but it seems I have no choice.

-mats

Return to “Common Problems”