mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Updated MSI min supported OS to Win8 and above due to issue #1705
This commit is contained in:
1 parent
7c9a76bfdb
commit
26972987e1
1 file changed
+3
-2
+3
-2
@@ -1,6 +1,7 @@
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
|
||||
<?define Win7SP1OrLater = "(VersionNT = 601 AND ServicePackLevel >= 1) OR VersionNT > 601" ?>
|
||||
<!-- MSI installs on Win8 and above -->
|
||||
<?define MinOSVersionSupported = "VersionNT > 601" ?>
|
||||
|
||||
<!-- The URL for add/remove programs -->
|
||||
<!-- TBD:Point to the actual release -->
|
||||
@@ -28,7 +29,7 @@
|
||||
<Property Id="ARPHELPLINK" Value="$(var.InfoURL)" />
|
||||
|
||||
<!-- Prerequisites -->
|
||||
<Condition Message="Supported only on Win7SP1 or later"><![CDATA[ Installed OR $(var.Win7SP1OrLater) ]]></Condition>
|
||||
<Condition Message="Supported only on Win8 and above"><![CDATA[ Installed OR $(var.MinOSVersionSupported) ]]></Condition>
|
||||
|
||||
<!-- Information About When Older Versions Are Trying To Be Installed-->
|
||||
<MajorUpgrade DowngradeErrorMessage="A newer version of PowerShell is already installed." />
|
||||
|
||||
Reference in new issue
Block a user