Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Checking for a OS

Updated: 21 May 2010 | 3 comments
Prafful Sharma's picture
0 0 Votes
Login to vote


I am currently using Wise Packaging Professional, Build: 6.0.0.231.

I have packaged a MSI which needs to check for the operating system on which it is installed.



In particular, I want to check if the operating system it is being installed on is for Windows XP or later (ie. WinXP, Win2k3, Win2k8, Vista).



Can someone guide me if there's a way to do the task ?

[Please note, as I am using a Wise Professional Version, I do not get later editions of the operating systems in Launch conditions]





Thanks







Discussion Filed Under:

Comments

AngelD's picture
14
Jan
2009
0 Votes 0
Login to vote

The condition for Windows XP or greater would be:

VersionNT>=501

Operating System Property Values



Why not use a launch condition?

EdT's picture
14
Jan
2009
0 Votes 0
Login to vote

As well as the VersionNT property, windows installer also provides the VersionNT64 property for providing version information on 64 bit editions of windows operating systems.

The help file MSI.CHM has a complete property reference on all the windows installer properties that are pre-defined.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

AngelD's picture
14
Jan
2009
0 Votes 0
Login to vote

Thanks Ed,



I should have mentioned the 64-bit property too