dummy section
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2627 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8270d8bdca
commit
0b0e54af96
6 changed files with 88 additions and 101 deletions
|
@ -5,13 +5,13 @@
|
|||
;--------------------------------
|
||||
;Include Modern UI
|
||||
|
||||
!include "MUI.nsh"
|
||||
!include "MUI.nsh"
|
||||
|
||||
;--------------------------------
|
||||
;Product Info
|
||||
|
||||
!define MUI_PRODUCT "Modern UI Test"
|
||||
!define MUI_VERSION "1.65"
|
||||
!define MUI_PRODUCT "Modern UI Test"
|
||||
!define MUI_VERSION "1.65"
|
||||
|
||||
;--------------------------------
|
||||
;Configuration
|
||||
|
@ -57,12 +57,11 @@
|
|||
;--------------------------------
|
||||
;Installer Sections
|
||||
|
||||
Section "Dummy Test File" SecCopyUI
|
||||
|
||||
;ADD YOUR OWN STUFF HERE!
|
||||
Section "Dummy Section" SecDummy
|
||||
|
||||
SetOutPath "$INSTDIR"
|
||||
File "${NSISDIR}\Contrib\UIs\modern.exe"
|
||||
|
||||
;ADD YOUR OWN STUFF HERE!
|
||||
|
||||
;Store install folder
|
||||
WriteRegStr HKCU "Software\${MUI_PRODUCT}" "" $INSTDIR
|
||||
|
@ -75,11 +74,11 @@ SectionEnd
|
|||
;--------------------------------
|
||||
;Descriptions
|
||||
|
||||
LangString DESC_SecCopyUI ${LANG_ENGLISH} "Copy modern.exe to the application folder."
|
||||
LangString DESC_SecDummy ${LANG_ENGLISH} "A test section."
|
||||
|
||||
!insertmacro MUI_FUNCTIONS_DESCRIPTION_BEGIN
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecCopyUI} $(DESC_SecCopyUI)
|
||||
!insertmacro MUI_FUNCTIONS_DESCRIPTION_END
|
||||
!insertmacro MUI_FUNCTIONS_DESCRIPTION_BEGIN
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecDummy} $(DESC_SecDummy)
|
||||
!insertmacro MUI_FUNCTIONS_DESCRIPTION_END
|
||||
|
||||
;--------------------------------
|
||||
;Uninstaller Section
|
||||
|
@ -88,7 +87,6 @@ Section "Uninstall"
|
|||
|
||||
;ADD YOUR OWN STUFF HERE!
|
||||
|
||||
Delete "$INSTDIR\modern.exe"
|
||||
Delete "$INSTDIR\Uninstall.exe"
|
||||
|
||||
RMDir "$INSTDIR"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue