Previous installation had uninstall issue
I have an installation that I would like to use to upgrade from a previous installation. The problem I am running into is that the previous installation was poorly created and tested by the previous Engineers and throws up an error message of 1721 when you attempt to uninstall it. I know what the problem is, it seems that a CA is attempting to run a file after all the files have been removed. Fixing the problem in the installation is not an issue.
My problem is that this product has already been released. Now I need to create an update for it. However, when I attempt to upgrade the product, the error message will appear during the RemoveExistingProducts Action. I cannot seem to figure out how to resolve this issue or if there is even a resolution. This error message does nothing, so if I can even just make it silent, that would solve my problem. However, I have not found a way to make RemoveExistingProducts run silent with no error dialogs.
Any help would be appreciated. Thanks.
Comments
Depending on how you distribute your packages you could either update the cached MSI or overwrite the cached transformed if used with an updated one prior to distributing this new version.
Outside of accessing the current cached MSI, is there anything I can do on the current package to suppress this error?
My other thought is to not do the automated uninstall and manually uninstall everything, however my problem is that the entry in ARP is still there and I still do not know how to remove that entry manually. If I can pass that hurdle, it could be a varible work-around.
Is this a Custom Action Type 18?
Could you post the CustomAction table entry for this CA.
Entry in ARP is based on registry keys at:
HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall/<product code>/<various entries>
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.