Hi,
Is it possible somehow to add some 'pre defined' parameters for an winnt script from OPSI configed?
I.e. I want to add the user to some groups automatically after installation, which can be done via a command line, but obviously the script has to know the username (and it has to be run with administrator privileges or before logging in).
Or do I have to extend the JAVA applet for this functionality?
Passing additional variables to the preloader?
Re: Passing additional variables to the preloader?
Hi,
you may define product properties wich can be edited client specific via opsi-configed.
Have for a example a look at our javavm product which have properties like java15=on/off.
These properties could also be free difined strings (like the product key in winxppro)
Have look at the opsi-manual Chapter 4.3.2.1 how to define these properties.
Use the opsi-winst command 'inivar' to read theses properties at runtime.
One other possible solution for your problem could be to create a ini-file
with a hash
client name=user name
and fetch the correct user name for the client while runtime with the opsi-winst command
GetvalueFromInifile
Does this help ?
regards
detlef oertel
you may define product properties wich can be edited client specific via opsi-configed.
Have for a example a look at our javavm product which have properties like java15=on/off.
These properties could also be free difined strings (like the product key in winxppro)
Have look at the opsi-manual Chapter 4.3.2.1 how to define these properties.
Use the opsi-winst command 'inivar' to read theses properties at runtime.
One other possible solution for your problem could be to create a ini-file
with a hash
client name=user name
and fetch the correct user name for the client while runtime with the opsi-winst command
GetvalueFromInifile
Does this help ?
regards
detlef oertel
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
Re: Passing additional variables to the preloader?
thanks!
the properties feature was exactly the thing I was looking for
great job!
the properties feature was exactly the thing I was looking for
great job!