Difference between revisions of "MegaFont XXL"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
m
Line 5: Line 5:
 
  <install cmd='cmd /c mkdir c:\fonts' />
 
  <install cmd='cmd /c mkdir c:\fonts' />
 
  <install cmd='cmd /c del /s /q 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 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 copy /y c:\fonts\*.TTF %windir%\fonts' />
 
  <install cmd='cmd /c del /s /q c:\fonts' />
 
  <install cmd='cmd /c del /s /q c:\fonts' />
Line 11: Line 11:
 
  <remove cmd='cmd /c mkdir c:\fonts' />
 
  <remove cmd='cmd /c mkdir c:\fonts' />
 
  <remove cmd='cmd /c del /s /q 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 %%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" />
<upgrade cmd="" />
 
 
  </package>  
 
  </package>  
  
  
[[category:Silent Installers|MegaFont XXL]]
+
[[category:Silent Installers]]

Revision as of 20:12, 2 October 2006

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>