Difference between revisions of "Phase5"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 4: | Line 4: | ||
phase5.xml: | phase5.xml: | ||
− | < | + | <source lang="xml"> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 26: | Line 26: | ||
</packages> | </packages> | ||
− | </ | + | </source> |
phase5-install.bat: | phase5-install.bat: | ||
− | < | + | <source lang="dos"> |
rd "%PROGRAMFILES%\phase5" /s /q | rd "%PROGRAMFILES%\phase5" /s /q | ||
− | rd "%allusersprofile%\ | + | rd "%allusersprofile%\Startmenü\phase5" /s /q |
call xcopy "%SOFTWARE%\phase5\dateien\*" c:\ /S /E /Y /Q | call xcopy "%SOFTWARE%\phase5\dateien\*" c:\ /S /E /Y /Q | ||
− | </ | + | </source> |
In "dateien", you would put "Programme\phase5" and "Documents and Settings" (Dokumente und Einstellungen) - desktop icons, start menu entries etc. | In "dateien", you would put "Programme\phase5" and "Documents and Settings" (Dokumente und Einstellungen) - desktop icons, start menu entries etc. | ||
Line 41: | Line 41: | ||
phase5-remove.bat: | phase5-remove.bat: | ||
− | < | + | <source lang="dos"> |
rd "%PROGRAMFILES%\phase5" /s /q | rd "%PROGRAMFILES%\phase5" /s /q | ||
− | rd "%allusersprofile%\ | + | rd "%allusersprofile%\Startmenü\phase5" /s /q |
− | </ | + | </source> |
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Revision as of 19:23, 12 March 2008
phase5 is a HTML editor.
It doesn't have a silent installer, so you need to install it on one machine first, and then, copy the files as they are. Below XML for WPKG, and batch files which install the phase5 editor:
phase5.xml:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="phase5"
name="phase5 HTML editor"
revision="4"
priority="1">
<check type="file" condition="sizeequals" value="1397760" path="%PROGRAMFILES%\phase5\htmledit.exe" />
<install cmd='%SOFTWARE%\phase5\phase5-install.bat' />
<remove cmd='%SOFTWARE%\phase5\phase5-remove.bat' />
<upgrade cmd='%SOFTWARE%\phase5\phase5-install.bat' />
</package>
</packages>
phase5-install.bat:
rd "%PROGRAMFILES%\phase5" /s /q
rd "%allusersprofile%\Startmenü\phase5" /s /q
call xcopy "%SOFTWARE%\phase5\dateien\*" c:\ /S /E /Y /Q
In "dateien", you would put "Programme\phase5" and "Documents and Settings" (Dokumente und Einstellungen) - desktop icons, start menu entries etc.
phase5-remove.bat:
rd "%PROGRAMFILES%\phase5" /s /q
rd "%allusersprofile%\Startmenü\phase5" /s /q