Difference between revisions of "MegaFont XXL"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
Line 1: | Line 1: | ||
This is a silent installer and uninstaller for MegaFont XXL. | This is a silent installer and uninstaller for MegaFont XXL. | ||
− | + | <source lang="xml"> | |
+ | <package id="megafontxxl" name="MegaFont XXL" revision="1" priority="0" reboot="false"> | ||
<check type="file" condition="exists" path="%windir%\fonts\s-montbi.ttf" /> | <check type="file" condition="exists" path="%windir%\fonts\s-montbi.ttf" /> | ||
<install cmd='cmd /c mkdir c:\fonts' /> | <install cmd='cmd /c mkdir c:\fonts' /> | ||
Line 13: | Line 14: | ||
<remove cmd="cmd /c FOR /F %%D IN ('dir /b /o-n %SOFTWARE%\megafontxxl\*.ttf') DO for /F %%Z in ('dir /b /o-n %SOFTWARE%\megafontxxl\%%D\*.zip') DO c:\Program/ Files\7-Zip\7z.exe x -oc:\fonts -y %SOFTWARE%\megafontxxl\%%D\%%Z" /> | <remove cmd="cmd /c FOR /F %%D IN ('dir /b /o-n %SOFTWARE%\megafontxxl\*.ttf') DO for /F %%Z in ('dir /b /o-n %SOFTWARE%\megafontxxl\%%D\*.zip') DO c:\Program/ Files\7-Zip\7z.exe x -oc:\fonts -y %SOFTWARE%\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" /> | <remove cmd="cmd /c FOR /F %%F IN ('dir /b /o-n c:\fonts\*.ttf') DO del /s /q c:\fonts\%%F" /> | ||
− | + | </package> | |
− | + | </source> | |
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 19:09, 19 February 2008
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 %SOFTWARE%\megafontxxl\*.ttf') DO for /F %%Z in ('dir /b /o-n %SOFTWARE%\megafontxxl\%%D\*.zip') DO c:\Program/ Files\7-Zip\7z.exe x -oc:\fonts -y %SOFTWARE%\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 %SOFTWARE%\megafontxxl\*.ttf') DO for /F %%Z in ('dir /b /o-n %SOFTWARE%\megafontxxl\%%D\*.zip') DO c:\Program/ Files\7-Zip\7z.exe x -oc:\fonts -y %SOFTWARE%\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" />
</package>