Skip to content

Commit

Permalink
Roll back installer version and launch condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
chefsalim committed Nov 10, 2015
1 parent f0b93a4 commit f721191
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions resources/msi/source.wxs.erb
Expand Up @@ -12,18 +12,21 @@
Version="$(var.VersionNumber)" Manufacturer="!(loc.ManufacturerName)" UpgradeCode="$(var.UpgradeCode)">

<!--
Minimum installer version (5.0) - Window 7/Server 2008 R2 and above.
Minimum installer version (2.0) - Window XP and above.
The install scope is per machine, not the current user
-->
<Package InstallerVersion="500" InstallPrivileges="elevated"
<Package InstallerVersion="200" InstallPrivileges="elevated"
Compressed="yes" InstallScope="perMachine" />

<Media Id="1" Cabinet="Project.cab" EmbedCab="yes" CompressionLevel="high" />

<!-- Launch condition to check for minimum OS: Windows 7/Server 2008R2. -->
<Condition Message="!(loc.MinimumOSVersionMessage)">
<!--
Uncomment launch condition below to check for minimum OS
601 = Windows 7/Server 2008R2.
-->
<!-- Condition Message="!(loc.MinimumOSVersionMessage)">
<![CDATA[Installed OR VersionNT >= 601]]>
</Condition>
</Condition -->

<!-- We always do Major upgrades -->
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" />
Expand Down

0 comments on commit f721191

Please sign in to comment.