mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 14:47:19 +02:00
check for running apps during install
This commit is contained in:
parent
96c3adaa19
commit
7d8fc6f702
1 changed files with 3 additions and 0 deletions
|
@ -1245,6 +1245,9 @@ Function .onInit
|
|||
Quit
|
||||
!endif
|
||||
|
||||
; make sure none of the installed applications are still running
|
||||
!insertmacro CheckForRunningApplications
|
||||
|
||||
StrCmp "@CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL@" "ON" 0 inst
|
||||
|
||||
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "UninstallString"
|
||||
|
|
Loading…
Reference in a new issue