.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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -