diff options
author | sr55 <[email protected]> | 2011-09-25 16:40:26 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-09-25 16:40:26 +0000 |
commit | 3a34f16a25e45e87e27cc107fd489eef1abc73f7 (patch) | |
tree | 8be7ce43aefe75ee8814bbca8f9cc064c2d777e6 /win/CS/Installer | |
parent | ea437273cecf5bddcc7b8913bb4e8eef6b60d53b (diff) |
WinGui: Added implementation of IWindsorInstaller to the AppServices library and updated the installers to use wildcards instead of hard coded files.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4251 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/Installer')
-rw-r--r-- | win/CS/Installer/Installer.nsi | 66 | ||||
-rw-r--r-- | win/CS/Installer/Installer64.nsi | 63 | ||||
-rw-r--r-- | win/CS/Installer/MakeNightly.nsi.tmpl | 50 | ||||
-rw-r--r-- | win/CS/Installer/MakeNightly64.nsi.tmpl | 49 |
4 files changed, 28 insertions, 200 deletions
diff --git a/win/CS/Installer/Installer.nsi b/win/CS/Installer/Installer.nsi index 607bfb697..278eb3d8a 100644 --- a/win/CS/Installer/Installer.nsi +++ b/win/CS/Installer/Installer.nsi @@ -124,39 +124,18 @@ Section "Handbrake" SEC01 ${EndIf}
; Install Files
- File "Handbrake.exe"
- File "HandBrakeCLI.exe"
+ File "*.exe"
CreateDirectory "$SMPROGRAMS\Handbrake"
CreateShortCut "$SMPROGRAMS\Handbrake\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
CreateShortCut "$DESKTOP\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
- File "Growl.Connector.dll"
- File "Growl.CoreLibrary.dll"
- File "Handbrake.exe.config"
- File "HandBrake.ApplicationServices.dll"
- File "Microsoft.WindowsAPICodePack.Shell.dll"
- File "Microsoft.WindowsAPICodePack.dll"
- File "HandBrakeInterop.dll"
- File "SplitButton.dll"
- File "Ookii.Dialogs.Wpf.dll"
- File "defaultsettings.xml"
-
- ;File "Caliburn.Castle.dll"
- ;File "Caliburn.Core.dll"
- ;File "Castle.Core.dll"
- ;File "Castle.DynamicProxy2.dll"
- ;File "Castle.MicroKernel.dll"
- ;File "Castle.Windsor.dll"
- ;File "Microsoft.Practices.ServiceLocation.dll"
+ File "*.dll"
+ File "*.config"
+ File "*.xml"
; 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"
+ File "doc\*.*"
SectionEnd
Section -AdditionalIcons
@@ -186,39 +165,8 @@ FunctionEnd Section Uninstall
Delete "$INSTDIR\uninst.exe"
- 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\HandBrake.Framework.dll"
- Delete "$INSTDIR\Microsoft.WindowsAPICodePack.Shell.dll"
- Delete "$INSTDIR\Microsoft.WindowsAPICodePack.dll"
- Delete "$INSTDIR\HandBrakeInterop.dll"
- Delete "$INSTDIR\SplitButton.dll"
- Delete "$INSTDIR\defaultsettings.dll"
-
- Delete "$INSTDIR\Caliburn.Castle.dll"
- Delete "$INSTDIR\Caliburn.Core.dll"
- Delete "$INSTDIR\Castle.Core.dll"
- Delete "$INSTDIR\Castle.DynamicProxy2.dll"
- Delete "$INSTDIR\Castle.MicroKernel.dll"
- Delete "$INSTDIR\Castle.Windsor.dll"
- Delete "$INSTDIR\Microsoft.Practices.ServiceLocation.dll"
- Delete "$INSTDIR\Ookii.Dialogs.Wpf.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"
+ Delete "$INSTDIR\*.*"
+ Delete "$INSTDIR\doc\*.*"
RMDir "$INSTDIR\doc"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
diff --git a/win/CS/Installer/Installer64.nsi b/win/CS/Installer/Installer64.nsi index ae63028a4..ad93519ba 100644 --- a/win/CS/Installer/Installer64.nsi +++ b/win/CS/Installer/Installer64.nsi @@ -129,34 +129,14 @@ Section "Handbrake" SEC01 CreateDirectory "$SMPROGRAMS\Handbrake"
CreateShortCut "$SMPROGRAMS\Handbrake\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
CreateShortCut "$DESKTOP\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
- File "Growl.Connector.dll"
- File "Growl.CoreLibrary.dll"
- File "Handbrake.exe.config"
- File "HandBrake.ApplicationServices.dll"
- File "Microsoft.WindowsAPICodePack.Shell.dll"
- File "Microsoft.WindowsAPICodePack.dll"
- File "HandBrakeInterop.dll"
- File "SplitButton.dll"
- File "Ookii.Dialogs.Wpf.dll"
- File "defaultsettings.xml"
-
- ;File "Caliburn.Castle.dll"
- ;File "Caliburn.Core.dll"
- ;File "Castle.Core.dll"
- ;File "Castle.DynamicProxy2.dll"
- ;File "Castle.MicroKernel.dll"
- ;File "Castle.Windsor.dll"
- ;File "Microsoft.Practices.ServiceLocation.dll"
+ File "*.dll"
+ File "*.config"
+ File "*.xml"
; 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"
+ File "doc\*.*"
SectionEnd
Section -AdditionalIcons
@@ -186,39 +166,8 @@ FunctionEnd Section Uninstall
Delete "$INSTDIR\uninst.exe"
- 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\HandBrake.Framework.dll"
- Delete "$INSTDIR\Microsoft.WindowsAPICodePack.Shell.dll"
- Delete "$INSTDIR\Microsoft.WindowsAPICodePack.dll"
- Delete "$INSTDIR\HandBrakeInterop.dll"
- Delete "$INSTDIR\SplitButton.dll"
- Delete "$INSTDIR\defaultsettings.dll"
-
- Delete "$INSTDIR\Caliburn.Castle.dll"
- Delete "$INSTDIR\Caliburn.Core.dll"
- Delete "$INSTDIR\Castle.Core.dll"
- Delete "$INSTDIR\Castle.DynamicProxy2.dll"
- Delete "$INSTDIR\Castle.MicroKernel.dll"
- Delete "$INSTDIR\Castle.Windsor.dll"
- Delete "$INSTDIR\Microsoft.Practices.ServiceLocation.dll"
- Delete "$INSTDIR\Ookii.Dialogs.Wpf.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"
+ Delete "$INSTDIR\*.*"
+ Delete "$INSTDIR\doc\*.*"
RMDir "$INSTDIR\doc"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
diff --git a/win/CS/Installer/MakeNightly.nsi.tmpl b/win/CS/Installer/MakeNightly.nsi.tmpl index 865da9c36..e33ee26fc 100644 --- a/win/CS/Installer/MakeNightly.nsi.tmpl +++ b/win/CS/Installer/MakeNightly.nsi.tmpl @@ -124,31 +124,19 @@ Section "Handbrake" SEC01 ${EndIf}
; Install Files
- File "Handbrake.exe"
- File "HandBrakeCLI.exe"
+ ; Install Files
+ File "*.exe"
CreateDirectory "$SMPROGRAMS\Handbrake"
CreateShortCut "$SMPROGRAMS\Handbrake\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
CreateShortCut "$DESKTOP\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
- File "Growl.Connector.dll"
- File "Growl.CoreLibrary.dll"
- File "Handbrake.exe.config"
- File "HandBrake.ApplicationServices.dll"
- File "Microsoft.WindowsAPICodePack.Shell.dll"
- File "Microsoft.WindowsAPICodePack.dll"
- File "HandBrakeInterop.dll"
- File "SplitButton.dll"
- File "Ookii.Dialogs.Wpf.dll"
- File "defaultsettings.xml"
+ File "*.dll"
+ File "*.config"
+ File "*.xml"
; 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"
+ File "doc\*.*"
SectionEnd
Section -AdditionalIcons
@@ -178,30 +166,8 @@ FunctionEnd Section Uninstall
Delete "$INSTDIR\uninst.exe"
- 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\HandBrakeInterop.dll"
- Delete "$INSTDIR\SplitButton.dll"
- Delete "$INSTDIR\Ookii.Dialogs.Wpf.dll"
- Delete "$INSTDIR\defaultsettings.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"
+ Delete "$INSTDIR\*.*"
+ Delete "$INSTDIR\doc\*.*"
RMDir "$INSTDIR\doc"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
diff --git a/win/CS/Installer/MakeNightly64.nsi.tmpl b/win/CS/Installer/MakeNightly64.nsi.tmpl index b55e42f09..c8fc37726 100644 --- a/win/CS/Installer/MakeNightly64.nsi.tmpl +++ b/win/CS/Installer/MakeNightly64.nsi.tmpl @@ -124,31 +124,18 @@ Section "Handbrake" SEC01 ${EndIf}
; Install Files
- File "Handbrake.exe"
- File "HandBrakeCLI.exe"
+ File "*.exe"
CreateDirectory "$SMPROGRAMS\Handbrake"
CreateShortCut "$SMPROGRAMS\Handbrake\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
CreateShortCut "$DESKTOP\Handbrake.lnk" "$INSTDIR\Handbrake.exe"
- File "Growl.Connector.dll"
- File "Growl.CoreLibrary.dll"
- File "Handbrake.exe.config"
- File "HandBrake.ApplicationServices.dll"
- File "Microsoft.WindowsAPICodePack.Shell.dll"
- File "Microsoft.WindowsAPICodePack.dll"
- File "HandBrakeInterop.dll"
- File "SplitButton.dll"
- File "Ookii.Dialogs.Wpf.dll"
- File "defaultsettings.xml"
+ File "*.dll"
+ File "*.config"
+ File "*.xml"
; 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"
+ File "doc\*.*"
SectionEnd
Section -AdditionalIcons
@@ -178,30 +165,8 @@ FunctionEnd Section Uninstall
Delete "$INSTDIR\uninst.exe"
- 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\HandBrakeInterop.dll"
- Delete "$INSTDIR\SplitButton.dll"
- Delete "$INSTDIR\Ookii.Dialogs.Wpf.dll"
- Delete "$INSTDIR\defaultsettings.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"
+ Delete "$INSTDIR\*.*"
+ Delete "$INSTDIR\doc\*.*"
RMDir "$INSTDIR\doc"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
|