Silent install (opsi-winst script)

Sznefru
Beiträge: 35
Registriert: 11 Jan 2012, 11:59

Re: Silent install (opsi-winst script)

Beitrag von Sznefru »

I set it at the host parameters, but when i send a product with "fire on-demand event" the OPSI-winst window appears.
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Silent install (opsi-winst script)

Beitrag von tobias »

do you have rebooted the client?
Sznefru
Beiträge: 35
Registriert: 11 Jan 2012, 11:59

Re: Silent install (opsi-winst script)

Beitrag von Sznefru »

The client is that pc, where I to send the product? Yes, i reboot it.
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Silent install (opsi-winst script)

Beitrag von tobias »

you must distinguish between GUI_STARTUP and ON_DEMAND.
OPSI works with events if you start your computer the GUI_STARTUP event is executed. If you fire an on_demand event via configed the event ON_DEMAND is executed.

You can set the actionprocessor (WINST) parameter for the different events.
Sznefru
Beiträge: 35
Registriert: 11 Jan 2012, 11:59

Re: Silent install (opsi-winst script)

Beitrag von Sznefru »

Ok, that is clear.

I set at the host parameters the on-demand :
opsiclientd.on_demand.action_processor_command (name)
%action_processor.command% /sessionid %service_session% /silent (property value)

and it is the same problem: opsi-winst window appears.
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Silent install (opsi-winst script)

Beitrag von tobias »

can you look on your client? under c:\programm files\opsi.org\opsi-client-agent\opsiclientd\ you will find the opsiclientd.conf
In this file you must look at the section ON_DEMAND and there you must find the host-parameter you have created via configed.
it should look like this: action_processor_command = %action_processor.command% /sessionid %service_session% /silent
Sznefru
Beiträge: 35
Registriert: 11 Jan 2012, 11:59

Re: Silent install (opsi-winst script)

Beitrag von Sznefru »

At the end of the file :

[gui_startup]
action_processor_command = %action_processor.command% /sessionid %service_session% /silent
[on_demand]
action_processor_command = %action_processor.command% /sessionid %service_session% /silent
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Silent install (opsi-winst script)

Beitrag von tobias »

ah sorry my mistake :oops: the parameter must be named like this:
opsiclientd.event_on_demand.action_processor_command
and
opsiclientd.event_gui_startup.action_processor_command

sorry :oops:
Sznefru
Beiträge: 35
Registriert: 11 Jan 2012, 11:59

Re: Silent install (opsi-winst script)

Beitrag von Sznefru »

No problem. It'working thank you. But the window appers, but just a milisecond.
Antworten