How to run a custom action only during Uninstall?
Hi,
I need to run a custom action only during uninstall? Can anyone pls tell me the sequencing steps to perform the custom action?
I need to run a custom action only during uninstall? Can anyone pls tell me the sequencing steps to perform the custom action?
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
captain_planet
15 years ago
Posted by:
cygan
15 years ago
Posted by:
cygan
15 years ago
ORIGINAL: captain_planet
"condition your CA with  Installed " - this is incorrect as it will run on repair too. AngelD's condition is better suited. And as to where the custom action is sequenced largely depends on what the custom action actually does.....
What condition to use for my custom action to run only during uninstall?
remove=all
How do I make a custom action only occur during uninstall?
the answer that I gave using the CA
as you can see we are all prone to human error
if your CA depends on remove=all then I guess it must be sequenced after installvalidate
Posted by:
Scazy
15 years ago
Posted by:
jinxngoblins
15 years ago
Posted by:
captain_planet
15 years ago
"What condition to use for my custom action to run only during uninstall?
remove=all"
Cygan - I realise we all make mistakes, i do too! But you should use the tilda (~) in this condition because it does a non-case-sensitive text comparison which I believe is more reliable. Also, it's highly important that the word 'remove' is in upper case ('REMOVE')
"if you want that it works during repairing as well then
NOT &your_feature_name=2" - This is incorrect, too. I think what you're essentially saying here is 'run me any time except for uninstall' (For eg, on install too!).
remove=all"
Cygan - I realise we all make mistakes, i do too! But you should use the tilda (~) in this condition because it does a non-case-sensitive text comparison which I believe is more reliable. Also, it's highly important that the word 'remove' is in upper case ('REMOVE')
"if you want that it works during repairing as well then
NOT &your_feature_name=2" - This is incorrect, too. I think what you're essentially saying here is 'run me any time except for uninstall' (For eg, on install too!).
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.