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.

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

4.3.1.7.1. Tasks of the <strong>opsi</strong> installer wInst (for Windows)<br />

In addition to the Windows installer (MSI) or other commercial installers, the <strong>opsi</strong><br />

installer wInst has to perform following tasks:<br />

• The <strong>opsi</strong> installer wInst provides seamless integration with the <strong>opsi</strong> configuration<br />

data base, which holds the specifications for the product installation.<br />

• Based on wInst the installation becomes configurable, customizable and adaptable<br />

down to any detail as required for the overall concept.<br />

• wInst features detailed logging of all software installation steps which can be very<br />

useful for integration and support. The log level can be set gradually from verbose log<br />

down to none.<br />

4.3.1.7.2. General hints for writing a Winst-script<br />

4.3.1.7.2.1. What if the installation needs a reboot<br />

Many software components installed by a setup program require a reboot after<br />

installation. The reason for this is that performing a reboot often is the only way to make<br />

sure, that new configurations and replaced modules come into operation.<br />

So <strong>opsi</strong> wInst comes with a script command for performing a reboot. In the [action]<br />

section of the wInst-script the command ExitWindows can be set and specified with<br />

the option /RebootWanted, /Reboot or /ImmediateReboot:<br />

• /RebootWanted (deprecated) is the “weakest” reboot option. The reboot request is<br />

noted down in the registry and will be performed after all the installations are done.<br />

Which means that wInst might continue installing other products before rebooting.<br />

So reboot requests from many packets can be combined in a final single reboot,<br />

instead of rebooting after each packet.<br />

• /Reboot launches a reboot after completing the current installation script.<br />

• /ImmediateReboot aborts the script execution and performs an immediate reboot.<br />

The script itself has to take care for status handling and proper continuation. To<br />

control script processing, the script might write a status flag before reboot. After<br />

57

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

Saved successfully!

Ooh no, something went wrong!