cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tripti
Level 2

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?
Labels (1)
0 Kudos
(1) Reply
Kelter
Level 10

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
0 Kudos