Difference between revisions of "Phase5"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
Line 46: | Line 46: | ||
</pre> | </pre> | ||
− | [[Category: Silent | + | [[Category:Silent Installers]] |
Revision as of 11:32, 12 January 2007
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).
phase5-remove.bat:
rd "%PROGRAMFILES%\phase5" /s /q rd "%allusersprofile%\Startmenü\phase5" /s /q