From 846a300e9b4c2523431b482334200aaa6e66186a Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 15 May 2012 21:44:53 +0200 Subject: [PATCH] copy first then update with fontreg --- CLIENT_DATA/setup.ins | 14 ++++++-------- builder-product.cfg | 4 ++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/CLIENT_DATA/setup.ins b/CLIENT_DATA/setup.ins index 4766adb..3499264 100644 --- a/CLIENT_DATA/setup.ins +++ b/CLIENT_DATA/setup.ins @@ -83,17 +83,15 @@ else endif [Winbatch_install_32] -"%ScriptPath%\files\FontReg32.exe" /copy - -[Files_install_32] -; Example of recursively copying some files into the installation directory: -; -; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$" - -[Winbatch_install_64] ChangeDirectory $FontDir$ FontReg /copy +[Files_install_32] +copy -s "$Fonts$" "%Systemroot%\Fonts" + +[Winbatch_install_64] +FontReg + [Files_install_64] ; Example of recursively copying some files into the installation directory: ; diff --git a/builder-product.cfg b/builder-product.cfg index 43f7348..2c4de3e 100644 --- a/builder-product.cfg +++ b/builder-product.cfg @@ -25,5 +25,5 @@ DL_EXTRACT_FORMAT[1]="unzip" # File array index for the image showing while installing the program ICON_DL_INDEX=0 -WINST_NAME[0]="FontDir" -WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[1]@\\ttf-bitstream-vera-1.10" +WINST_NAME[0]="Fonts" +WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[1]@\\ttf-bitstream-vera-1.10\\*.ttf"