What is the proper way to use Remove Assemblies?
Posted: Thu May 22, 2008 9:21 am
If at uninstall time I want to remove any unpinned assemblies that my installer placed in the GAC, what is the preferred means? Do I just add the command immediately after "Apply Uninstall", or should I check the value of the SUCCESS variable before running the command?
Should I do this
or is this enough?
Should I do this
Code: Select all
Apply Uninstall (get result into variable SUCCESS)
if Variable SUCCESS not Equals ERROR
if Variable SUCCESS not Equals CANCEL
Remove Unpinned Assemblies
end
end
Code: Select all
Apply Uninstall (get result into variable SUCCESS)
Remove Unpinned Assemblies