mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 15:33:02 +02:00
ensure current user context for uninstaller
This commit is contained in:
parent
9d4b529223
commit
c7228ce020
1 changed files with 3 additions and 0 deletions
|
@ -826,6 +826,9 @@ FunctionEnd
|
|||
!ifdef INNER
|
||||
Section "Uninstall"
|
||||
|
||||
; use user for context of data/startup folders
|
||||
SetShellVarContext current
|
||||
|
||||
ReadRegStr $START_MENU SHCTX \
|
||||
"Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "StartMenu"
|
||||
;MessageBox MB_OK "Start menu is in: $START_MENU"
|
||||
|
|
Loading…
Reference in a new issue