diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-10-29 12:11:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-10-29 12:11:44 (GMT) |
commit | 02f79c72426ec24efb597ddfdb298336f650c801 (patch) | |
tree | 8cf678608e65c185be3db1d987114d313c4443c8 /Modules/NSIS.template.in | |
parent | 37bd33ecea6678aa15fff654ea577f9af7957eda (diff) | |
download | CMake-02f79c72426ec24efb597ddfdb298336f650c801.zip CMake-02f79c72426ec24efb597ddfdb298336f650c801.tar.gz CMake-02f79c72426ec24efb597ddfdb298336f650c801.tar.bz2 |
ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly
Diffstat (limited to 'Modules/NSIS.template.in')
-rw-r--r-- | Modules/NSIS.template.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in index 18e1a4f..2bdca5f 100644 --- a/Modules/NSIS.template.in +++ b/Modules/NSIS.template.in @@ -408,6 +408,7 @@ FunctionEnd ;-------------------------------- ; Define some macro setting for the gui +@CPACK_NSIS_INSTALLER_MUI_ICON_CODE@ @CPACK_NSIS_INSTALLER_ICON_CODE@ ;-------------------------------- @@ -493,6 +494,7 @@ Section "Installer Section" InstSection ;Create shortcuts CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER" @CPACK_NSIS_CREATE_ICONS@ +@CPACK_NSIS_CREATE_ICONS_EXTRA@ CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe" ; Write special uninstall registry entries @@ -602,6 +604,7 @@ Section "Uninstall" Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk" @CPACK_NSIS_DELETE_ICONS@ +@CPACK_NSIS_DELETE_ICONS_EXTRA@ ;Delete empty start menu parent diretories StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP" @@ -620,7 +623,7 @@ Section "Uninstall" ; try to fix it. StrCpy $MUI_TEMP "$START_MENU" Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk" -@CPACK_NSIS_DELETE_ICONS@ +@CPACK_NSIS_DELETE_ICONS_EXTRA@ ;Delete empty start menu parent diretories StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP" |