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.
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
‎May 15, 2008
07:10 AM
Need a Install Condition to detect 64-bit OS
I have an InstallScript MSI project that I need to create an Installation condition that prevents installation on 64-bit OS. Is there a Property that I can use for detecting 64bit OS that I can use as an install condition?
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2008
07:29 AM
Perhaps see if Msix64 is appropriate?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2008
07:35 AM
Doesn't that property just detect 64-bit hardware? Would the property VersionNT64? The installer sets the VersionNT64 property to the version number for the operating system only if the system is running on a 64-bit computer. The property is undefined if the operating system is not 64-bit. Could I use the condition VersionNT64 <0 ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2008
07:37 AM
Yes, you're right: VersionNT64 would be the condition to detect if it's a 64-bit OS, and Not VersionNT64 would be the condition to detect it's not...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 08, 2013
11:30 AM
Thanks for the tip, Robert. It just helped me as well!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 05, 2013
12:55 PM
I found another Forum post where they said Not VersionNT64 did not work.
community.flexerasoftware.com/showthread.php?179029-How-do-I-prevent-install-on-64-bit-OS
Here is my install condition in InstallShield 2011:
(Not Version9X) And (Not VersionNT=400) And (Not VersionNT=500) And (Not VersionNT=502) And ((VersionNT=501 And ServicePackLevel >= 3) Or ((VersionNT=601 And Not VersionNT64) And MsiNTProductType=1))
It's designed to allow the install on Windows XP SP3 or higher and Windows 7 32-bit. But like I said, Not VersionNT64 isn't working.
community.flexerasoftware.com/showthread.php?179029-How-do-I-prevent-install-on-64-bit-OS
Here is my install condition in InstallShield 2011:
(Not Version9X) And (Not VersionNT=400) And (Not VersionNT=500) And (Not VersionNT=502) And ((VersionNT=501 And ServicePackLevel >= 3) Or ((VersionNT=601 And Not VersionNT64) And MsiNTProductType=1))
It's designed to allow the install on Windows XP SP3 or higher and Windows 7 32-bit. But like I said, Not VersionNT64 isn't working.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 05, 2013
02:46 PM
If you generate an MSI log file on a system where the condition fails, does VersionNT64 have a sensible value?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2013
10:16 AM
Mr. Dickau,
I will have to try to get a hold of that person's PC and look for the MSI log file. BTW, what would be considered sensible values?
Thank you for your time.
Matt
Update:
I tried the install on a Windows 7 32-bit PC and did not see VersionNT64 even though I am checking it as an install condition. The only VersionNT in this particular MSI log says VersionNT = 601.
Update #2:
I got the Windows 7 64-bit machine. I searched for VersionNT. Found both VersionNT and VersionNT64 which were both set to 601. 601 is Windows 7 so I am unsure how to prevent installing my 32-bit version on a 64-bit OS. My install condition (mentioned previously) says Not VersionNT64 but it still installed on the 64-bit Windows 7 OS. Does IS have a bug?
Update #3:
It's now been a week later and no reply?! SMH
I will have to try to get a hold of that person's PC and look for the MSI log file. BTW, what would be considered sensible values?
Thank you for your time.
Matt
Update:
I tried the install on a Windows 7 32-bit PC and did not see VersionNT64 even though I am checking it as an install condition. The only VersionNT in this particular MSI log says VersionNT = 601.
Update #2:
I got the Windows 7 64-bit machine. I searched for VersionNT. Found both VersionNT and VersionNT64 which were both set to 601. 601 is Windows 7 so I am unsure how to prevent installing my 32-bit version on a 64-bit OS. My install condition (mentioned previously) says Not VersionNT64 but it still installed on the 64-bit Windows 7 OS. Does IS have a bug?
Update #3:
It's now been a week later and no reply?! SMH