Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Previous installation had uninstall issue

Updated: 21 May 2010 | 4 comments
JeffHu's picture
0 0 Votes
Login to vote

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.

discussion Filed Under:

Comments

AngelD's picture
17
Dec
2008
0 Votes 0
Login to vote

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.

JeffHu's picture
18
Dec
2008
0 Votes 0
Login to vote

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.

AngelD's picture
18
Dec
2008
0 Votes 0
Login to vote

Is this a Custom Action Type 18?

Could you post the CustomAction table entry for this CA.

EdT's picture
18
Dec
2008
0 Votes 0
Login to vote

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.