1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Windows MSI: set minimum support for MSI installation to Windows 7

This commit is contained in:
Mounir IDRASSI
2022-02-01 23:30:05 +01:00
parent 9b88625d97
commit 06841f67c7

View File

@@ -82,16 +82,16 @@
Schedule="afterInstallExecute"
/>
<!-- Windows 8 (602) is our Min OS -->
<!-- Windows 7 (601) is our Min OS -->
<!-- See https://docs.microsoft.com/en-us/windows/win32/msi/operating-system-property-values -->
<!-- 'Installed' is a Windows Installer property that is set only if the product is installed per-machine or for the current user.
Using !Installed ensures the check is only done when the user is installing the application, rather than on a repair or remove -->
<!-- Notice the ! : If Not Installed AND VersionNT < 602 => Show error message -->
<!-- Notice the ! : If Not Installed AND VersionNT < 601 => Show error message -->
<Condition Message="!(loc.MinOs)">
<![CDATA[
Installed
OR (VersionNT = 602)
OR (VersionNT > 602)
OR (VersionNT = 601)
OR (VersionNT > 601)
]]>
</Condition>