.net - Operating System Version Prerequisite -


i have application requires @ least windows xp sp3. how can go checking either in application itself, or in msi, , automating installation?

in msi author launchcondition using operating system properties

you want check versionnt > 501 or ( versionnt = 501 , servicepacklevel > 2 )

(tweak meet exact needs )

in windows installer xml looks like:

<product...>   <condition message="[productname] setup requires windows xp sp3 or greater install">versionnt > 501 or ( versionnt = 501 , servicepacklevel > 2 ) or installed</condition> ... </product> 

Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -