Is WINST script executed by GUI_STARTUP or ON_DEMAND event

Antworten
petteri
Beiträge: 2
Registriert: 03 Okt 2013, 15:49

Is WINST script executed by GUI_STARTUP or ON_DEMAND event

Beitrag von petteri »

Hi,

If I understand this correctly, there is two kinds of events (GUI_STARTUP and ON_DEMAND) which executes WINST script in workstation. Is there simple way to check in WINST script which event started the execution? I have software installation which behaves badly if installation is started during boot. So, I need to do some preparations *if* package is installed during boot.

best regards,
petteri
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: Is WINST script executed by GUI_STARTUP or ON_DEMAND eve

Beitrag von ueluekmen »

Hi,

you have understand the things right, but there are more then the two kinds of Events. Then it makes a difference, which precondition is fullfilled.

But your issue sounds like, that your Software have problems, if no user logged in during installation. Some vendors write dirty installation routines. I don't think it is a good idea, to try to fix the failed installation after the installationprocess. Have you tried the opsi-template-with-admin?

You can also try to use:

Code: Alles auswählen

ChangeDirectory "%SCRIPTPATH%"
Before you start the installer. In some cases this will help, if you have a issue like that.


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