Desktop icon is not getting deleted during the uninstall - Advanced Installer Community
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Desktop icon is not getting deleted during the uninstall

Hi,

I have a setup, which creates desktop icon(and application shortcut folder). These do not get removed during the uninstall.

Steps to reproduce
1) extract the zip(I have sample in which I have removed unnecessary code)
2) Open the .aip file
3) Build media "TELES_BUILD"
4) run the setup, which creates the desktop shortcut(DesktopControl), and application shortcut
5) Uninstall
6) Now, you could see the shortcuts

Regards,
Rohan
Attachments
UCSoftphone.zip
(285.15 KiB) Downloaded 536 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Desktop icon is not getting deleted during the uninstall

Hi Rohan,

I tested the steps you described, but I couldn't reproduce the problem. The shortcut was removed correctly on my machine. Can you reproduce the behavior on multiple clean machines?

Please keep in mind that as long as you have multiple builds in your package and this shortcut (and its related component) is used in all the builds, it will be shared between these builds. So, if you install two or more builds on the same machine, the shortcut will not be deleted until all the builds will be uninstalled.

I'm not sure if you have more builds installed on the machine, but installing and uninstalling packages that share the same components may lead to such problems because unnecessary information can be left in the registry. That is why we recommend testing in clean virtual machines.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Desktop icon is not getting deleted during the uninstall

Hi,

I have tried this on the following
- On Windows XP(with SP3) - I could reproduce this problem
- On Windows 8.1 - it works fine

Can you please try this on Windows XP?

Regards,
Rohan
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Desktop icon is not getting deleted during the uninstall

Hi Rohan,

I tested this problem and the modify problem on two Windows XP (SP2 and SP3) clean machine and neither of them was reproducible. Please make sure that the machines you tested your package on are clean.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Desktop icon is not getting deleted during the uninstall

Hi Eusebiu,

I have tried this on a fresh machine, everything works fine.

But in my development machine, I get this problem.

I did the following in my development machine
1) Uninstalled the product
2) Deleted the shortcuts(manually)
3) Installed the product
4) Uninstalled the product.
Now, I could see the desktop shortcuts.

Is there anyway to find out the cause of the problem(i.e by looking at the logs or something similiar)?

Regards,
Rohan
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Desktop icon is not getting deleted during the uninstall

Hi Rohan,

Indeed, as I mentioned in my first post, unnecessary information might have been left in the registry on your development machine and that is why some files are not uninstalled.

A way to find which information was left, is to create a verbose log of the uninstallation and search for the "Disallowing uninstallation of component: {GUID} since another client exists" message.

Then you can go in the registry, search for that GUID and remove all the keys and values that have that GUID. Also, before these actions, it is recommended that you uninstall all the builds that are installed on your machine and that were created with the AIP file that you sent to me.

If you need my help, you can send me the created verbose log, so I can investigate it.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Desktop icon is not getting deleted during the uninstall

Hi Eusebiu,

In the verbose uninstall log, I got the following entries
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {DB70958A-3653-490E-AA9D-883282E6D05A} since another client exists
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {064B0B59-D9A9-4957-8E62-96313B6347CC} since another client exists
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {DA4C2F89-6DA9-4DBD-A33B-A5102CC164EA} since another client exists
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {4444FF3E-5C7E-49C5-A8D9-51FD3A91485A} since another client exists
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {D7518971-538C-4E47-A870-EE684E719EC3} since another client exists
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {F8C1FD88-9B11-45E9-ABB3-3321B8926A73} since another client exists
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {3588221A-DD63-4ED6-9439-9F2392B9999C} since another client exists
MSI (s) (74:30) [14:33:31:924]: Disallowing uninstallation of component: {7BC90F67-4DB6-403C-A18B-2EC733CA3439} since another client exists

But, I could not see these in the registry(e.g. DB70958A-3653-490E-AA9D-883282E6D05A), Are these need stored in some other format(like encrypted)

Note: When searching in the registry I searched in keys, values,data
example.log
(228.62 KiB) Downloaded 443 times
Regards,
Rohan
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Desktop icon is not getting deleted during the uninstall

Hi Rohan,

Indeed, I forgot to mention that the GUIDs are encrypted as detailed in the Packed GUID's article.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Desktop icon is not getting deleted during the uninstall

Thanks :-). It worked after removing these guids
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Desktop icon is not getting deleted during the uninstall

You're welcome Rohan. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”