[WINST] Is there a way from Winst to install a package only at shutdown ?
-
- Beiträge: 107
- Registriert: 18 Apr 2011, 11:43
[WINST] Is there a way from Winst to install a package only at shutdown ?
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
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
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Hi Nico,
we are planning such a feature for the future.
Kind regards
Niko
we are planning such a feature for the future.
Kind regards
Niko
Code: Alles auswählen
import OPSI
-
- Beiträge: 107
- Registriert: 18 Apr 2011, 11:43
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Thanks, Niko
Any idea to do it now ? ... On Windows, is there a way to know that a shutdown is going ?
Regards
Nico
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 ?
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
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 ?
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.
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
For productive opsi installations we recommend support contracts.
http://www.uib.de
-
- Beiträge: 107
- Registriert: 18 Apr 2011, 11:43
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Thanks Lai for the tip !
And thanks ueluekmen !
I'll wait !
Schöne Ferien !
Nico
And thanks ueluekmen !
I'll wait !
Schöne Ferien !
Nico
-
- Beiträge: 107
- Registriert: 18 Apr 2011, 11:43
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Hi !
Greetings,
Nico
Is there news I missed ?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.
Greetings,
Nico
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: [WINST] Is there a way from Winst to install a package only at shutdown ?
Hi Nico,
you can do so by using excludes or includes for product groups for the event execution.
Kind regards
Niko
you can do so by using excludes or includes for product groups for the event execution.
Kind regards
Niko
Code: Alles auswählen
import OPSI