/build/static/layout/Breadcrumb_cap_w.png

property for repair mode

hi all,

can someone tell me what is the property, when creating a custom action, to insure that this CA will be executed on a repair?

so far i have tried the following without success;

Installed OR (NOT REMOVE)
NOT REMOVE
(NOT REMOVE) OR REINSTALL

thanks!

0 Comments   [ + ] Show comments

Answers (7)

Posted by: AB 17 years ago
Purple Belt
2
If REINSTALL then...
Only runs the CA if a repair is called - i.e. it won't run on install or uninstall
Regards,
Al
Posted by: deploy.no 17 years ago
Orange Belt
0
You almost got it!

If you try searching for "repair custom action condition" on this very board that should get you even closer ;)

The correct term is "condition", not "property" .. might be what put you off track.
Posted by: AngelD 17 years ago
Red Belt
0
Try a condition as: Installed And NOT REMOVE~="ALL"
Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
maybe slightly off topic but I figured I would throw it in anyway.

you can also use session.mode to obtain the current installation context.
Posted by: deploy.no 17 years ago
Orange Belt
0
From my experience both AngelD and ABs conditions will work.

However, I seem to remember that there was a reason that the first suggestion is the best one. I don't exactly remember why, though. Is the REINSTALL property also available when a repair runs in regular user context - not elevated?

Anyone know?
Posted by: AngelD 17 years ago
Red Belt
0
If the product is repaired or a patch is installed or uninstalled the REINSTALL property will be set.
To ensure that the Custom Action will only be executed during repair you would need to use REINSTALL AND NOT PATCH, so in this case the custom action will only be executed during a repair and not when a patch is installed nor uninstalled.
Posted by: deploy.no 17 years ago
Orange Belt
0
Thanks AngelD, this is one for my collection o' posts :->
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