.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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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

openssl - Load PKCS#8 binary key into Ruby -