/build/static/layout/Breadcrumb_cap_w.png

Conditioning Actions for AdminUser or Repair?

Hi there,

I'm testing my install on a Windows 7 machine and we do require admin rights to install. With that, there is no problem.

Now, when a standard user log in, some User registry keys and the like have to be 'repaired' or placed for that user. During this repair, I'm getting two Custom Action errors that I think are related to rights (both run in system context). During a repair, I don't really need these actions to run.

What I was thinking of doing for these Deferred Custom actions if certain properties are available... If possible could I condition with NOT REINSTALL or do I have access to AdminUser or Privileged. If so, which is the better method.

Or, if there is something better, please let me know.

Thanks!

0 Comments   [ + ] Show comments

Answers (6)

Posted by: mekaywe 14 years ago
Brown Belt
0
You can use the condition "Not Installed " OR change the CA setting to run in "User Context" and try
Posted by: anonymous_9363 14 years ago
Red Belt
0
Changing the CA's context to user probably won't help since the OP states that the CAs are setting permissions, something which ordinary users probably (hopefully!) won't have sufficient privileges to do. Nor will that change affect whether or not the CAs get run during a repair.

"NOT Installed" is the condition to use. Note that the case for the word 'Installed' is important. "NOT INSTALLED" or "NOT installed" will be ignored.
Posted by: cygan 14 years ago
Fifth Degree Brown Belt
0
ORIGINAL: mekaywe

You can use the condition "Not Installed " OR change the CA setting to run in "User Context" and try



hope you are not getting confused with running a CA in user context which basically means running your CA with the same rights as a standard user
a standard user has no rights to set permissions

running a CA in system context will be run with elevated privileges
Posted by: mekaywe 14 years ago
Brown Belt
0
No where its mentioned that those CA will set permissions
Posted by: anonymous_9363 14 years ago
Red Belt
0
Not explicitly, but implied:I'm getting two Custom Action errors that I think are related to rights (both run in system context)
Posted by: Superfreak3 14 years ago
2nd Degree Black Belt
0
Currently the condition I've tested and seems to work is...

NOT REMOVE~="ALL" AND NOT REINSTALL.

Can I replace that whole thing with NOT Installed or just the NOT REINSTALL portion.

Also, I see that this action is wrapped in a larger NOT PATCH block. Can I remove the action in question from that block and simply condition with NOT Installed? I guess the question is will and action conditioned with NOT Installed run during a patch?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ