This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

#5186 Only add DPI related registry key on Windows 8 or above

  • Loading branch information...
Jerry (Xinyu Hou)
Jerry (Xinyu Hou) committed Oct 26, 2016
1 parent 6b0cd35 commit 640262dfff6fad74ab40f4c8aa7d3ed8debb104a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/setup/win32/Product.wxs
@@ -38,6 +38,10 @@
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="[INSTALLFOLDER]synergys.exe" Value="~ HIGHDPIAWARE WIN7RTM"/>
</RegistryKey>
+
+ <Condition>
+ <![CDATA[Installed OR (VersionNT >= 602)]]>
+ </Condition>
</Component>
</DirectoryRef>

0 comments on commit 640262d

Please sign in to comment.