06.03.2013 Views

opsi Version 3.3.1 - opsi Download - uib

opsi Version 3.3.1 - opsi Download - uib

opsi Version 3.3.1 - opsi Download - uib

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4. Localboot products: automatic software distribution with <strong>opsi</strong><br />

interaction, an autoIt-script combined with the uninstall routine might do the job. The<br />

uninstall statement can be embedded in a [winbatch] section of the wInst-script:<br />

[Winbatch_start_ThunderbirdUninstall]<br />

%SYSTEMROOT%\UninstallThunderbird.exe /ma<br />

When using an uninstall program, it always should be tested whether all of the files<br />

have been deleted and the computer is still in a stable state.<br />

Products which are installed by MSI often come also with an uninstall option, which<br />

usually is the msiexec.exe parameter /x. And the parameter /qb-! is for<br />

unattended mode (without user interaction). So this is the statement for unattended<br />

deinstall:<br />

msiexec.exe /x myPacket.msi /qb-!<br />

Instead of the package name you could also use the GUID (Global Unique ID) with<br />

msiexec.exe. This GUID identifies the product in the system and can be found in the<br />

registry directory<br />

HKLM\Software\Microsoft\Windows\Current<strong>Version</strong>\Uninstall<br />

A request using the GUID looks like this:<br />

msiexec.exe /x {003C5074-EB37-4A75-AC4B-F5394E08B4DD} /qb-!<br />

If none of these methods is available or sufficient, the deinstallation can be done by a<br />

wInst-script as described in the following:<br />

4.3.1.8.2. Useful wInst commands for uninstall<br />

If a product has been installed by wInst functions, or if there is no uninstall routine for<br />

the product, the complete deinstallation has to be done by a wInst script. WInst comes<br />

with some powerful uninstall functions. In this chapter we will have an overview, for<br />

detailed information refer to the wInst handbook.<br />

62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!