Seite 1 von 1
[WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 01 Dez 2015, 10:05
von nicolaslebrun
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
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 03 Dez 2015, 11:12
von n.wenselowski
Hi Nico,
we are planning such a feature for the future.
Kind regards
Niko
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 03 Dez 2015, 12:13
von nicolaslebrun
Thanks, Niko
Any idea to do it now ? ... On Windows, is there a way to know that a shutdown is going ?
Regards
Nico
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 09 Dez 2015, 16:57
von Lai
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
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 10 Dez 2015, 15:47
von ueluekmen
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.
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 21 Dez 2015, 09:04
von nicolaslebrun
Thanks Lai for the tip !
And thanks ueluekmen !
I'll wait !
Schöne Ferien !
Nico
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 13 Sep 2017, 12:19
von nicolaslebrun
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
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Verfasst: 19 Sep 2017, 15:42
von n.wenselowski
Hi Nico,
you can do so by using excludes or includes for product groups for the event execution.
Kind regards
Niko