cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Gloria_Glickley
Level 3

Does custom rule work on uninstaller?

I need to check rule to prevent non-Administrator (or Root) user run Uninstaller. I have a custom code rule already works on the installer but cannot make it work on uninstaller. So I wonder the custom rule ever work on Uninstaller at all?

Would Project | Rules | Installer Rules affect Uninstaller? Or Is the setting only affect Installation tasks?

Thanks.
Labels (1)
0 Kudos
(1) Reply
3X-Man
Level 6

Hi Gloria,

Personally I've decided not to use Rule because the behavior is quite strange. It is sometime called twice, you do not have control on it, the log is not possible...

So I prefer using a CustomCodeAction that set a variable and make a rule on the action or an Action Group based on the value of this variable.

I haven't checked if this work on uninstall. I would expect it does.

HTH,

X.
0 Kudos