removed MUI_PRODUCT, MUI_VERSION
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2890 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
60c7829e3a
commit
ae8615d253
22 changed files with 310 additions and 377 deletions
|
@ -7,23 +7,18 @@
|
|||
|
||||
!include "MUI.nsh"
|
||||
|
||||
;--------------------------------
|
||||
;Product Info
|
||||
|
||||
!define MUI_PRODUCT "Modern UI Test"
|
||||
!define MUI_VERSION "1.66"
|
||||
|
||||
;--------------------------------
|
||||
;Configuration
|
||||
|
||||
;General
|
||||
Name "Modern UI Test 1.66"
|
||||
OutFile "WelcomeFinish.exe"
|
||||
|
||||
;Folder selection page
|
||||
InstallDir "$PROGRAMFILES\${MUI_PRODUCT}"
|
||||
InstallDir "$PROGRAMFILES\Modern UI Test"
|
||||
|
||||
;Get install folder from registry if available
|
||||
InstallDirRegKey HKCU "Software\${MUI_PRODUCT}" ""
|
||||
InstallDirRegKey HKCU "Software\Modern UI Test" ""
|
||||
|
||||
;--------------------------------
|
||||
;Modern UI Configuration
|
||||
|
@ -66,7 +61,7 @@ Section "Dummy Section" SecDummy
|
|||
;ADD YOUR OWN STUFF HERE!
|
||||
|
||||
;Store install folder
|
||||
WriteRegStr HKCU "Software\${MUI_PRODUCT}" "" $INSTDIR
|
||||
WriteRegStr HKCU "Software\Modern UI Test" "" $INSTDIR
|
||||
|
||||
;Create uninstaller
|
||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
||||
|
@ -93,6 +88,6 @@ Section "Uninstall"
|
|||
|
||||
RMDir "$INSTDIR"
|
||||
|
||||
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
|
||||
DeleteRegKey /ifempty HKCU "Software\Modern UI Test"
|
||||
|
||||
SectionEnd
|
Loading…
Add table
Add a link
Reference in a new issue