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 "Basic.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
|
||||
|
@ -56,7 +51,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"
|
||||
|
@ -83,6 +78,6 @@ Section "Uninstall"
|
|||
|
||||
RMDir "$INSTDIR"
|
||||
|
||||
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
|
||||
DeleteRegKey /ifempty HKCU "Software\Modern UI Test"
|
||||
|
||||
SectionEnd
|
|
@ -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
|
|
@ -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 "InstallOptions.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" ""
|
||||
|
||||
;--------------------------------
|
||||
;Variables
|
||||
|
@ -75,7 +70,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"
|
||||
|
@ -145,6 +140,6 @@ Section "Uninstall"
|
|||
|
||||
RMDir "$INSTDIR"
|
||||
|
||||
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
|
||||
DeleteRegKey /ifempty HKCU "Software\Modern UI Test"
|
||||
|
||||
SectionEnd
|
|
@ -7,30 +7,25 @@
|
|||
|
||||
!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 "MultiLanguage.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
|
||||
|
||||
;Remember the installer language
|
||||
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
|
||||
!define MUI_LANGDLL_REGISTRY_KEY "Software\${MUI_PRODUCT}"
|
||||
!define MUI_LANGDLL_REGISTRY_KEY "Software\Modern UI Test"
|
||||
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
|
||||
|
||||
!define MUI_ABORTWARNING
|
||||
|
@ -97,7 +92,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"
|
||||
|
@ -163,7 +158,7 @@ Section "Uninstall"
|
|||
|
||||
RMDir "$INSTDIR"
|
||||
|
||||
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
|
||||
DeleteRegKey /ifempty HKCU "Software\Modern UI Test"
|
||||
|
||||
SectionEnd
|
||||
|
||||
|
|
|
@ -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 "StartMenu.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" ""
|
||||
|
||||
;--------------------------------
|
||||
;Variables
|
||||
|
@ -44,7 +39,7 @@
|
|||
|
||||
;Start Menu Folder Page Configuration
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\${MUI_PRODUCT}"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Modern UI Test"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
|
||||
|
||||
!insertmacro MUI_PAGE_STARTMENU
|
||||
|
@ -76,7 +71,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"
|
||||
|
@ -127,6 +122,6 @@ Section "Uninstall"
|
|||
StrCmp $MUI_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoop
|
||||
startMenuDeleteLoopDone:
|
||||
|
||||
DeleteRegKey /ifempty HKCU "Software\${MUI_PRODUCT}"
|
||||
DeleteRegKey /ifempty HKCU "Software\Modern UI Test"
|
||||
|
||||
SectionEnd
|
||||
|
|
|
@ -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