Skylla
Posts: 17
Joined: Thu Jan 24, 2013 1:44 pm

Disallowing uninstallation of component

Hello

Some how I managed to get this error after modifying an existing project. The log from the unistall shows:
Disallowing uninstallation of component: {X} since another client exists
Disallowing uninstallation of component: {Y} since another client exists
Disallowing uninstallation of ... etc ...

After the uninstallation process the app is not uninstalled and is still visible from the control panel.
However i'm no longer able to start the uninstall process. Instead I get a warning that the action is not valid since the application is not installed.

I get that this has something to do with two installations depending on the same component, but how do I clean this up?

I deleted the uninstall entries in registry for the application and deleted the files manually.
I also searched the registry for any mentioning of the component UID mentioned in the logs but I found nothing.

I tried reinstalling which went fine, but uninstalling is still unsuccessful with the same
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disallowing uninstallation of component

Hello,

You are encountering this if the related components are also used by other product installations. This may happen when you are using the same project (or copies) to create different installation packages.

Please keep in mind that when you copy the .aip (project file) and reuse it to build another installer package all the GUIDs for product, components,etc. in the two projects will be identical and thus will conflict if you install it on same machine. So, if you want to reuse an existing .aip file to build another installation package you should use our "Save As Template..." option.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”