summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-02-02 20:39:57 +0000
committersr55 <[email protected]>2012-02-02 20:39:57 +0000
commit2735dc8f72c2894f1a15d20a1dd89347ede2a532 (patch)
treead8c47f1362b1af4f85f9934fd375a38f7fe6334 /win/CS
parent9b99027dfe2346890c2125c4be4be7757df287a5 (diff)
WinGui: Update the installers to package the fonts folder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4433 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/Installer/Installer.nsi7
-rw-r--r--win/CS/Installer/Installer64.nsi7
-rw-r--r--win/CS/Installer/MakeNightly.nsi.tmpl7
-rw-r--r--win/CS/Installer/MakeNightly64.nsi.tmpl7
4 files changed, 28 insertions, 0 deletions
diff --git a/win/CS/Installer/Installer.nsi b/win/CS/Installer/Installer.nsi
index 278eb3d8a..03b9e0ebb 100644
--- a/win/CS/Installer/Installer.nsi
+++ b/win/CS/Installer/Installer.nsi
@@ -136,6 +136,11 @@ Section "Handbrake" SEC01
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
File "doc\*.*"
+
+ ; Copy the standard fonts config set into the fonts folder
+ SetOutPath "$INSTDIR\fonts"
+ SetOverwrite ifnewer
+ File "fonts\*.*"
SectionEnd
Section -AdditionalIcons
@@ -167,7 +172,9 @@ Section Uninstall
Delete "$INSTDIR\*.*"
Delete "$INSTDIR\doc\*.*"
+ Delete "$INSTDIR\fonts\*.*"
RMDir "$INSTDIR\doc"
+ RMDIR "$INSTDIR\fonts"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
Delete "$SMPROGRAMS\Handbrake\Handbrake.lnk"
diff --git a/win/CS/Installer/Installer64.nsi b/win/CS/Installer/Installer64.nsi
index ad93519ba..92a8ec69d 100644
--- a/win/CS/Installer/Installer64.nsi
+++ b/win/CS/Installer/Installer64.nsi
@@ -137,6 +137,11 @@ Section "Handbrake" SEC01
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
File "doc\*.*"
+
+ ; Copy the standard fonts config set into the fonts folder
+ SetOutPath "$INSTDIR\fonts"
+ SetOverwrite ifnewer
+ File "fonts\*.*"
SectionEnd
Section -AdditionalIcons
@@ -168,7 +173,9 @@ Section Uninstall
Delete "$INSTDIR\*.*"
Delete "$INSTDIR\doc\*.*"
+ Delete "$INSTDIR\fonts\*.*"
RMDir "$INSTDIR\doc"
+ RMDIR "$INSTDIR\fonts"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
Delete "$SMPROGRAMS\Handbrake\Handbrake.lnk"
diff --git a/win/CS/Installer/MakeNightly.nsi.tmpl b/win/CS/Installer/MakeNightly.nsi.tmpl
index e33ee26fc..18fe720e2 100644
--- a/win/CS/Installer/MakeNightly.nsi.tmpl
+++ b/win/CS/Installer/MakeNightly.nsi.tmpl
@@ -137,6 +137,11 @@ Section "Handbrake" SEC01
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
File "doc\*.*"
+
+ ; Copy the standard fonts config set into the fonts folder
+ SetOutPath "$INSTDIR\fonts"
+ SetOverwrite ifnewer
+ File "fonts\*.*"
SectionEnd
Section -AdditionalIcons
@@ -168,7 +173,9 @@ Section Uninstall
Delete "$INSTDIR\*.*"
Delete "$INSTDIR\doc\*.*"
+ Delete "$INSTDIR\fonts\*.*"
RMDir "$INSTDIR\doc"
+ RMDIR "$INSTDIR\fonts"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
Delete "$SMPROGRAMS\Handbrake\Handbrake.lnk"
diff --git a/win/CS/Installer/MakeNightly64.nsi.tmpl b/win/CS/Installer/MakeNightly64.nsi.tmpl
index c8fc37726..4de8c78a3 100644
--- a/win/CS/Installer/MakeNightly64.nsi.tmpl
+++ b/win/CS/Installer/MakeNightly64.nsi.tmpl
@@ -136,6 +136,11 @@ Section "Handbrake" SEC01
SetOutPath "$INSTDIR\doc"
SetOverwrite ifnewer
File "doc\*.*"
+
+ ; Copy the standard fonts config set into the fonts folder
+ SetOutPath "$INSTDIR\fonts"
+ SetOverwrite ifnewer
+ File "fonts\*.*"
SectionEnd
Section -AdditionalIcons
@@ -167,7 +172,9 @@ Section Uninstall
Delete "$INSTDIR\*.*"
Delete "$INSTDIR\doc\*.*"
+ Delete "$INSTDIR\fonts\*.*"
RMDir "$INSTDIR\doc"
+ RMDIR "$INSTDIR\fonts"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"
Delete "$SMPROGRAMS\Handbrake\Handbrake.lnk"