1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 07:42:37 +00:00

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

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>