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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You can use the condition "Not Installed " OR change the CA setting to run in "User Context" and try
Answered 03/05/2010 by: mekaywe
Brown Belt

Please log in to comment
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.
Answered 03/05/2010 by: VBScab
Red Belt

Please log in to comment
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
Answered 03/05/2010 by: cygan
Fifth Degree Brown Belt

Please log in to comment
0
No where its mentioned that those CA will set permissions
Answered 03/05/2010 by: mekaywe
Brown Belt

Please log in to comment
0
Not explicitly, but implied:I'm getting two Custom Action errors that I think are related to rights (both run in system context)
Answered 03/05/2010 by: VBScab
Red Belt

Please log in to comment
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?
Answered 03/05/2010 by: Superfreak3
Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity