diff options
author | sr55 <[email protected]> | 2007-10-04 22:33:58 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-10-04 22:33:58 +0000 |
commit | 1ef4964589e409da57703fe68a202993b60315ac (patch) | |
tree | d248b9463bb662f92635dc665469730a3039de46 /win/C#/Installer | |
parent | e20b60acb5d0fd0eec5c28b631c0f61286ee5961 (diff) |
WinGui:
-Code to expire development builds
-New show/hide options for the new preset system.
-Few bug fixes.
-Updated Installer
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1000 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Installer')
-rw-r--r-- | win/C#/Installer/Installer.nsi | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/win/C#/Installer/Installer.nsi b/win/C#/Installer/Installer.nsi index 66a3f73df..c1bda6f8c 100644 --- a/win/C#/Installer/Installer.nsi +++ b/win/C#/Installer/Installer.nsi @@ -2,7 +2,7 @@ ; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "Handbrake"
-!define PRODUCT_VERSION "2.4"
+!define PRODUCT_VERSION "2.4.1"
!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"
@@ -36,7 +36,7 @@ ; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "Handbrake-Win.exe"
+OutFile "Handbrake-Setup.exe"
!include WordFunc.nsh
!insertmacro VersionCompare
@@ -73,9 +73,6 @@ Function GetDotNETVersion FunctionEnd
-
-
-
InstallDir "$PROGRAMFILES\Handbrake"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
@@ -93,6 +90,16 @@ Section "Handbrake" SEC01 File "hbcli.exe"
File "Handbrake.exe.config"
File "handbrakepineapple.ico"
+
+ SetOutPath "$INSTDIR\doc"
+ SetOverwrite ifnewer
+ File "doc\AUTHORS"
+ File "doc\BUILD"
+ File "doc\COPYING"
+ File "doc\CREDITS"
+ File "doc\NEWS"
+ File "doc\THANKS"
+ File "doc\TRANSLATIONS"
SectionEnd
Section -AdditionalIcons
@@ -127,6 +134,14 @@ Section Uninstall Delete "$INSTDIR\dvdinfo.dat"
Delete "$INSTDIR\Handbrake.exe"
Delete "$INSTDIR\Handbrake.exe.config"
+ Delete "$INSTDIR\doc\AUTHORS"
+ Delete "$INSTDIR\doc\BUILD"
+ Delete "$INSTDIR\doc\COPYING"
+ Delete "$INSTDIR\doc\CREDITS"
+ Delete "$INSTDIR\doc\NEWS"
+ Delete "$INSTDIR\doc\THANKS"
+ Delete "$INSTDIR\doc\TRANSLATIONS"
+
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
Delete "$SMPROGRAMS\Handbrake\Handbrake.lnk"
|