From 10c30af9784b1fd18c8ff7e5167a7099b01f5a1b Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 21 Jul 2015 18:52:23 +0000 Subject: WinGui: Correcting lower case b in HandBrake project assembly name. Only doing one installer to check the effects. Also testing the removal of non-HandBrake symbol files from the build package. Should save around 1.8 MB install size. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7353 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/HandBrakeWPF.csproj | 2 +- .../HandBrakeWPF/Installer/MakeNightly64.nsi.tmpl | 38 +++++++++++----------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'win/CS/HandBrakeWPF') diff --git a/win/CS/HandBrakeWPF/HandBrakeWPF.csproj b/win/CS/HandBrakeWPF/HandBrakeWPF.csproj index 42f0bf99c..2893d6186 100644 --- a/win/CS/HandBrakeWPF/HandBrakeWPF.csproj +++ b/win/CS/HandBrakeWPF/HandBrakeWPF.csproj @@ -9,7 +9,7 @@ WinExe Properties HandBrakeWPF - Handbrake + HandBrake v4.0 Client 512 diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi.tmpl b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi.tmpl index 9ba7a3643..5f3b160d5 100644 --- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi.tmpl +++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi.tmpl @@ -1,16 +1,16 @@ /* Resources.Designer.cs $ This file is part of the HandBrake source code. - Homepage: . + Homepage: . It may be used under the terms of the GNU General Public License. */ ; Script generated by the HM NIS Edit Script Wizard. ; HM NIS Edit Wizard helper defines -!define PRODUCT_NAME "Handbrake" +!define PRODUCT_NAME "HandBrake" !define PRODUCT_VERSION "$WCREV$ Nightly" !define PRODUCT_VERSION_NUMBER "svn$WCREV$" -!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Handbrake.exe" +!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\HandBrake.exe" !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" !define PRODUCT_UNINST_ROOT_KEY "HKLM" @@ -27,8 +27,8 @@ SetCompressor lzma ; MUI Settings !define MUI_ABORTWARNING -!define MUI_ICON "handbrakepineapple.ico" -!define MUI_UNICON "handbrakepineapple.ico" +!define MUI_ICON "HandBrakepineapple.ico" +!define MUI_UNICON "HandBrakepineapple.ico" ; Welcome page !insertmacro MUI_PAGE_WELCOME @@ -39,7 +39,7 @@ SetCompressor lzma ; Instfiles page !insertmacro MUI_PAGE_INSTFILES ; Finish page -;!define MUI_FINISHPAGE_RUN "$INSTDIR\Handbrake.exe" +;!define MUI_FINISHPAGE_RUN "$INSTDIR\HandBrake.exe" !insertmacro MUI_PAGE_FINISH ; Uninstaller pages @@ -57,7 +57,7 @@ OutFile "HandBrake-${PRODUCT_VERSION_NUMBER}_x86_64-Win_GUI.exe" !insertmacro VersionCompare !include LogicLib.nsh -InstallDir "$PROGRAMFILES64\Handbrake" +InstallDir "$PROGRAMFILES64\HandBrake" InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" ShowInstDetails show ShowUnInstDetails show @@ -101,7 +101,7 @@ Function .onInit done: FunctionEnd -Section "Handbrake" SEC01 +Section "HandBrake" SEC01 SetOutPath "$INSTDIR" SetOverwrite ifnewer @@ -132,12 +132,12 @@ Section "Handbrake" SEC01 ; Install Files File "*.exe" - CreateDirectory "$SMPROGRAMS\Handbrake" - CreateShortCut "$SMPROGRAMS\Handbrake\Handbrake.lnk" "$INSTDIR\Handbrake.exe" - CreateShortCut "$DESKTOP\Handbrake.lnk" "$INSTDIR\Handbrake.exe" + CreateDirectory "$SMPROGRAMS\HandBrake" + CreateShortCut "$SMPROGRAMS\HandBrake\HandBrake.lnk" "$INSTDIR\HandBrake.exe" + CreateShortCut "$DESKTOP\HandBrake.lnk" "$INSTDIR\HandBrake.exe" File "*.dll" File "*.config" - File "*.pdb" + File "HandBrake*.pdb" ; Copy the standard doc set into the doc folder SetOutPath "$INSTDIR\doc" @@ -151,15 +151,15 @@ Section "Handbrake" SEC01 SectionEnd Section -AdditionalIcons - CreateShortCut "$SMPROGRAMS\Handbrake\Uninstall.lnk" "$INSTDIR\uninst.exe" + CreateShortCut "$SMPROGRAMS\HandBrake\Uninstall.lnk" "$INSTDIR\uninst.exe" SectionEnd Section -Post WriteUninstaller "$INSTDIR\uninst.exe" - WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\Handbrake.exe" + WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\HandBrake.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\Handbrake.exe" + WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\HandBrake.exe" WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" SectionEnd @@ -186,10 +186,10 @@ Section Uninstall RMDIR "$INSTDIR\fonts\conf.d" RMDIR "$INSTDIR\fonts\conf.avail" RMDIR "$INSTDIR\fonts" - Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk" - Delete "$DESKTOP\Handbrake.lnk" - Delete "$SMPROGRAMS\Handbrake\Handbrake.lnk" - RMDir "$SMPROGRAMS\Handbrake" + Delete "$SMPROGRAMS\HandBrake\Uninstall.lnk" + Delete "$DESKTOP\HandBrake.lnk" + Delete "$SMPROGRAMS\HandBrake\HandBrake.lnk" + RMDir "$SMPROGRAMS\HandBrake" RMDir "$INSTDIR" DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" -- cgit v1.2.3