From 5e8e00644b79fb3aa939df19bb172ba7c02ff683 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 8 May 2013 18:49:41 +0200 Subject: [PATCH] activate the new icons --- CLIENT_DATA/setup3264.ins | 5 ++--- builder-product.cfg | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index ea88fb6..f7664dd 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -120,14 +120,13 @@ If exist "%System%\defaultassociations.xml" (copy "%System%\defaultassociations. SET Prog=$ProgExe$ SET Prog=%Prog:~0,-4% SET SC=HKLM\Software\Classes -rem SET Extn=$ImageTypesExt$ -SET Extn=bmp-55 dds-60 gif-65 jpg-70 jpeg-70 pcx-75 png-80 psd-85 tga-90 tif-95 tiff-95 +SET Extn=$ImageTypesExt$ FOR %%j IN (%Extn%) DO ( FOR /F "tokens=1,2 delims=-" %%A IN ("%%j") DO ( REG ADD %SC%\.%%A /VE /D "Imagine.%%A" /F REG ADD %SC%\Imagine.%%A /VE /D "%%A Image" /F - REG ADD %SC%\Imagine.%%A\DefaultIcon /VE /D "$InstallDir$\%Prog%.dll,%%B" /F + REG ADD %SC%\Imagine.%%A\DefaultIcon /VE /D "$InstallDir$\Icons\%%B.ico" /F REG ADD %SC%\Imagine.%%A\shell\open\command /VE /D "\"$InstallDir$\%Prog%.exe\" \"%%1\"" /F copy "$LogDir$\defaultassociations.xml" "$LogDir$\defaultassociations.xml.old" xml ed -d /DefaultAssociations/Association[@Identifier='.%%A'] "$LogDir$\defaultassociations.xml.old"> "$LogDir$\defaultassociations.xml" diff --git a/builder-product.cfg b/builder-product.cfg index fa07756..b5b848f 100644 --- a/builder-product.cfg +++ b/builder-product.cfg @@ -194,7 +194,7 @@ ICON_DL_INDEX=0 # WINST_VALUE[0] is used in builder-target-cb.sh # if you change the index of this you also have to change it in the *.sh file WINST_NAME[0]="ImageTypesExt" -WINST_VALUE[0]="bmp-11 dds-11 gif-11 jpg-11 jpe-11 jpeg-11 pcx-11 png-11 psd-11 8psd-11 tga-11 tif-11 tiff-11 dcx-11 emf-11 exr-11 flc-11 fli-11 ico-11 jbg-11 jbig-11 jp2-11 jpc-11 j2k-11 mng-11 bpm-11 pcd-11 rgb-11 wbmp-11 wbm-11 webp-11 wmf-11 wpg-11 xbm-11 xcf-11 xpm-11" +WINST_VALUE[0]="bmp-bmp dds-dds gif-gif jpg-jpg jpe-jpe jpeg-jpeg pcx-pcx png-png psd-psd 8psd-8psd tga-tga tif-tif tiff-tiff dcx-dcx emf-emf exr-exr flc-flc fli-fli ico-ico jbg-jbg jbig-jbig jp2-jp2 jpc-jpc j2k-j2k mng-mng bpm-bpm pcd-pcd rgb-rgb wbmp-wbmp wbm-wbm webp-webp wmf-wmf wpg-wpg xbm-xbm xcf-xcf xpm-xpm" OPSI_INI_SECTION[0]="X86"