aboutsummaryrefslogtreecommitdiffstats
path: root/Installer/UltraStarDeluxe.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'Installer/UltraStarDeluxe.nsi')
-rw-r--r--Installer/UltraStarDeluxe.nsi669
1 files changed, 360 insertions, 309 deletions
diff --git a/Installer/UltraStarDeluxe.nsi b/Installer/UltraStarDeluxe.nsi
index 5dd8df66..8993ccd5 100644
--- a/Installer/UltraStarDeluxe.nsi
+++ b/Installer/UltraStarDeluxe.nsi
@@ -1,31 +1,141 @@
-; Script generated by the HM NIS Edit Script Wizard.
-
-; HM NIS Edit Wizard helper defines
-!define PRODUCT_NAME "UltraStar Deluxe"
-!define PRODUCT_VERSION "1.01"
-!define PRODUCT_PUBLISHER "UltraStar Deluxe Team"
-!define PRODUCT_WEB_SITE "http://www.UltraStarDeluxe.org"
-!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\UltraStar.exe"
+; --------------------------------------------------------------
+; UltraStar Deluxe - Installation Wizard with NSIS (USDXIWWNSIS)
+; --------------------------------------------------------------
+
+!include "MUI.nsh" ; Include the macros for the Modern User Interface
+
+SetCompressor bzip2
+
+; XPStyle on
+
+; ------------------------------------------------------
+; Declaration of Variables (Change to whatever you want)
+; ------------------------------------------------------
+
+!define version "1.01" ; Current version of UltraStar Deluxe
+!define p_name "UltraStar Deluxe" ; Just the name of the program
+!define publisher "USDX Team" ; Publisher
+!define homepage "http://www.ultrastardeluxe.org/" ; Project Homepage
+
+
+!define icon_inst ".\ustar.ico" ; Icon for Installation
+!define icon_uninst ".\ustar.ico" ; Icon for Uninstallation
+!define bmp_header ".\header.png" ; Bitmap of the Installation Header (Size: 150x57 px)
+!define bmp_side ".\left-164x314.png" ; Bitmap on the left side of Welcome & Finish Page (Size: 164x314 px)
+!define mui_ini ".\ioSpecial.ini" ; Installation Options for Welcome & Finish Page
+!define license_bgcolor "FFFFFF" ; RGB Background Color for Licence agreement
+!define bmp_check ".\modern.bmp" ; Bitmap of Checks at Components Selection Page
+!define directory_bgcolor "FFFFFF" ; RGB Background Color for Directory textbox
+!define smp_bgcolor "FFFFFF" ; RGB Background of Startmenu List and Textbox
+;!define dets_bgcolor "FFFFFF" ; Background Color of Details Screen while files are being extracted
+!define file_license ".\License.txt" ; Choose the file with the license agreement
+
+!define eng_sec1_desc "These are the basic files needed by UltraStar Deluxe" ; English Description of Base components
+!define ger_sec1_desc "Dies sind die von UltraStar Deluxe benötigten Grunddateien" ; German Description of Base components
+
+!define eng_sec2_desc "This will add the example song Dead Smiling Pirates - I 18 from the CreativeCommons database" ; English Description of the Example Song
+!define ger_sec2_desc "Dies fügt den Beispielsong Dead Smiling Pirates - I 18 aus der CreativeCommons Datenbank hinzu" ; German Description of the Example Song
+
+!define eng_sec1 "Base components" ; English Name of the component section1
+!define ger_sec1 "Basiskomponenten" ; German Name of the component section1
+
+!define eng_sec2 "Example Song" ; English Name of the component section2
+!define ger_sec2 "Beispielsong" ; German Name of the component section2
+
+; -------------------------------
+; Strings for Installation Wizard
+; -------------------------------
+
+!define MUI_WELCOMEPAGE_TITLE "$(wp_title)"
+
+!define MUI_WELCOMEPAGE_TEXT "$(wp_text)"
+;!define MUI_FINISHPAGE_SHOWREADME_TEXT "$(fp_showreadme)"
+!define MUI_FINISHPAGE_LINK "$(fp_link)"
+!define MUI_UNCONFIRMPAGE_TEXT_TOP "UltraStar Deluxe - $(sm_uninstall)"
+
+!define MUI_LICENSEPAGE_RADIOBUTTONS
+!define MUI_WELCOMEPAGE_TITLE_3LINES
+
+!define MUI_FINISHPAGE_TITLE_3LINES
+
+;!define MUI_FINISHPAGE_RUN .\Ultrastar.exe ; Do not work as i expected :(
+;!define MUI_FINISHPAGE_RUN_NOTCHECKED ;
+;!define MUI_FINISHPAGE_SHOWREADME .\documentation.pdf ;
+
+!define MUI_FINISHPAGE_LINK_LOCATION http://sourceforge.net/projects/ultrastardx
+!define MUI_FINISHPAGE_NOREBOOTSUPPORT
+!define MUI_FINISHPAGE_TEXT_LARGE
+!define MUI_FINISHPAGE_TEXT "$(fp_text)"
+
+; The other (multi) language Strings are at the bottom of this file
+
+; --------------------------------------------------
+; Do not change anything from here on ...
+; ... expect you are mog and know what you are doing
+; --------------------------------------------------
+
+Name "${p_name} V.${version}"
+Brandingtext "${p_name} Installation"
+OutFile "Install ${p_name} V.${version}.exe"
+
+InstallDir "$PROGRAMFILES\${p_name}"
+
+ShowInstDetails show
+ShowUnInstDetails show
+
+!define PRODUCT_NAME "${p_name}"
+!define PRODUCT_VERSION "${version}"
+!define PRODUCT_PUBLISHER "${publisher}"
+!define PRODUCT_WEB_SITE "${homepage}"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"
-SetCompressor bzip2
+; Modern User Interface (MUI) Stuff
+
+!define MUI_ICON "${icon_inst}" ; Icon for Installation
+!define MUI_UNICON "${icon_uninst}" ; Icon for Uninstallation
+
+!define MUI_HEADERIMAGE
+!define MUI_HEADERIMAGE_BITMAP "${bmp_header}" ; Header Bitmap of the installation (Size: 150x57 px)
+!define MUI_HEADERIMAGE_UNBITMAP "${bmp_header}" ; Header Bitmap of the uninstallation (Size: 150x57 px)
+!define MUI_WELCOMEFINISHPAGE_BITMAP "${bmp_side}" ; Left Side Bitmap of Welcome & Finish Page while Installation (Size: 164x314 px)
+!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${bmp_side}" ; Left Side Bitmap of Welcome & Finish Page while Uninstallation (Size: 164x314 px)
+!define MUI_BGCOLOR "FFFFFF" ; RGB Background color (for header, welcome & finish page)
+!define MUI_WELCOMEFINISHPAGE_INI "${mui_ini}" ; Installation Options for Welcome & Finish Page (Installation)
+!define MUI_UNWELCOMEFINISHPAGE_INI "${mui_ini}" ; Installation Options for Welcome & Finish Page (Uninstallation)
+!define MUI_LICENSEPAGE_BGCOLOR "${license_bgcolor}" ; Background Color of Licence agreement
+!define MUI_COMPONENTSPAGE_CHECKBITMAP "${bmp_check}" ; Bitmap of Checks at Components Selection Page
+!define MUI_DIRECTORYPAGE_BGCOLOR "${directory_bgcolor}" ; RGB Background Color for Directory textbox
+!define MUI_STARTMENUPAGE_BGCOLOR "${smp_bgcolor}" ; RGB Background of Startmenu List and Textbox
+;!define MUI_INSTFILESPAGE_COLORS "${dets_bgcolor}" ; Background Color of Details Screen while files are being extracted
-; MUI 1.67 compatible ------
-!include "MUI.nsh"
+!define MUI_FINISHPAGE_NOAUTOCLOSE ; Allows user to check the log file of installation (Comment out if unwanted)
+!define MUI_UNFINISHPAGE_NOAUTOCLOSE ; Allows user to check the log file of uninstallation (Comment out if unwanted)
-; MUI Settings
!define MUI_ABORTWARNING
-!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
-!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+!define MUI_ABORTWARNING_TEXT $(str_abort) ; Abort Warning message
+!define MUI_ABORTWARNING_CANCEL_DEFAULT ; Default: Cancel abort (Comment out if unwanted)
+
+
+;Language Dialog Box Settings
+;!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
+;!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+;!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
+;!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
+;!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
+
+; --------------------------------------------------
+; Begin of the installation routine
+; --------------------------------------------------
+
+; Pages for MUI Installation
-; Welcome page
!insertmacro MUI_PAGE_WELCOME
-; License page
-;!insertmacro MUI_PAGE_LICENSE "..\..\..\..\path\to\licence\YourSoftwareLicence.txt"
-; Directory page
+!insertmacro MUI_PAGE_LICENSE "${file_license}"
+!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
+
; Start menu page
var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
@@ -34,58 +144,83 @@ var ICONS_GROUP
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
-; Instfiles page
+
!insertmacro MUI_PAGE_INSTFILES
-; Finish page
-!define MUI_FINISHPAGE_RUN "$INSTDIR\UltraStar.exe"
!insertmacro MUI_PAGE_FINISH
-; Uninstaller pages
+; Pages for MUI Uninstallation
+
+!insertmacro MUI_UNPAGE_WELCOME
+!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
+!insertmacro MUI_UNPAGE_FINISH
; Language files
+
!insertmacro MUI_LANGUAGE "English"
+!insertmacro MUI_LANGUAGE "German"
-; Reserve files
-!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
+; ---------------------------------------------------------
+; Section1: Main components of UltraStar Deluxe
+; ---------------------------------------------------------
-; MUI end ------
+LangString DESC_Section1 ${LANG_ENGLISH} "${eng_sec1_desc}" ; Adds the description to section1
+LangString DESC_Section1 ${LANG_GERMAN} "${ger_sec1_desc}"
-Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "UltraStar-DX-1_01-SETUP.exe"
-InstallDir "$PROGRAMFILES\UltraStar Deluxe"
-InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
-ShowInstDetails show
-ShowUnInstDetails show
+LangString sec1 ${LANG_ENGLISH} "${eng_sec1}" ; Name of section1
+LangString sec1 ${LANG_GERMAN} "${ger_sec1}"
-Section "MainSection" SEC01
- SetOutPath "$INSTDIR"
- SetOverwrite ifnewer
- File "..\config.ini"
- File "..\UltraStar.exe"
- File "..\sqlite3.dll"
- File "..\smpeg.dll"
- File "..\SDL.dll"
- File "..\bass.dll"
- SetOutPath "$INSTDIR\Languages\"
- File "..\Languages\Catalan.ini"
+Section $(sec1) Section1
+ SectionIn RO ; readonly
+ SetOutPath $INSTDIR
+ SetOverwrite try
+
+; Create required directories:
+
+ CreateDirectory "$INSTDIR\Covers"
+ CreateDirectory "$INSTDIR\Languages"
+ CreateDirectory "$INSTDIR\Plugins"
+ CreateDirectory "$INSTDIR\Skins"
+ CreateDirectory "$INSTDIR\Skins\Classic"
+ CreateDirectory "$INSTDIR\Skins\Deluxe"
+ CreateDirectory "$INSTDIR\Songs"
+ CreateDirectory "$INSTDIR\Sounds"
+ CreateDirectory "$INSTDIR\Themes"
+
+; Extract files to the directories:
+
+ File "..\InstallerDependencies\bass.dll"
+ File "..\InstallerDependencies\Changelog.german.txt"
+ File "..\InstallerDependencies\Changelog.txt"
+ File "..\InstallerDependencies\documentation.pdf"
+ File "..\InstallerDependencies\License.txt"
+ File "..\InstallerDependencies\ReadMe.txt"
+ File "..\InstallerDependencies\SDL.dll"
+ File "..\InstallerDependencies\smpeg.dll"
+ File "..\InstallerDependencies\sqlite3.dll"
+
+ File "..\ScoreConverter.exe"
+ File "..\Ultrastar.exe"
+
+ SetOutPath $INSTDIR\Covers\"
+ File "..\Covers\Covers.ini"
+ File "..\Covers\NoCover.jpg"
+
+ SetOutPath $INSTDIR\Languages\"
File "..\Languages\Dutch.ini"
File "..\Languages\English.ini"
File "..\Languages\French.ini"
File "..\Languages\German.ini"
- File "..\Languages\Italian.ini"
- File "..\Languages\Norwegian.ini"
- File "..\Languages\Spanish.ini"
- File "..\Languages\Swedish.ini"
File "..\Languages\readme.txt"
-
- SetOutPath "$INSTDIR\Songs"
- SetOutPath "$INSTDIR\Screenshots"
- SetOutPath "$INSTDIR\Covers"
- SetOutPath "$INSTDIR\Plugins"
- SetOutPath "$INSTDIR\Playlists"
-
- SetOutPath "$INSTDIR\Skins\Classic"
+ File "..\Languages\Swedish.ini"
+
+ SetOutPath $INSTDIR\Plugins\"
+ File "..\Plugins\Blind.dll"
+ File "..\Plugins\Duell.dll"
+ File "..\Plugins\Hold_The_Line.dll"
+ File "..\Plugins\Until5000.dll"
+
+ SetOutPath $INSTDIR\Skins\Classic\"
File "..\Skins\Classic\Star.ini"
File "..\Skins\Classic\[button]13.jpg"
File "..\Skins\Classic\[button]alt.jpg"
@@ -169,15 +304,18 @@ Section "MainSection" SEC01
File "..\Skins\Classic\[stat]mainBG1.jpg"
File "..\Skins\Classic\[stat]mainBG2.jpg"
File "..\Skins\Classic\[stat]mainBG3.jpg"
- SetOutPath "$INSTDIR\Skins\Deluxe"
+
+ SetOutPath $INSTDIR\Skins\Deluxe\"
File "..\Skins\Deluxe\Blue.ini"
+ File "..\Skins\Deluxe\Fall.ini"
File "..\Skins\Deluxe\Summer.ini"
-
File "..\Skins\Deluxe\Winter.ini"
File "..\Skins\Deluxe\[bg-load]blue.jpg"
+ File "..\Skins\Deluxe\[bg-load]fall.jpg"
File "..\Skins\Deluxe\[bg-load]summer.jpg"
File "..\Skins\Deluxe\[bg-load]winter.jpg"
File "..\Skins\Deluxe\[bg-main]blue.jpg"
+ File "..\Skins\Deluxe\[bg-main]fall.jpg"
File "..\Skins\Deluxe\[bg-main]summer.jpg"
File "..\Skins\Deluxe\[bg-main]winter.jpg"
File "..\Skins\Deluxe\[button]13.jpg"
@@ -239,9 +377,23 @@ Section "MainSection" SEC01
File "..\Skins\Deluxe\[score]level.jpg"
File "..\Skins\Deluxe\[score]levelRound.jpg"
File "..\Skins\Deluxe\[score]Line.jpg"
- File "..\Skins\Deluxe\[sing]timeBar1.jpg"
+ File "..\Skins\Deluxe\[sing]lineBonusPopUp.jpg"
+ File "..\Skins\Deluxe\[sing]LyricsBall.bmp"
+ File "..\Skins\Deluxe\[sing]lyricsHelpBar.bmp"
+ File "..\Skins\Deluxe\[sing]notesBgLeft.bmp"
+ File "..\Skins\Deluxe\[sing]notesBgMid.bmp"
+ File "..\Skins\Deluxe\[sing]notesBgRight.bmp"
+ File "..\Skins\Deluxe\[sing]notesLeft.bmp"
+ File "..\Skins\Deluxe\[sing]notesMid.bmp"
+ File "..\Skins\Deluxe\[sing]notesRight.bmp"
+ File "..\Skins\Deluxe\[sing]p.jpg"
+ File "..\Skins\Deluxe\[sing]scoreBg.jpg"
+ File "..\Skins\Deluxe\[sing]singBarBack.jpg"
+ File "..\Skins\Deluxe\[sing]singBarBar.jpg"
+ File "..\Skins\Deluxe\[sing]singBarFront.jpg"
File "..\Skins\Deluxe\[sing]textBar.jpg"
File "..\Skins\Deluxe\[sing]timeBar.jpg"
+ File "..\Skins\Deluxe\[sing]timeBar1.jpg"
File "..\Skins\Deluxe\[sing]timeBarBG.jpg"
File "..\Skins\Deluxe\[special]bar1.jpg"
File "..\Skins\Deluxe\[special]bar2.jpg"
@@ -249,7 +401,8 @@ Section "MainSection" SEC01
File "..\Skins\Deluxe\[stat]mainBG1.jpg"
File "..\Skins\Deluxe\[stat]mainBG2.jpg"
File "..\Skins\Deluxe\[stat]mainBG3.jpg"
- SetOutPath "$INSTDIR\Sounds"
+
+ SetOutPath $INSTDIR\Sounds\"
File "..\Sounds\Common back.mp3"
File "..\Sounds\Common start.mp3"
File "..\Sounds\credits-outro-tune.mp3"
@@ -260,277 +413,175 @@ Section "MainSection" SEC01
File "..\Sounds\select music change music 50.mp3"
File "..\Sounds\select music change music.mp3"
File "..\Sounds\wome-credits-tune.mp3"
- SetOutPath "$INSTDIR\Themes"
+
+ SetOutPath $INSTDIR\Themes\"
File "..\Themes\Classic.ini"
File "..\Themes\Deluxe.ini"
-; Shortcuts
+; Create shortcuts
+
+ SetOutPath $INSTDIR\
+
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
+ CreateDirectory "${p_name}"
+; CreateShortCut "$STARTMENU.lnk" "$INSTDIR\Ultrastar.exe"
+; CreateShortCut "$DESKTOP.lnk" "$INSTDIR\Ultrastar.exe"
+; CreateShortCut "$SMPROGRAMS.lnk" "$INSTDIR\Ultrastar.exe"
+; WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
- CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\UltraStar Deluxe.lnk" "$INSTDIR\UltraStar.exe"
- CreateShortCut "$DESKTOP\UltraStar Deluxe.lnk" "$INSTDIR\UltraStar.exe"
- !insertmacro MUI_STARTMENU_WRITE_END
-SectionEnd
+ CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "http://ultrastardx.sourceforge.net/"
+ CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\$(sm_uninstall).lnk" "$INSTDIR\Uninstall.exe"
+ CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\$(sm_shortcut).lnk" "$INSTDIR\Ultrastar.exe"
-Section -AdditionalIcons
- !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
- WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
- CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
- CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"
!insertmacro MUI_STARTMENU_WRITE_END
-SectionEnd
-Section -Post
- WriteUninstaller "$INSTDIR\uninst.exe"
- WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\UltraStar.exe"
- WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
- WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
- WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\UltraStar.exe"
+; Create Uninstaller:
+
+ WriteUninstaller $INSTDIR\Uninstall.exe
+
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "${p_name}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\Uninstall.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+
SectionEnd
+; ---------------------------------------------------------
+; Section2: Example Song "Dead Smiling Pirates"
+; ---------------------------------------------------------
-Function un.onUninstSuccess
- HideWindow
- MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
-FunctionEnd
+LangString DESC_Section2 ${LANG_ENGLISH} "${eng_sec2_desc}"
+LangString DESC_Section2 ${LANG_GERMAN} "${ger_sec2_desc}"
-Function un.onInit
- MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
- Abort
-FunctionEnd
+LangString sec2 ${LANG_ENGLISH} "${eng_sec2}"
+LangString sec2 ${LANG_GERMAN} "${ger_sec2}"
-Section Uninstall
- !insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
- Delete "$INSTDIR\${PRODUCT_NAME}.url"
- Delete "$INSTDIR\uninst.exe"
- Delete "$INSTDIR\Deluxe.ini"
- Delete "$INSTDIR\Classic.ini"
- Delete "$INSTDIR\wome-credits-tune.mp3"
- Delete "$INSTDIR\select music change music.mp3"
- Delete "$INSTDIR\select music change music 50.mp3"
- Delete "$INSTDIR\rimshot022b.mp3"
- Delete "$INSTDIR\option change col.mp3"
- Delete "$INSTDIR\menu swoosh.mp3"
- Delete "$INSTDIR\dismissed.mp3"
- Delete "$INSTDIR\credits-outro-tune.mp3"
- Delete "$INSTDIR\Common start.mp3"
- Delete "$INSTDIR\Common back.mp3"
- Delete "$INSTDIR\Skins\Deluxe\[stat]mainBG3.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[stat]mainBG2.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[stat]mainBG1.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[stat]detailBG1.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[special]bar2.jpg"
- Delete "$INSTDIR\DeluxSkins\e\[special]bar1.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[sing]timeBarBG.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]timeBar.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[sing]textBar.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]singBarFront.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]singBarBar.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]singBarBar.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[sing]singBarBack.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]scoreBg.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]scoreBg.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[sing]p.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesRight.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesPlainRight.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesPlainMid.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesPlainLeft.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesMid.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesLeft.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesBgRight.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesBgMid.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]notesBgLeft.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]lyricsHelpBar.bmp"
- Delete "$INSTDIR\Skins\Deluxe\[sing]LyricsBall.bmp"
- Delete "$INSTDIR\Skins\Deluxe\[sing]lineBonusPopUp.png"
- Delete "$INSTDIR\Skins\Deluxe\[sing]lineBonusPopUp.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[score]Line.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[score]levelRound.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[score]level.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[score]endcap.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[score]box.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]winTeamButton3.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]winTeamButton2.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]winTeamButton1.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]winDecoration.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]teamPoints.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]scoreDecoration.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]scoreBG2.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]scoreBG1.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]roundTeamButton.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]roundBG4.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]roundBG3.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]roundBG2.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]roundBG1.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]pointer.bmp"
- Delete "$INSTDIR\Skins\Deluxe\[party]playerTeamButton.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]playerButton.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[party]Joker.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[menu]songMenuSelectBg.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[menu]songMenuBg.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[menu]PopUpFg.JPG"
- Delete "$INSTDIR\Skins\Deluxe\[menu]PopUpBg.JPG"
- Delete "$INSTDIR\Skins\Deluxe\[menu]jumpToBg.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]songSelection2.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]songSelection1.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]songCover.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]selectbg.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]playerNumberBox.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]mainBar.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]buttonf.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[main]button.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]video.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]stats.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]songmenu.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]search.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]score.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]question.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]party.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]options.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]main.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]error.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[icon]cd.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[helper]rectangle.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[helper]buttonFade.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[effect]perfectNoteStar.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[effect]goldenNoteStar.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[button]p.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]navi.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]m.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]j.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]esc.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]enter.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]az.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]alt.png"
- Delete "$INSTDIR\Skins\Deluxe\[button]13.png"
- Delete "$INSTDIR\Skins\Deluxe\[bg-main]winter.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[bg-main]summer.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[bg-main]blue.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[bg-load]winter.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[bg-load]summer.jpg"
- Delete "$INSTDIR\Skins\Deluxe\[bg-load]blue.jpg"
- Delete "$INSTDIR\Skins\Deluxe\Winter.ini"
-
- Delete "$INSTDIR\Skins\Deluxe\Summer.ini"
- Delete "$INSTDIR\Skins\Deluxe\Blue.ini"
- Delete "$INSTDIR\Skins\Classic\[stat]mainBG3.jpg"
- Delete "$INSTDIR\Skins\Classic\[stat]mainBG2.jpg"
- Delete "$INSTDIR\Skins\Classic\[stat]mainBG1.jpg"
- Delete "$INSTDIR\Skins\Classic\[stat]detailBG1.jpg"
- Delete "$INSTDIR\Skins\Classic\[song]selection.jpg"
- Delete "$INSTDIR\Skins\Classic\[song]EqualizerBG.jpg"
- Delete "$INSTDIR\Skins\Classic\[song]BGFade.jpg"
- Delete "$INSTDIR\Skins\Classic\[sing]textBar.jpg"
- Delete "$INSTDIR\Skins\Classic\[sing]singBarFront.jpg"
- Delete "$INSTDIR\Skins\Classic\[sing]singBarBar.jpg"
- Delete "$INSTDIR\Skins\Classic\[sing]singBarBack.jpg"
- Delete "$INSTDIR\Skins\Classic\[sing]scoreBg.jpg"
- Delete "$INSTDIR\Skins\Classic\[sing]p.jpg"
- Delete "$INSTDIR\Skins\Classic\[sing]notesRight.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]notesMid.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]notesLeft.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]notesBgRight.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]notesBgMid.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]notesBgLeft.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]lyricsHelpBar.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]LyricsBall.bmp"
- Delete "$INSTDIR\Skins\Classic\[sing]lineBonusPopUp.jpg"
- Delete "$INSTDIR\Skins\Classic\[score]line.jpg"
- Delete "$INSTDIR\Skins\Classic\[score]levelround.jpg"
- Delete "$INSTDIR\Skins\Classic\[score]level.jpg"
- Delete "$INSTDIR\Skins\Classic\[score]box.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]winTeamButton3.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]winTeamButton2.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]winTeamButton1.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]winDecoration.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]teamPoints.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]scoreDecoration.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]scoreBG2.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]scoreBG1.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]roundTeamButton.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]roundBG4.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]roundBG3.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]roundBG2.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]roundBG1.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]pointer.bmp"
- Delete "$INSTDIR\Skins\Classic\[party]playerTeamButton.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]playerButton.jpg"
- Delete "$INSTDIR\Skins\Classic\[party]Joker.jpg"
- Delete "$INSTDIR\Skins\Classic\[menu]songMenuSelectBG.jpg"
- Delete "$INSTDIR\Skins\Classic\[menu]songMenuButtonBG.jpg"
- Delete "$INSTDIR\Skins\Classic\[menu]songMenuBorder.jpg"
- Delete "$INSTDIR\Skins\Classic\[menu]songMenuBg.jpg"
- Delete "$INSTDIR\Skins\Classic\[menu]PopUpFg.JPG"
- Delete "$INSTDIR\Skins\Classic\[menu]PopUpBg.JPG"
- Delete "$INSTDIR\Skins\Classic\[menu]jumpToBg.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]square.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]songCover.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]Logo.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]ButtonEditor.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]Button3.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]Button2.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]Button.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]Bar1.jpg"
- Delete "$INSTDIR\Skins\Classic\[main]Bar.jpg"
- Delete "$INSTDIR\Skins\Classic\[mainbutton]Stats.jpg"
- Delete "$INSTDIR\Skins\Classic\[mainbutton]Solo.jpg"
- Delete "$INSTDIR\Skins\Classic\[mainbutton]Options.jpg"
- Delete "$INSTDIR\Skins\Classic\[mainbutton]Multi.jpg"
- Delete "$INSTDIR\Skins\Classic\[mainbutton]Exit.jpg"
- Delete "$INSTDIR\Skins\Classic\[icon]video.jpg"
- Delete "$INSTDIR\Skins\Classic\[icon]stats.jpg"
- Delete "$INSTDIR\Skins\Classic\[icon]Star.jpg"
- Delete "$INSTDIR\Skins\Classic\[icon]question.jpg"
- Delete "$INSTDIR\Skins\Classic\[icon]error.jpg"
- Delete "$INSTDIR\Skins\Classic\[helper]rectangle.jpg"
- Delete "$INSTDIR\Skins\Classic\[effect]perfectNoteStar.jpg"
- Delete "$INSTDIR\Skins\Classic\[effect]goldenNoteStar.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]p.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]navi.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]m.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]j.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]esc.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]enter.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]e.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]az.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]alt.jpg"
- Delete "$INSTDIR\Skins\Classic\[button]13.jpg"
- Delete "$INSTDIR\Skins\Classic\Star.ini"
- Delete "$INSTDIR\bass.dll"
- Delete "$INSTDIR\SDL.dll"
- Delete "$INSTDIR\smpeg.dll"
- Delete "$INSTDIR\sqlite3.dll"
- Delete "$INSTDIR\UltraStar.exe"
- Delete "$INSTDIR\config.ini"
+Section /o $(sec2) Section2
+ SetOverwrite try
+ SetOutPath "$INSTDIR"
+ CreateDirectory "$INSTDIR\Songs\Dead Smiling Pirates - I 18 [DEMO]"
+ SetOutPath "$INSTDIR\Songs\Dead Smiling Pirates - I 18 [DEMO]\"
- Delete "$INSTDIR\Languages\Catalan.ini"
- Delete "$INSTDIR\Languages\Dutch.ini"
- Delete "$INSTDIR\Languages\English.ini"
- Delete "$INSTDIR\Languages\French.ini"
- Delete "$INSTDIR\Languages\German.ini"
- Delete "$INSTDIR\Languages\Italian.ini"
- Delete "$INSTDIR\Languages\Norwegian.ini"
- Delete "$INSTDIR\Languages\Spanish.ini"
- Delete "$INSTDIR\Languages\Swedish.ini"
- Delete "$INSTDIR\Languages\readme.txt"
+ File "..\Songs\Dead Smiling Pirates - I 18 [DEMO]\Dead Smiling Pirates - I 18 [BG].jpg"
+ File "..\Songs\Dead Smiling Pirates - I 18 [DEMO]\Dead Smiling Pirates - I 18 [CO].jpg"
+ File "..\Songs\Dead Smiling Pirates - I 18 [DEMO]\Dead Smiling Pirates - I 18.ogg"
+ File "..\Songs\Dead Smiling Pirates - I 18 [DEMO]\Dead Smiling Pirates - I 18.txt"
+ File "..\Songs\Dead Smiling Pirates - I 18 [DEMO]\License.txt"
-
+SectionEnd
+
+; ---------------------------------------------------------
+; Section3: Uninstallation Wizard
+; ---------------------------------------------------------
+
+Section Uninstall
+ !insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
+
+; Delete "$INSTDIR\${PRODUCT_NAME}.url"
+ Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
+ Delete "$SMPROGRAMS\$ICONS_GROUP\Deinstallieren.lnk"
+ Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
+ Delete "$SMPROGRAMS\$ICONS_GROUP\UltraStar Deluxe spielen.lnk"
+ Delete "$SMPROGRAMS\$ICONS_GROUP\Play UltraStar Deluxe.lnk"
+; Delete "$SMPROGRAMS.lnk"
+; Delete "$DESKTOP.lnk"
+; Delete "$STARTMENU.lnk"
+
+ Delete "$INSTDIR\*.*"
+ RMDir /r "$INSTDIR\Covers"
+ RMDir /r "$INSTDIR\Languages"
+ RMDir /r "$INSTDIR\Plugins"
+ RMDir /r "$INSTDIR\Skins\Classic"
+ RMDir /r "$INSTDIR\Skins\Deluxe"
+ RMDir /r "$INSTDIR\Skins"
+ RMDir /r "$INSTDIR\Songs"
+ RMDir /r "$INSTDIR\Sounds"
+ RMDir /r "$INSTDIR\Themes"
+ RMDir /r "$INSTDIR\Screenshots"
+ RMDir /r "$INSTDIR\Playlists"
+
+ RMDir "$SMPROGRAMS\$ICONS_GROUP"
- Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
- Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
- Delete "$DESKTOP\UltraStar Deluxe.lnk"
- Delete "$SMPROGRAMS\$ICONS_GROUP\UltraStar Deluxe.lnk"
+ DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
- RMDir "$SMPROGRAMS\$ICONS_GROUP"
- RMDir "$INSTDIR\Deluxe"
- RMDir "$INSTDIR\Classic"
- RMDir "$INSTDIR"
+ Delete "$INSTDIR\Uninstall.exe"
+ RMDIR $INSTDIR"
- DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
- DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
- SetAutoClose true
SectionEnd
+!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
+ !insertmacro MUI_DESCRIPTION_TEXT ${Section1} $(DESC_Section1)
+ !insertmacro MUI_DESCRIPTION_TEXT ${Section2} $(DESC_Section2)
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
+
+; -----------------------------------------------------------------------
+; Language Strings for Installation / Uninstallation Wizard
+; These Strings can be edited, like the variables at the top
+; BUG: Some of the LangStrings do not work - do not know why :(
+; I commented them out of the whole source. Maybe someone else can fix it
+; -----------------------------------------------------------------------
+
+LangString str_continue ${LANG_GERMAN} "Dies wird UltraStar Deluxe installieren. Fortsetzen?"
+LangString str_continue ${LANG_ENGLISH} "This will install UltraStar Deluxe. Continue?"
+
+LangString str_abort ${LANG_ENGLISH} "Are you sure to abort Installation?"
+LangString str_abort ${LANG_GERMAN} "Wollen Sie die Installation wirklich abbrechen?"
+
+LangString uninst_begin ${LANG_ENGLISH} "This will uninstall UltraStar Deluxe completely (with Songs!). Continue ?"
+LangString uninst_begin ${LANG_GERMAN} "Dies wird UltraStar Deluxe vollständig deinstallieren (inkl. Songs!). Fortfahren?"
+
+LangString uninst_success ${LANG_ENGLISH} "We are sad because the uninstallation finished successfully! Hope you enjoyed UltraStar Deluxe."
+LangString uninst_success ${LANG_GERMAN} "Wir sind traurig, da die Deinstallation erfolgreich verlief. Wir hoffen du hast UltraStar Deluxe genossen."
+
+LangString str_header ${LANG_ENGLISH} "Custom options for Installation"
+LangString str_header ${LANG_GERMAN} "Eigene Optionen zur Installation"
+
+LangString str_header_subtitle ${LANG_ENGLISH} ""
+LangString str_header_subtitle ${LANG_GERMAN} ""
+
+LangString sm_shortcut ${LANG_GERMAN} "UltraStar Deluxe spielen" ; Name for start Icon in startmenu
+LangString sm_shortcut ${LANG_ENGLISH} "Play UltraStar Deluxe"
+
+LangString sm_uninstall ${LANG_GERMAN} "Deinstallieren" ; Name for uninstall icon in startmenu
+LangString sm_uninstall ${LANG_ENGLISH} "Uninstall"
+
+LangString wp_title ${LANG_GERMAN} "Willkommen zur Installationsroutine von UltraStar Deluxe" ; Title String in Welcome Page
+LangString wp_title ${LANG_ENGLISH} "Welcome to the UltraStar Deluxe Setup Wizard"
+
+LangString wp_text ${LANG_GERMAN} "Dieser Assistent wird Sie durch die Installation von UltraStar Deluxe begleiten. UltraStar Deluxe ist ein kostenloses quelloffenes Karaokespiel, welches Singstar ähnelt. Diese Installationsroutine enthält den Bonus Song 'Dead Smiling Pirates - I 18' aus der CreativeCommons Datenbank, der optional installiert werden kann.\n\r\n\rDas UltraStar Deluxe Team wünscht viel Spaß\n\rProjekthomepage: http://sourceforge.net/projects/ultrastardx"
+LangString wp_text ${LANG_ENGLISH} "This wizard will guide you through the Installation of UltraStar Deluxe. UltraStar Deluxe is a free open source Karaoke game, which can be compared with Singstar. These Installation Wizard includes the bonus track 'Dead Smiling Pirates - I 18' from the CreativeCommons database and which can be installed seperatly.\n\r\n\rThe UltraStar Deluxe Team wishes you fun\n\rProject website: http://sourceforge.net/projects/ultrastardx"
+
+LangString fp_showreadme ${LANG_GERMAN} "Dokumentation ansehen (PDF)" ; "Show Readme" String in Finish Page
+LangString fp_showreadme ${LANG_ENGLISH} "See documentation (PDF)"
+
+LangString fp_text ${LANG_GERMAN} "UltraStar wurde erfolgreich auf Ihrem System installiert.\n\rBesuchen Sie unsere Projektwebseite um die neusten Updates und News zu erhalten."
+LangString fp_text ${LANG_ENGLISH} "UltraStar was installed successfully on you system.\n\rVisit out project website to get latest news and updates."
+
+LangString fp_link ${LANG_GERMAN} "Projektwebseite" ; Link to developers website - String in Finish Page
+LangString fp_link ${LANG_ENGLISH} "Project website"
+
+LangString uncp_text ${LANG_GERMAN} "Willkommen beim Deinstallations-Assistent für UltraStar Deluxe"
+LangString uncp_text ${LANG_ENGLISH} "Welcome to the UltraStar Deluxe Uninstall Wizard"
+
+; ------------------------------------------------------------------
+; Functions for the beginning of the installation and uninstallation
+; ------------------------------------------------------------------
+
+; Function for Installation
+
+Function .onInit
+ !insertmacro MUI_LANGDLL_DISPLAY
+ ; MessageBox MB_YESNO $(str_continue) IDYES continue
+ ; Abort ; Do not work as I expected :(
+ ; continue:
+FunctionEnd
+
+; Function for Uninstallation
+
+Function un.onInit
+ !insertmacro MUI_LANGDLL_DISPLAY
+ ; MessageBox MB_YESNO "$(uninst_begin)" IDYES continue
+ ; Abort ; causes uninstaller to quit.
+ ; continue:
+FunctionEnd \ No newline at end of file