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
- :
- Detecting 32-bit as an installation requirement in a basic-msi project
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
Sep 21, 2014
10:45 AM
Detecting 32-bit as an installation requirement in a basic-msi project
Hi everybody!
The following was copied from my stackoverflow post:
----------------------------------------------------------------------------
I have a solution with several dlls that are 64-bit or 32-bit specific that I want to deploy with an installer. I have two basic msi projects in InstallShield 2012, one for 32 bit systems and the other for 64 bit systems. I also have a requirement that the 64-bit installer won't work on 32-bit systems, and the other way around.
Restricting the 64-bit installer to 64 bit systems is easy, but I haven't been able to identify being in a 32-bit system.
Here are the solutions I already tried:
Checking the windows installer properties:
Also, I'm aware of the environment variable PROCESSOR_ARCHITECTURE which holds x86 for 32-bit OS but I couldn't find a way to read it on a basic-msi project.
----------------------------------------------------------------------------
If you have a solution, feel free to post it in the stackoverflow post as well, to get your well earned points. 🙂
The following was copied from my stackoverflow post:
----------------------------------------------------------------------------
I have a solution with several dlls that are 64-bit or 32-bit specific that I want to deploy with an installer. I have two basic msi projects in InstallShield 2012, one for 32 bit systems and the other for 64 bit systems. I also have a requirement that the 64-bit installer won't work on 32-bit systems, and the other way around.
Restricting the 64-bit installer to 64 bit systems is easy, but I haven't been able to identify being in a 32-bit system.
Here are the solutions I already tried:
Checking the windows installer properties:
- NOTintel64 (does not work as it refers to the processor and not the OS)
- VersionNT64=whatever (does not work as the value is undefined for 32-bit systems)
Also, I'm aware of the environment variable PROCESSOR_ARCHITECTURE which holds x86 for 32-bit OS but I couldn't find a way to read it on a basic-msi project.
----------------------------------------------------------------------------
If you have a solution, feel free to post it in the stackoverflow post as well, to get your well earned points. 🙂
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 24, 2014
01:12 PM
32 bit is defined as Not VersionNT64
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)