mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 00:09:54 -05:00
Remove registry detection of desktop shortcut setting (#9380)
* Fixes #8711
This commit is contained in:
parent
b225b85644
commit
4b92838b4f
@ -101,13 +101,9 @@
|
||||
<RegistrySearch Id="AutoStartSearch" Root="HKCU" Key="Software\Microsoft\Windows\CurrentVersion\Run" Name="$(var.CPACK_PACKAGE_NAME)" Type="raw" />
|
||||
</Property>
|
||||
<Property Id="INSTALLDESKTOPSHORTCUT" Secure="yes" />
|
||||
<Property Id="INSTALLDESKTOPSHORTCUT_REGISTRY">
|
||||
<RegistrySearch Id="DesktopIconSearch" Root="HKCU" Key="Software\KeePassXC" Name="DesktopShortcut" Type="raw" />
|
||||
</Property>
|
||||
|
||||
<!-- Set properties based on existing conditions, prevents changing state on upgrade -->
|
||||
<SetProperty Id="AUTOSTARTPROGRAM" After="AppSearch" Value="">AUTOSTARTPROGRAM="0" OR (WIX_UPGRADE_DETECTED AND NOT AUTOSTARTPROGRAM_REGISTRY)</SetProperty>
|
||||
<SetProperty Id="INSTALLDESKTOPSHORTCUT" After="AppSearch" Value="1">WIX_UPGRADE_DETECTED AND INSTALLDESKTOPSHORTCUT_REGISTRY</SetProperty>
|
||||
<SetProperty Id="LicenseAccepted" After="AppSearch" Value="1">WIX_UPGRADE_DETECTED</SetProperty>
|
||||
|
||||
<FeatureRef Id="ProductFeature">
|
||||
|
Loading…
Reference in New Issue
Block a user