mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 06:29:03 +02:00
set package name prior to uninstaller creation
This commit is contained in:
parent
7f92312d06
commit
4e03a06ff9
1 changed files with 4 additions and 2 deletions
|
@ -33,6 +33,9 @@
|
|||
; leverage the UAC NSIS plugin to promote uninstaller to elevated privileges
|
||||
!include UAC.nsh
|
||||
|
||||
; Set name prior to inner loop so uninstaller has correct values
|
||||
Name "@CPACK_NSIS_PACKAGE_NAME@"
|
||||
|
||||
!ifdef INNER
|
||||
!echo "Inner invocation" ; just to see what's going on
|
||||
|
||||
|
@ -69,8 +72,7 @@
|
|||
|
||||
; Good. Now we can carry on writing the real installer.
|
||||
|
||||
;Name and file
|
||||
Name "@CPACK_NSIS_PACKAGE_NAME@"
|
||||
;Output file
|
||||
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
|
||||
|
||||
;Set compression
|
||||
|
|
Loading…
Reference in a new issue