UserLoginScripts
Verfasst: 21 Aug 2013, 13:00
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
setup.ins
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
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
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%\"
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