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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WriteScan=on<br />

NetworkScan=on<br />

Reinst451=on<br />

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

It is up to the script how to handle different switch settings. In this case some script<br />

variables are set according to the switches, which are used for patching the<br />

configuration file 'vsconfig.ini' later on:<br />

; patch configuration files and import them<br />

....<br />

if IniVar ("ReadScan") = "off"<br />

Set $ReadScan="0"<br />

else<br />

Set $ReadScan="1"<br />

endif<br />

if IniVar ("WriteScan") = "off"<br />

Set $WriteScan="0"<br />

else<br />

Set $WriteScan="1"<br />

endif<br />

if IniVar ("NetworkScan") = "off"<br />

Set $NetworkScan="0"<br />

else<br />

Set $NetworkScan="1"<br />

endif<br />

....<br />

4.3.1.8. How to deinstall products<br />

To deinstall a software product from a computer, you need an 'uninstall' script to<br />

perform the deletion. The fundamental difficulty in software deletion is to distinguish<br />

what exactly has to be removed. Not all of the files that came with a software package<br />

can be deleted afterwards. Sometimes a packet comes with standard modules, which<br />

are also referred to by other programs. Often only the software manufacturer himself<br />

knows what parts have to be removed. The manufacturer's setup might offer an<br />

unattended deinstall option which can be embedded in the <strong>opsi</strong> deinstall script.<br />

Otherwise wInst provides several commands for software deletion:<br />

4.3.1.8.1. Using an uninstall routine<br />

If the product manufacturer provides an option for software deletion, it has to be<br />

checked whether it can be run unattended (in silent mode). If it requires some user<br />

61

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

Saved successfully!

Ooh no, something went wrong!