Difference between revisions of "Phase5"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 37: Line 37:
 
</pre>
 
</pre>
  
In "dateien", you would put "Programme\phase5" and "Documents and Settings" (Dokumente und Einstellungen).
+
In "dateien", you would put "Programme\phase5" and "Documents and Settings" (Dokumente und Einstellungen) - desktop icons, start menu entries etc.
  
  

Revision as of 19:42, 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) - desktop icons, start menu entries etc.


phase5-remove.bat:

rd "%PROGRAMFILES%\phase5" /s /q
rd "%allusersprofile%\Startmenü\phase5" /s /q