jafa
Posts: 51
Joined: Fri Feb 23, 2007 7:13 pm

Mixed 32/64bit - common files

Hi,

We are working on a mixed 32/64-bit installer.

Most files are 32-bit only or 64-bit only, however some files are common to both the 32-bit and 64-bit installs (including AI's updater.exe).

We have set up three features - common, x86, and x64.
The common feature is set to always install.
The x86 feature is set to only install on non x64 systems.
The x64 feature is set to only install on x64 systems.

The problem - AI uses the 64-bit flag to decide to install a file or not depending on the system type.

If we mark the common files as 64-bit then they don't get installed on 32-bit systems.

If we untick the 64-bit flag then they don't get installed on 64-bit systems.

We were able to work around the problem with our files by including them twice - once marked 64-bit and once with the 64-bit flag unticked.

But this leaves updater.exe - we need updater.exe to be installed on both 32-bit and 64-bit systems.

Nick
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that Advanced Installer has a special option for this:
- in the "Install Parameters" page, after you select the "Mixed 32-64-bit matching the platform" option you press the "..." button in the right
- in the "Component Policy" dialog you select the "Install all components" option

This will install the common 32-bit components on both 32-bit and 64-bit machines. You can read more about this here:
http://www.advancedinstaller.com/user-g ... olicy.html

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

Return to “Common Problems”