UserLoginScripts

Antworten
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

UserLoginScripts

Beitrag von bobzbobz »

Hi

We have just cofunded the User Profile Management module.
We have recieved it and installed it, but how excactly does the login-scripts work?

I have created a basic package with the following files:

control-file

Code: Alles auswählen

[Package]
version: 1
depends: 
incremental: False

[Product]
type: localboot
id: testlogonscript
name: testlogonscript
description: 
advice: 
version: 1.0
priority: 0
licenseRequired: False
productClasses: 
setupScript: setup.ins
uninstallScript: 
updateScript: 
alwaysScript: 
onceScript: 
customScript: 
userLoginScript: setup.ins
setup.ins

Code: Alles auswählen

[Actions]

if GetScriptMode = "Machine"
	Files_install
endif

if GetScriptMode = "Login"
	Files_install2
endif

[Files_install]
copy -s "%ScriptPath%\1.txt" "%CommonDesktopDir%\"

[Files_install2]
copy -s "%ScriptPath%\2.txt" "%CommonDesktopDir%\"
Now when i set the script for status "setup" in configed, it installes correctly, but when i login to the computer nothing seems to happen.
Is the login-script not supposed to run when someone logs on to the computer?

(Only 1.txt is on the desktop).

Best Regards,
Soren
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: UserLoginScripts

Beitrag von bobzbobz »

Anyone?

Have I missunderstood the concept of userloginscripts?
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: UserLoginScripts

Beitrag von wolfbardo »

Not sure if you already activated the event
event_user_login
see

http://download.uib.de/opsi4.0/doc/html ... serprofile

19.6. Configuration

regards,
bardo wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten