I have an application that requires at least Windows XP SP3. How can I go about checking for it either in the application itself, or in the MSI, and automating the installation?
In MSI you author a LaunchCondition using the Operating System Properties
You want to check that VersionNT > 501 or ( VersionNT = 501 and ServicePackLevel > 2 )
(tweak to meet your exact needs )
In Windows Installer XML this looks like:
<Product...>
<Condition Message="[ProductName] Setup requires Windows XP SP3 or greater to install">VersionNT > 501 or ( VersionNT = 501 and ServicePackLevel > 2 ) or Installed</Condition>
...
</Product>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With