Skip to content

Commit

Permalink
Merge pull request #1737 from PowerShell/raghushantha-MSIInstallerBranch
Browse files Browse the repository at this point in the history
Updated MSI min supported OS to Win8 and above due to issue #1705
  • Loading branch information
lzybkr committed Aug 11, 2016
2 parents cf23084 + 2697298 commit 8f67e27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/Product.wxs
@@ -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 -->
Expand Down Expand Up @@ -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." />
Expand Down

0 comments on commit 8f67e27

Please sign in to comment.