summaryrefslogtreecommitdiffstats
path: root/win/C#/Installer
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-08-08 14:04:32 +0000
committersr55 <[email protected]>2010-08-08 14:04:32 +0000
commit38ab1b4ced9b5a85c95ffeaad398bbf9fbd6c355 (patch)
treead7979fe13c3233186a00d4ab9348c131e24fe4e /win/C#/Installer
parent6b69bef5dbfc8420ac429bbb966062416ad5620d (diff)
WinGui:
- Just some cleanup of project / install files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3474 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Installer')
-rw-r--r--win/C#/Installer/Installer.nsi8
-rw-r--r--win/C#/Installer/MakeNightly.nsi.tmpl22
2 files changed, 25 insertions, 5 deletions
diff --git a/win/C#/Installer/Installer.nsi b/win/C#/Installer/Installer.nsi
index aa92ec015..c3013a88e 100644
--- a/win/C#/Installer/Installer.nsi
+++ b/win/C#/Installer/Installer.nsi
@@ -7,9 +7,9 @@
; Script generated by the HM NIS Edit Script Wizard.
; HM NIS Edit Wizard helper defines
-!define PRODUCT_NAME "Handbrake"
-!define PRODUCT_VERSION "SVN 3191 Snapshot"
-!define PRODUCT_VERSION_NUMBER "svn3191"
+!define PRODUCT_NAME "HandBrake"
+!define PRODUCT_VERSION "0.9.5"
+!define PRODUCT_VERSION_NUMBER "0.9.5"
!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"
@@ -30,7 +30,7 @@ SetCompressor lzma
!define MUI_UNICON "handbrakepineapple.ico"
; Welcome page
-!insertmacro MUI_PAGE_WELCOME
+!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "doc\COPYING"
; Directory page
diff --git a/win/C#/Installer/MakeNightly.nsi.tmpl b/win/C#/Installer/MakeNightly.nsi.tmpl
index 7adbe40d7..de049fb4f 100644
--- a/win/C#/Installer/MakeNightly.nsi.tmpl
+++ b/win/C#/Installer/MakeNightly.nsi.tmpl
@@ -120,8 +120,9 @@ Section "Handbrake" SEC01
SetDetailsView show
${EndIf}
-
+ ; Install Files
File "Handbrake.exe"
+ File "HandBrakeCLI.exe"
CreateDirectory "$SMPROGRAMS\Handbrake"
CreateShortCut "$SMPROGRAMS\Handbrake\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
CreateShortCut "$DESKTOP\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
@@ -134,6 +135,16 @@ Section "Handbrake" SEC01
File "HandBrake.ApplicationServices.dll"
File "Microsoft.WindowsAPICodePack.Shell.dll"
File "Microsoft.WindowsAPICodePack.dll"
+
+ ; Copy the standard doc set into the doc folder
+ SetOutPath "$INSTDIR\doc"
+ SetOverwrite ifnewer
+ File "doc\AUTHORS"
+ File "doc\COPYING"
+ File "doc\CREDITS"
+ File "doc\NEWS"
+ File "doc\THANKS"
+ File "doc\TRANSLATIONS"
SectionEnd
Section -AdditionalIcons
@@ -166,13 +177,22 @@ Section Uninstall
Delete "$INSTDIR\Interop.QTOLibrary.dll"
Delete "$INSTDIR\Interop.QTOControlLib.dll"
Delete "$INSTDIR\AxInterop.QTOControlLib.dll"
+ Delete "$INSTDIR\HandBrakeCLI.exe"
+ Delete "$INSTDIR\handbrakepineapple.ico"
Delete "$INSTDIR\Handbrake.exe"
Delete "$INSTDIR\Handbrake.exe.config"
Delete "$INSTDIR\Growl.Connector.dll"
Delete "$INSTDIR\Growl.CoreLibrary.dll"
+ Delete "$INSTDIR\libgcc_s_sjlj-1.dll"
Delete "$INSTDIR\HandBrake.ApplicationServices.dll"
Delete "$INSTDIR\Microsoft.WindowsAPICodePack.Shell.dll"
Delete "$INSTDIR\Microsoft.WindowsAPICodePack.dll"
+ Delete "$INSTDIR\doc\AUTHORS"
+ Delete "$INSTDIR\doc\COPYING"
+ Delete "$INSTDIR\doc\CREDITS"
+ Delete "$INSTDIR\doc\NEWS"
+ Delete "$INSTDIR\doc\THANKS"
+ Delete "$INSTDIR\doc\TRANSLATIONS"
RMDir "$INSTDIR"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"