Active Setup asks for Admin rights
Hey guys
I need to deploy Adobe Photoshop Elements 5 in our shop where all users are PowerUsers only. To install the app I use a different admin User. So far so good.
To be able to deploy a few settings, I wanted to use Active Setup so the newly logged on user gets the repair (and I always thought that in Active Setup one has Admin rights).
However during Active Setup the Repair stops and says that you need admin rights. I checked the MSI and the AdminUser condition is in the LaunchCondition table.
What can I do now? Should I remove the LaunchCondition? Can I elevate the rights during Active Setup?
Thanks for your ideas.
Cheers
Roland
I need to deploy Adobe Photoshop Elements 5 in our shop where all users are PowerUsers only. To install the app I use a different admin User. So far so good.
To be able to deploy a few settings, I wanted to use Active Setup so the newly logged on user gets the repair (and I always thought that in Active Setup one has Admin rights).
However during Active Setup the Repair stops and says that you need admin rights. I checked the MSI and the AdminUser condition is in the LaunchCondition table.
What can I do now? Should I remove the LaunchCondition? Can I elevate the rights during Active Setup?
Thanks for your ideas.
Cheers
Roland
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
spartacus
17 years ago
Posted by:
aogilmor
17 years ago
Posted by:
Tone
17 years ago
Posted by:
spartacus
17 years ago
Posted by:
WayneB
17 years ago
Posted by:
fosteky
17 years ago
The following is a guess:
I think Active Setup runs the stubpath in the user's context, but with temporarily elevated rights (that's its whole point I think). Anyway, the MSI's Launchcondition will just check if the user effectively belongs to the local admin group - which it wont - thus the failure. But Active Setup achieves elevated rights for the user some other way. So just remove the Launchcondition.
For instance, if you wrote a VBscript that did the following three things:
1) copied a new file to Program Files
2) reported current user credential
3) reported all members of Local Administrators group
and ran it using an Active Setup stubpath and logged in with a basic user account I suspect you would get the following:
1) it would copy to Program Files
2) it would accurately report the user's credentials
3) you would see that that credential wasn't in the local admin group (directly or nested)
I think Active Setup runs the stubpath in the user's context, but with temporarily elevated rights (that's its whole point I think). Anyway, the MSI's Launchcondition will just check if the user effectively belongs to the local admin group - which it wont - thus the failure. But Active Setup achieves elevated rights for the user some other way. So just remove the Launchcondition.
For instance, if you wrote a VBscript that did the following three things:
1) copied a new file to Program Files
2) reported current user credential
3) reported all members of Local Administrators group
and ran it using an Active Setup stubpath and logged in with a basic user account I suspect you would get the following:
1) it would copy to Program Files
2) it would accurately report the user's credentials
3) you would see that that credential wasn't in the local admin group (directly or nested)
Posted by:
rpfenninger
17 years ago
Thank you all guys.
I hope I can clarify a few things:
Spartacus, I couldn't find the time yet to try the modified LaunchCondition as you told me to do. I hope I will find the time next week...
aogilmor, yes the settings that I try to deploy with ActiveSetup are user settings only.
I use the following command line to achieve this: msiexec /fup {ProductCode}
WayneB, that's what I thought too. However, if we log in as a PowerUser, the installation triggered through ActiveSetup aborts with the message that one needs admin rights [:(]
We install this package (the original with a custom transform) with ZENworks for Desktops 4 using an install user with AdminRights (so it definitely is a per-machine installation) however the user can't even repair it %*#!$
I haven't logged the installation so far as the message seems pretty clear.
Ok, I will definitely start with modifying the LaunchCondition and come back to the forum.
Thanks a lot!
I hope I can clarify a few things:
Spartacus, I couldn't find the time yet to try the modified LaunchCondition as you told me to do. I hope I will find the time next week...
aogilmor, yes the settings that I try to deploy with ActiveSetup are user settings only.
I use the following command line to achieve this: msiexec /fup {ProductCode}
WayneB, that's what I thought too. However, if we log in as a PowerUser, the installation triggered through ActiveSetup aborts with the message that one needs admin rights [:(]
We install this package (the original with a custom transform) with ZENworks for Desktops 4 using an install user with AdminRights (so it definitely is a per-machine installation) however the user can't even repair it %*#!$
I haven't logged the installation so far as the message seems pretty clear.
Ok, I will definitely start with modifying the LaunchCondition and come back to the forum.
Thanks a lot!
Posted by:
jmcfadyen
17 years ago
active setup does run in user context for those that want to know.
users are allowed to run MSI's even when policy prohibits it if the MSI has been preinstalled. The user will however still need rights to any areas the MSI will write to.
as for the launch conditions you should remove AdminUser on all MSI's destined for enterprise deployment or at least swap them out for PriviledgedUser
users are allowed to run MSI's even when policy prohibits it if the MSI has been preinstalled. The user will however still need rights to any areas the MSI will write to.
as for the launch conditions you should remove AdminUser on all MSI's destined for enterprise deployment or at least swap them out for PriviledgedUser
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.