Problem with package when running as System context
Hi!
I have two problems that i dont have when i run the MSI as anyone else but System context.
First problem:
Some shortcuts that are supposed to go in the start menu are missing.
Second problem:
The package install a service and I need that service to run as a domain account.
I get the error:
"Product: <Product> -- Error 1920.Service <Product> (<Product>) failed to start. Verify that you have sufficient privileges to start system services."
The account have "Log on as a service"-permissions from GPO and in ServiceInstall table i simply added DOMAIN\USERNAME in StartName field and ofc the right password. Works great with local admin account! not in system context!
Why oh why!?
Please help me, do you need more info just ask!!
// Bartoooo
Answers (1)
Please clarify the followings
Problem 1:
Did you add them under ALLUSERSPROFILE?
Problem 2:
Are you hardcoding the DOMAIN\USERNAME in ServiceInstall table?
Comments:
-
Problem 1:
I added the shortcut to the ProgramMenuFolder! So i googled and found this:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370882(v=vs.85).aspx
As you said, the ALLUSERS property was not set, Thanks! Works now!
Problem 2:
It was the GPO that was messing with me, i am working in a virutal environment and for some reason the GPO that add the service account to the "Log on as service"-GPO was for some reason not working. In Gpedit all i could see was two GUID. So i rebooted the computer and then the real names popped up and now it works :)
Thanks for your help! - Bartoooo 12 years ago