activate the new icons
This commit is contained in:
parent
af58d8c462
commit
5e8e00644b
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user