This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: 32 bit and 64 bit in a single installer
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 12, 2013
01:37 AM
32 bit and 64 bit in a single installer
Hi,
I am trying to create a single installer which checks if the machine is 32 bit and 64 bit and deploys the files accordingly.
I created 2 features for 32 and 64 bit and added files to be deployed to the feature. But when i install i see that in 32 bit machine, the files are deployed correctly, but in 64 bit machine, both 32 bit and 64 bit files are deployed.
For adding the files, i went to Project assistant -> Application files, selected the feature(32 or 64), and added different files.
Please let me know if i am doing it wrong here or is there any way to do this..
Thanks,
Rajeev.
I am trying to create a single installer which checks if the machine is 32 bit and 64 bit and deploys the files accordingly.
I created 2 features for 32 and 64 bit and added files to be deployed to the feature. But when i install i see that in 32 bit machine, the files are deployed correctly, but in 64 bit machine, both 32 bit and 64 bit files are deployed.
For adding the files, i went to Project assistant -> Application files, selected the feature(32 or 64), and added different files.
Please let me know if i am doing it wrong here or is there any way to do this..
Thanks,
Rajeev.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 15, 2013
09:06 AM
Go to Installation Designer, Behavior and Logic -> Property Manager. Note what value INSTALLLEVEL property has (usually it’s 100). We will need to know that value later.
Go to Installation Designer, Organization -> Setup Design.
Make sure that:
1) “Required” setting of both features is set to “No”.
2) “Install Level” of both features is higher than INSTALLLEVEL property (for example 200).
3) Condition for 32-bit feature sets Level to 1 (or any other value lower than INSTALLLEVEL) upon condition “Not VersionNT64”.
4) Condition for 64-bit feature sets Level to 1 upon condition “VersionNT64”.
5) 32-bit and 64-bit Components belong to (and only to) corresponding features.
All said is for Basic MSI project type.
Go to Installation Designer, Organization -> Setup Design.
Make sure that:
1) “Required” setting of both features is set to “No”.
2) “Install Level” of both features is higher than INSTALLLEVEL property (for example 200).
3) Condition for 32-bit feature sets Level to 1 (or any other value lower than INSTALLLEVEL) upon condition “Not VersionNT64”.
4) Condition for 64-bit feature sets Level to 1 upon condition “VersionNT64”.
5) 32-bit and 64-bit Components belong to (and only to) corresponding features.
All said is for Basic MSI project type.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 16, 2013
06:25 AM
ElenaN wrote:
Go to Installation Designer, Behavior and Logic -> Property Manager. Note what value INSTALLLEVEL property has (usually it’s 100). We will need to know that value later.
Go to Installation Designer, Organization -> Setup Design.
Make sure that:
1) “Required” setting of both features is set to “No”.
2) “Install Level” of both features is higher than INSTALLLEVEL property (for example 200).
3) Condition for 32-bit feature sets Level to 1 (or any other value lower than INSTALLLEVEL) upon condition “Not VersionNT64”.
4) Condition for 64-bit feature sets Level to 1 upon condition “VersionNT64”.
5) 32-bit and 64-bit Components belong to (and only to) corresponding features.
All said is for Basic MSI project type.
Hi,
Thanks for the reply..
Am currently able to make these changes. But i am seeing that for a 64 bit machine, whether 32 bit or 64 bit application is being installed, the install directory is Program Files(x86). I want that 32 bit installation files be installed under Program Files(x86) and 64 bit files be installed under Program Files.
Can this be achieved ?
Thanks,
Raeev.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 16, 2013
07:27 AM
Windows Installer does not allow targeting 64-bit Program Files from 32-bit msi packages.
It’s possible to install to both Program Files and Program Files(x86) from 64-bit msi package. But 64-bit msi can’t be used to install on 32-bit OSes. So you might need to build two msi packages – 32 and 64 bit.
It’s possible to install to both Program Files and Program Files(x86) from 64-bit msi package. But 64-bit msi can’t be used to install on 32-bit OSes. So you might need to build two msi packages – 32 and 64 bit.