always and once scripts

Antworten
gallac
Beiträge: 2
Registriert: 09 Apr 2018, 15:16

always and once scripts

Beitrag von gallac »

hi,
i've been using opsi for a few months now and i'm only using the install and uninstall scripts for software packages.
So my question is, what exactly are "always" and "once" scripts, that i can also put into a software package?

Sincerely
gallac
Benutzeravatar
r.roeder
uib-Team
Beiträge: 540
Registriert: 02 Jul 2008, 10:08

Re: always and once scripts

Beitrag von r.roeder »

Hi gallac,

'always'- resp. 'once' scripts materialize the corresponding 'always' resp. 'once' action request configuration for a product. The different action request differ in the configuration to which a successfull action leads:

- a successfull action request 'setup' leads do an installation state 'installed' and the action request 'none'
- a successfull action request 'uninstall' produces an installation state 'uninstalled' and the action request 'none'
- a successfull action request 'always' produces an installation state 'uninstalled' and keeps the action request 'always'
- a successfull action request 'once' does not change the installation state and produces the action request 'none'

Best greetings
Rupert


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten