clint
Posts: 139
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Problem uninstalling my app

Hello,
Using A! 19.3
- I have three different scenarios in my setup which the user can choose from.
- I have a custom action to register and MyServer.Exe using \regserver

-The MyServer.Exe file is only installed for 2 of the 3 scenarios, and not the 3rd.

However, I forgot to use a condition on the custom action to only call \unregserver on the file if scenerio 1 or 2 are used.

Now, when uninstalling, the error comes "The file 'MyServer.Exe ' is not marked for the installation"

I tried creating a new produkt, using the condition, but MSExec uses the cached Msi.
If I swap this cached msi out with the corrected one (renaming it to the expected name as the cached msi), the app uninstalls alright.

But, I cannot expect customers to do this also.

How can I otherwise get the system to Uninstall my app?

Thank you in advance!

Best regards,
Clint
clint
Posts: 139
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Problem uninstalling my app

If I swap this cached msi out with the corrected one (renaming it to the expected name as the cached msi), the app uninstalls alright.
Well, the 2nd time around this failed also. It seems Windows is getting a cached msi from somewhere else other that c:\windows\installers\
clint
Posts: 139
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Problem uninstalling my app

Ok. We used the Advanced Uninstaller 13 and the error message came, but it did uninstall the application.

Thank you for the tool.

Best regards,
clint
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Problem uninstalling my app

Hello Clint,

Thank you for your followup on this.

I am glad to hear you managed to find a solution for this.

Please note, however, that Advanced Uninstaller (despite the name) is not our tool. :D

The solution I would have offered here would have been to try and recache the MSI, using the approach explained here:

Recache MST

Let me know if there is anything else I can help you with and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”