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
- :
- Installer for 32 bits only
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
Mar 11, 2011
12:23 AM
Installer for 32 bits only
I Have to make a Installer for XP SP2, Vista (32 Bits) & Windows 7 (32 Bits). I want to perform this OS check before Prerequisitesare installed. Can anyone help me?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 25, 2011
05:57 PM
Under General Information > Product Properties click the "..." in the "Install Conditions" field.
Create two conditions
[CODE]Condition:
(VersionNT=501 AND ServicePackLevel=2) OR (VersionNT=600 AND NOT ServicePackLevel) OR (VersionNT=700 AND NOT ServicePackLevel)
Message:
[ProductName] supports only Windows XP SP2, Windows Vista & Windows 7
Condition:
NOT VersionNT64
Message:
[ProductName] does not support 64 bit operating systems.
[/CODE]
Now you can obviously customize your messages, and you could combine those conditions, but this is how I'd do it.
For future reference, this will give you all of the values that you'll need for other OS related properties:
Operating System Property Values
http://msdn.microsoft.com/en-us/library/aa370556(v=vs.85).aspx
Create two conditions
[CODE]Condition:
(VersionNT=501 AND ServicePackLevel=2) OR (VersionNT=600 AND NOT ServicePackLevel) OR (VersionNT=700 AND NOT ServicePackLevel)
Message:
[ProductName] supports only Windows XP SP2, Windows Vista & Windows 7
Condition:
NOT VersionNT64
Message:
[ProductName] does not support 64 bit operating systems.
[/CODE]
Now you can obviously customize your messages, and you could combine those conditions, but this is how I'd do it.
For future reference, this will give you all of the values that you'll need for other OS related properties:
Operating System Property Values
http://msdn.microsoft.com/en-us/library/aa370556(v=vs.85).aspx