Improved registry storage for Start Menu folder; ReserveFile macro for StartMenu plug-in; Added MUI_LANGDLL_ALWAYSSHOW option; Checkboxes on Finish page can be used to call a function; example fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2646 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
59c8fcc17e
commit
5aa3a8f632
5 changed files with 138 additions and 86 deletions
|
@ -66,6 +66,13 @@
|
|||
|
||||
LicenseData "${NSISDIR}\Contrib\Modern UI\License.txt"
|
||||
|
||||
;--------------------------------
|
||||
;Reserve Files
|
||||
|
||||
;Things that need to be extracted on first (keep these lines before any File command!)
|
||||
;Only for BZIP2 compression
|
||||
!insertmacro MUI_RESERVEFILE_STARTMENU
|
||||
|
||||
;--------------------------------
|
||||
;Installer Sections
|
||||
|
||||
|
@ -110,15 +117,12 @@ Section "Uninstall"
|
|||
Delete "$INSTDIR\Uninstall.exe"
|
||||
|
||||
RMDir "$INSTDIR"
|
||||
|
||||
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
|
||||
|
||||
!insertmacro MUI_STARTMENU_DELETE_BEGIN ${TEMP}
|
||||
|
||||
Delete "$SMPROGRAMS\${TEMP}\Modern UI.lnk"
|
||||
Delete "$SMPROGRAMS\${TEMP}\Uninstall.lnk"
|
||||
RMDir "$SMPROGRAMS\${TEMP}" ;Only if empty, so it won't delete other shortcuts
|
||||
|
||||
!insertmacro MUI_STARTMENU_DELETE_END
|
||||
|
||||
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
|
||||
|
||||
SectionEnd
|
|
@ -42,7 +42,6 @@
|
|||
;Modern UI Configuration
|
||||
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_FINISHPAGE_RUN "$INSTDIR\modern.exe"
|
||||
|
||||
;--------------------------------
|
||||
;Languages
|
||||
|
@ -54,6 +53,14 @@
|
|||
|
||||
LicenseData "${NSISDIR}\Contrib\Modern UI\License.txt"
|
||||
|
||||
;--------------------------------
|
||||
;Reserve Files
|
||||
|
||||
;Things that need to be extracted on first (keep these lines before any File command!)
|
||||
;Only for BZIP2 compression
|
||||
|
||||
!insertmacro MUI_RESERVEFILE_WELCOMEFINISHPAGE
|
||||
|
||||
;--------------------------------
|
||||
;Installer Sections
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue