[WINST] Is there a way from Winst to install a package only at shutdown ?

nicolaslebrun
Beiträge: 68
Registriert: 18 Apr 2011, 11:43

[WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon nicolaslebrun » 01 Dez 2015, 10:05

Hi,

I want a localboot package to be installed only at shutdown...

Is there a way to ask the service if it is running at shutdown ?

Does anybody have an idea on the way to do it ?

Thanks,

Regards,

Nico

Benutzeravatar
n.wenselowski
Beiträge: 2457
Registriert: 04 Apr 2013, 12:15

Re: [WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon n.wenselowski » 03 Dez 2015, 11:12

Hi Nico,

we are planning such a feature for the future.


Kind regards

Niko
Kein Support per DM!
_________________________
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.

nicolaslebrun
Beiträge: 68
Registriert: 18 Apr 2011, 11:43

Re: [WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon nicolaslebrun » 03 Dez 2015, 12:13

Thanks, Niko

Any idea to do it now ? ... On Windows, is there a way to know that a shutdown is going ?

Regards

Nico

Lai
Beiträge: 12
Registriert: 20 Sep 2012, 10:36

Re: [WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon Lai » 09 Dez 2015, 16:57

Hello
I have a quick and dirty solution for Windows7:

returns errorlevel 3 or 4 depending if opsi is started on shutdown or start

(works because the gpsvc task is marked to stop 3 before the opsi client is started on shutdown)

[DosBatch_Install]
for /F "tokens=1,2,3" %%i IN ('sc query gpsvc') do if "%%i"=="STATE" exit %%k

Benutzeravatar
ueluekmen
Beiträge: 1806
Registriert: 28 Mai 2008, 10:53

Re: [WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon ueluekmen » 10 Dez 2015, 15:47

Hi,

yes this feature is in pending state for the next release. Please watch the news posts, we plan to release this in a few days.
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de

nicolaslebrun
Beiträge: 68
Registriert: 18 Apr 2011, 11:43

Re: [WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon nicolaslebrun » 21 Dez 2015, 09:04

Thanks Lai for the tip !

And thanks ueluekmen !

I'll wait !

Schöne Ferien !

Nico

nicolaslebrun
Beiträge: 68
Registriert: 18 Apr 2011, 11:43

Re: [WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon nicolaslebrun » 13 Sep 2017, 12:19

Hi !

yes this feature is in pending state for the next release. Please watch the news posts, we plan to release this in a few days.


Is there news I missed ?

Greetings,

Nico

Benutzeravatar
n.wenselowski
Beiträge: 2457
Registriert: 04 Apr 2013, 12:15

Re: [WINST] Is there a way from Winst to install a package only at shutdown ?

Beitragvon n.wenselowski » 19 Sep 2017, 15:42

Hi Nico,

you can do so by using excludes or includes for product groups for the event execution.


Kind regards

Niko
Kein Support per DM!
_________________________
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.


Zurück zu „Free support“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast