Changes

Albis

2,151 bytes added, 10:02, 5 August 2005
m
no edit summary
This is a silent installer and uninstaller for Albis Demoversion.

Albis is broken, as it was designed to be run as Administrator - so if you install it, it won't run as a normal user, but only as an Administrator - unless you correct some permissions.

This is why the installer and uninstaller are placed in separate batch files.

First the entry for packages.xml:

<blockquote style="background: white; border: 1px solid black; padding: 1em;">
<package<br>
id="albisdemo"<br>
name="ALBIS Demoversion"<br>
revision="1"<br>
reboot="false"<br>
priority="0"><br>
<check type="file" condition="exists" path="C:\aowdemo\albis.exe" /><br>
<install cmd='\\server\admin\non-msi\albisdemo\aowdemo-install.bat'><br>
<exit code="0" /><br>
</install><br>
<br>
<remove cmd='\\server\admin\non-msi\albisdemo\aowdemo-remove.bat' /><br>
<br>
<upgrade cmd="" /><br>
<br>
</package><br>
</blockquote>


First install Albis in a normal way on a workstation to C:\aowdemo. Then copy everything to a location on your server. Copy also all Albis 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\albisdemo\ALBIS\

and there:

aowdemo - a directory containing files which go to C:\aowdemo<br>
Dokumente und Einstellungen - all shortcuts on the desktop etc.; you will have to change the name of this folder if you have a non-German Windows version.


This batch file - aowdemo-install.bat - installs Albis (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\albisdemo\ALBIS\*" c:\ /S /E /Y /Q<br>
cacls c:\aowdemo /T /E /P Benutzer:f >nul
</blockquote>

This batch file - aowdemo-uninstall.bat - installs Albis:
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
rd C:\aowdemo\ /s /q<br>
del "%allusersprofile%\Desktop\Albis.lnk"
</blockquote>

[[category:Silent Installers|Albis]]