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

#5186 Update registry keys to enable Windows 7 compatibility and dis…

…able DPI scaling
  • Loading branch information...
Jerry (Xinyu Hou)
Jerry (Xinyu Hou) committed Oct 26, 2016
1 parent f08f0b3 commit 6b0cd355276eb754edce8906ee029af81393fc36
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/setup/win32/Product.wxs
@@ -28,8 +28,19 @@
<ComponentGroupRef Id="ProductComponents" />
<ComponentGroupRef Id="OpenSslComponents" />
<MergeRef Id="CRT" />
+ <ComponentRef Id="RegistryEntries" />
</Feature>
+ <DirectoryRef Id="TARGETDIR">
+ <Component Id="RegistryEntries" Guid="7CF3564D-1F8E-4D3D-9781-E1EE22D5BD67">
+ <RegistryKey Root="HKCU"
+ Key="Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"
+ Action="createAndRemoveOnUninstall">
+ <RegistryValue Type="string" Name="[INSTALLFOLDER]synergys.exe" Value="~ HIGHDPIAWARE WIN7RTM"/>
+ </RegistryKey>
+ </Component>
+ </DirectoryRef>
+
<Icon Id="synergy.ico" SourceFile="$(var.ResPath)/synergy.ico"/>
<WixVariable Id="WixUILicenseRtf" Value="$(var.ResPath)\License.rtf" />

0 comments on commit 6b0cd35

Please sign in to comment.