]> granicus.if.org Git - transmission/commitdiff
Mark a couple of MSI properties as secure
authorMike Gelfand <mikedld@mikedld.com>
Sun, 17 Mar 2019 13:42:08 +0000 (16:42 +0300)
committerMike Gelfand <mikedld@mikedld.com>
Sun, 17 Mar 2019 14:33:58 +0000 (17:33 +0300)
They are being discarded by server side with "ignoring disallowed
property" messages otherwise which leads to failed checks using those
properties.

Fixes: #451
dist/msi/Transmission.wxs

index d8208145055c2f6793655083ae02e49239b7572d..6bde695228d35b2a27b2809fa06bf61e39ee711a 100644 (file)
@@ -21,7 +21,7 @@
       Installed OR (VersionNT &gt;= 600)
     </Condition>
 
-    <Property Id="TRQTWINSTALLDIR">
+    <Property Id="TRQTWINSTALLDIR" Secure="yes">
       <RegistrySearch Id="TrQtWRegSearch" Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Transmission-Qt" Name="InstallLocation" Type="directory" Win64="no"/>
       <RegistrySearch Id="TrQtWRegSearch64" Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Transmission-Qt" Name="InstallLocation" Type="directory" Win64="yes"/>
     </Property>
@@ -29,7 +29,7 @@
       NOT TRQTWINSTALLDIR
     </Condition>
 
-    <Property Id="UCRTINSTALLED">
+    <Property Id="UCRTINSTALLED" Secure="yes">
       <DirectorySearch Id="UcrtDirSearch" Path="[$(var.PlatformSystemFolder)]" Depth="0">
         <FileSearch Id="UcrtFileSearch" Name="ucrtbase.dll" MinVersion="6.2.10585.0" />
       </DirectorySearch>