mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 13:12:40 +02:00
use install dir written to registry as potential default
This commit is contained in:
parent
57f9d82efa
commit
f4ece26271
1 changed files with 3 additions and 1 deletions
|
@ -378,7 +378,7 @@ Section "-Core installation"
|
|||
@CPACK_NSIS_FULL_INSTALL@
|
||||
|
||||
;Store installation folder
|
||||
WriteRegStr SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "" $INSTDIR
|
||||
WriteRegStr HKLM "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "" $INSTDIR
|
||||
|
||||
;Package the signed uninstaller produced by the inner loop
|
||||
!ifndef INNER
|
||||
|
@ -919,6 +919,8 @@ Section "Uninstall"
|
|||
SectionEnd
|
||||
!endif
|
||||
|
||||
InstallDirRegKey HKLM "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" ""
|
||||
|
||||
Function .onInit
|
||||
|
||||
!ifdef INNER
|
||||
|
|
Loading…
Reference in a new issue