Seite 1 von 1

Is WINST script executed by GUI_STARTUP or ON_DEMAND event

Verfasst: 04 Okt 2013, 08:13
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

Re: Is WINST script executed by GUI_STARTUP or ON_DEMAND eve

Verfasst: 08 Okt 2013, 14:56
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.