Difference between revisions of "Phase5"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 4: Line 4:
  
 
phase5.xml:
 
phase5.xml:
<pre>
+
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
  
Line 26: Line 26:
  
 
</packages>
 
</packages>
</pre>
+
</source>
  
  
 
phase5-install.bat:
 
phase5-install.bat:
<pre>
+
<source lang="dos">
 
rd "%PROGRAMFILES%\phase5" /s /q
 
rd "%PROGRAMFILES%\phase5" /s /q
rd "%allusersprofile%\Startmenü\phase5" /s /q
+
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
</pre>
+
</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:
<pre>
+
<source lang="dos">
 
rd "%PROGRAMFILES%\phase5" /s /q
 
rd "%PROGRAMFILES%\phase5" /s /q
rd "%allusersprofile%\Startmenü\phase5" /s /q
+
rd "%allusersprofile%\Startmenü\phase5" /s /q
</pre>
+
</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