set package name prior to uninstaller creation

This commit is contained in:
Stephen Birarda 2016-01-13 15:10:34 -08:00
parent 7f92312d06
commit 4e03a06ff9

View file

@ -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