How can I stop REINSTALL via a custom action
hi guys,
I want to stop my MSI from reinstalling from within a custom action.
So, I will set the condition on the CA to REINSTALL="ALL". does anyone have some vbscript code that kills the repair and closes the msi window?
I want to stop my MSI from reinstalling from within a custom action.
So, I will set the condition on the CA to REINSTALL="ALL". does anyone have some vbscript code that kills the repair and closes the msi window?
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
Posted by:
AngelD
15 years ago
I would agree Ian why one would want to do that.
You should be able to add a LaunchCondition (table) with a condition to prevent the reinstall.
During reinstall the REINSTALL property will be used but have in mind it will also be used during patch installation so adding NOT PATCH would remove that issue. During a repair well the REINSTALL property comes in place too so you would need to think twise how the condition should look like.
You should be able to add a LaunchCondition (table) with a condition to prevent the reinstall.
During reinstall the REINSTALL property will be used but have in mind it will also be used during patch installation so adding NOT PATCH would remove that issue. During a repair well the REINSTALL property comes in place too so you would need to think twise how the condition should look like.
Posted by:
frodo
15 years ago
hi guys,
thx for your feedback.
I agree with you both 100%, however I am told i have to do it! ridiculous i know.
so, I had added a launch condition entry: - REINSTALL="ALL" as the condition. However this runs on install aswell, which makes no sense whatsoever.
What are the steps\code to create a type 19 custom action?
thx for your feedback.
I agree with you both 100%, however I am told i have to do it! ridiculous i know.
so, I had added a launch condition entry: - REINSTALL="ALL" as the condition. However this runs on install aswell, which makes no sense whatsoever.
What are the steps\code to create a type 19 custom action?
Posted by:
frodo
15 years ago
Posted by:
AngelD
15 years ago
Posted by:
jmcfadyen
15 years ago
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.