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!
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)
Please log in to answer
Posted by:
AB
17 years ago
Posted by:
deploy.no
17 years ago
Posted by:
jmcfadyen
17 years ago
Posted by:
deploy.no
17 years ago
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?
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
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.
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.
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.