Difference between revisions of "MegaFont XXL"
From WPKG | Open Source Software Deployment and Distribution
m |
(No difference)
|
Revision as of 22:09, 10 December 2005
This is a silent installer and uninstaller for MegaFont XXL.
<package id="megafontxxl" name="MegaFont XXL" revision="1" priority="0" reboot="false"> <check type="file" condition="exists" path="%windir%\fonts\s-montbi.ttf" /> <install cmd='cmd /c mkdir c:\fonts' /> <install cmd='cmd /c del /s /q c:\fonts\*/*' /> <install cmd="cmd /c FOR /F %%D IN ('dir /b /o-n \\server\share\megafontxxl\*.ttf') DO for /F %%Z in ('dir /b /o-n \\server\share\megafontxxl\%%D\*.zip') DO c:\Program/ Files\7-Zip\7z.exe x -oc:\fonts -y \\server\share\megafontxxl\%%D\%%Z" /> <install cmd='cmd /c copy /y c:\fonts\*.TTF %windir%\fonts' /> <install cmd='cmd /c del /s /q c:\fonts' /> <install cmd='cmd /c start %windir%\fonts' /> <remove cmd='cmd /c mkdir c:\fonts' /> <remove cmd='cmd /c del /s /q c:\fonts\*/*' /> <remove cmd="cmd /c FOR /F %%D IN ('dir /b /o-n \\server\share\megafontxxl\*.ttf') DO for /F %%Z in ('dir /b /o-n \\server\share\megafontxxl\%%D\*.zip') DO c:\Program/ Files\7-Zip\7z.exe x -oc:\fonts -y \\server\share\megafontxxl\%%D\%%Z" /> <remove cmd="cmd /c FOR /F %%F IN ('dir /b /o-n c:\fonts\*.ttf') DO del /s /q c:\fonts\%%F" /> <upgrade cmd="" /> </package>