Mark a couple of MSI properties as secure

They are being discarded by server side with "ignoring disallowed
property" messages otherwise which leads to failed checks using those
properties.

Fixes: #451
This commit is contained in:
Mike Gelfand 2019-03-17 16:42:08 +03:00
parent c567588587
commit e736604fc3
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
Installed OR (VersionNT >= 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>