Changes

Phosco

450 bytes removed, 21:14, 2 October 2006
m
no edit summary
First the entry for packages.xml:
<blockquote style="background: white; border: 1px solid black; padding: 1em;"> <package<br> id="phosco"<br> name="phosco Trial"<br> revision="1"<br> reboot="false"<br> priority="0"><br> <check type="file" condition="exists" path="C:\Programme%PROGRAMFILES%\PhOSCo\PhOSCo\phosco-1.3-beta.jar" /><br> <br> <install cmd='\\server\admin\Non-MSI\Testversionen%SOFTWARE%\PhOScO\phosco-install.bat'><br> <exit code="0" /><br> </install><br> <br> <remove cmd='\\server\admin\Non-MSI\Testversionen%SOFTWARE%\PhOScO\phosco-uninstall.bat' /><br> <br>
</package>
</blockquote>
First install PhOScO in a normal way on a workstation, to C:\Programme%PROGRAMFILES%\phosco. Then copy everything you installed to a location on your server. Copy also all PhOScO shortcuts (Documente und Einstellungen\All Users\Desktop - something like this, full paths).<br>
It is best to put it on the server like this:
\\server\Admin\Non-MSI%SOFTWARE%\phosco\phoscofiles
and there:
This batch file - phosco-install.bat - installs PhOScO (if you use a non-German system, change "Benutzer" to a proper name in your system):
<blockquote style="background: white; border: 1px solid black; padding: 1em;"> call xcopy "\\server\Admin\Non-MSI%SOFTWARE%\PhOScO\phoscofiles\*" c:\ /S /E /Y /Q<br> cacls c:\programme%PROGRAMFILES%\PhOScO /T /E /P Benutzer:f >nul</blockquote>
This batch file - phosco-uninstall.bat - uninstalls PhOScO ("echo" at the end is used so that the script then exits with a code 0):
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
rd C:\programme\PhOScO\ /s /q<br>
del "%ALLUSERSPROFILE%\Desktop\stmk.lnk"<br>
del "%ALLUSERSPROFILE%\Desktop\TB.lnk"
echo
</blockquote>
rd %PROGRAMFILES%\PhOScO\ /s /q<br> del "%ALLUSERSPROFILE%\Desktop\stmk.lnk"<br> del "%ALLUSERSPROFILE%\Desktop\TB.lnk" echo [[category:Silent Installers|Phosco]]