mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
[PM-2021] Remove startup entry on windows uninstall (#16701)
This commit is contained in:
@@ -7,3 +7,14 @@
|
|||||||
${endif}
|
${endif}
|
||||||
${endif}
|
${endif}
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
# When the user is uninstalling the app, remove the auto-start registry entries
|
||||||
|
!macro customUnInstall
|
||||||
|
${ifNot} ${isUpdated}
|
||||||
|
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "electron.app.${PRODUCT_NAME}"
|
||||||
|
DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Run" "electron.app.${PRODUCT_NAME}"
|
||||||
|
|
||||||
|
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" "electron.app.${PRODUCT_NAME}"
|
||||||
|
DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" "electron.app.${PRODUCT_NAME}"
|
||||||
|
${endIf}
|
||||||
|
!macroend
|
||||||
|
|||||||
Reference in New Issue
Block a user