summaryrefslogtreecommitdiffstats
path: root/win/CS/Installer/MakeNightly.nsi.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/Installer/MakeNightly.nsi.tmpl')
-rw-r--r--win/CS/Installer/MakeNightly.nsi.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/Installer/MakeNightly.nsi.tmpl b/win/CS/Installer/MakeNightly.nsi.tmpl
index 18fe720e2..c168e139d 100644
--- a/win/CS/Installer/MakeNightly.nsi.tmpl
+++ b/win/CS/Installer/MakeNightly.nsi.tmpl
@@ -141,7 +141,7 @@ Section "Handbrake" SEC01
; Copy the standard fonts config set into the fonts folder
SetOutPath "$INSTDIR\fonts"
SetOverwrite ifnewer
- File "fonts\*.*"
+ File /r "fonts\*.*"
SectionEnd
Section -AdditionalIcons
@@ -174,7 +174,11 @@ Section Uninstall
Delete "$INSTDIR\*.*"
Delete "$INSTDIR\doc\*.*"
Delete "$INSTDIR\fonts\*.*"
+ Delete "$INSTDIR\fonts\conf.d\*.*"
+ Delete "$INSTDIR\fonts\conf.avail\*.*"
RMDir "$INSTDIR\doc"
+ RMDIR "$INSTDIR\fonts\conf.d"
+ RMDIR "$INSTDIR\fonts\conf.avail"
RMDIR "$INSTDIR\fonts"
Delete "$SMPROGRAMS\Handbrake\Uninstall.lnk"
Delete "$DESKTOP\Handbrake.lnk"