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:
joostverburg 2003-09-09 16:06:37 +00:00
parent 60c7829e3a
commit ae8615d253
22 changed files with 310 additions and 377 deletions

View file

@ -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 "HeaderBitmap.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
@ -65,7 +60,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"
@ -92,6 +87,6 @@ Section "Uninstall"
RMDir "$INSTDIR"
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
DeleteRegKey /ifempty HKCU "Software\Modern UI Test"
SectionEnd