Uninstallation Script- Wise Installation Studio
Updated: 21 May 2010 | 5 comments
Hi,
Can we script in Wise Installation Studio to uninstall the product which will clear all the application related contents along with the files created during application runtime.
It would be great if the uninstallation process invokes an assembly which contains a method to override Uninstall class.
Thanks in advance.
Discussion Filed Under:
Comments
Yes
Wise Installation Studio can be used to create uninstalls which clear all application related contents along with the files created during application runtime.
I don't understand:
"It would be great if the uninstallation process invokes an assembly which contains a method to override Uninstall class."
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Can we invoke an assembly
Can we invoke an assembly during uninstallation which has a method to override Uninstall class. Is there any custom action to do the same.
You will need to write your own custom action
There is no pre-existing custom action to invoke an assembly during uninstall.
However, if you can perform this process from a command line, then you should be able to write a custom action to do exactly the same job.
Then all you need to do, is to add a condition on the custom action of: REMOVE="ALL"
and this will ensure that the custom action runs only on uninstall. Ensure that the condition is written entirely in upper case.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Need some clarifications
EdT,
Thanks for your comments.
Is REMOVE="ALL" the point of invocation, to call an assembly during uninstallation. And should we script this in "Execute Immediate". Please help me on this. Thanks.
Uninstall condition: REMOVE="ALL"
Yes, use that condition when you want something to be executed during removal, what this means is that the condition will resolve to true if all features are to be removed during uninstall.
Any custom action making changes to the system should be executed in deferred sequence under the System context.
Would you like to reply?
Login or Register to post your comment.