copy first then update with fontreg

This commit is contained in:
Mario Fetka 2012-05-15 21:44:53 +02:00
parent 0834eb79a3
commit 846a300e9b
2 changed files with 8 additions and 10 deletions

View File

@ -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:
;

View File

@ -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"