cxf
Posts: 7
Joined: Fri Sep 16, 2022 10:14 am

Uninstallation is not possible when uninstalling [shortcut]

Fri Sep 16, 2022 10:19 am

When I uninstall the installation package, there are two situations: 1. The [Shortcut] of the desktop cannot be uninstalled; 2. The [Shortcut] of the desktop can be uninstalled, but the shortcut of the program still exists in [Control Panel - Uninstaller] .
Attachments
图片1.png
图片1.png (117.44KiB)Viewed 6450 times

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Uninstallation is not possible when uninstalling [shortcut]

Mon Sep 19, 2022 8:00 am

Hello and welcome to our forums,

I'm not sure why this is happening.

In order for us to further investigate this, can you please forward to us by email to support at advancedinstaller dot com the following resources:

1. the .AIP (setup project) file
2. a download link for your setup package

Looking forward to hearing from you.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

cxf
Posts: 7
Joined: Fri Sep 16, 2022 10:14 am

Re: Uninstallation is not possible when uninstalling [shortcut]

Mon Sep 19, 2022 9:44 am

My program exceeds 90M, and the upload fails.
Attachments
TBox.aip.zip
(20.75KiB)Downloaded 172 times

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Uninstallation is not possible when uninstalling [shortcut]

Tue Sep 20, 2022 9:51 am

Hello,

Thank you for your project.

Please note that I'm not able to reproduce this when I build your project with a debug version.

The application is succesfully removed from the Control Panel and also the shortcut is removed from the desktop.

As I can see from your screenshots, you have side by side installations. Are you able to reproduce this issue on a clean machine?

Most likely, your products have shared components. Please have a look on our Why files are left behind after package uninstall? article.

Basically, this means that your files are somehow shared between multiple setups.

I believe your setup will work as expected on a clean machine.

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

cxf
Posts: 7
Joined: Fri Sep 16, 2022 10:14 am

Re: Uninstallation is not possible when uninstalling [shortcut]

Wed Sep 21, 2022 4:09 am

I did not find the corresponding [The packed GUID]
Attachments
WechatIMG138.png
WechatIMG138.png (79.6KiB)Viewed 6374 times

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Uninstallation is not possible when uninstalling [shortcut]

Wed Sep 21, 2022 2:47 pm

Hello,
I did not find the corresponding [The packed GUID]
I'm sorry but I am not quite sure I fully understand the issue here.

If possible, could you please give me some more details?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

cxf
Posts: 7
Joined: Fri Sep 16, 2022 10:14 am

Re: Uninstallation is not possible when uninstalling [shortcut]

Thu Sep 22, 2022 8:20 am

https://www.advancedinstaller.com/user- ... uestion240

This post mentions that Product Code needs to be changed. After I changed it, I could not find the new GUID in the [HKEY_CLASSES_ROOT\Installer\Components] directory.
Attachments
WX20220922-152031@2x.png
WX20220922-152031@2x.png (202.3KiB)Viewed 6344 times

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Uninstallation is not possible when uninstalling [shortcut]

Fri Sep 23, 2022 7:53 am

Hello,

As mentioned in our article, the new GUID is manually modified for the components which are shared between multiple setups.
A packed GUID can be obtained by applying a transform to a standard GUID. This transform performs the following operations:
  • removes the curly braces and separating dashes from a standard GUID
  • writes each group of the first three groups of hexadecimals characters in a standard GUID in reverse order
  • switches every two characters in the fourth and fifth group in a standard GUID

Have you tested your setup on a clean machine as I said? This issue may happen only on your machine where you have multiple installations side by side.

Also, please note that you can click on the Change Product Code and component's GUIDS option in the Upgrades page. By clicking on this hyperlink you can change the Product Code of the package and the GUIDS of all its components.

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

cxf
Posts: 7
Joined: Fri Sep 16, 2022 10:14 am

Re: Uninstallation is not possible when uninstalling [shortcut]

Tue Sep 27, 2022 7:24 am

According to the normal software uninstallation logic: after selecting [Uninstall], first delete the shortcut on the desktop, and then delete the [DLL] dynamic library.

However, the situation on our side is: after selecting [Uninstall], only the [DLL] dynamic library is deleted, and the shortcut on the desktop has no relevant operation traces.

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Uninstallation is not possible when uninstalling [shortcut]

Tue Sep 27, 2022 3:26 pm

Hello,

Please check my previous replies. As I said before, I cannot reproduce this issue using your project. Most likely, this problem only happens on your computer because you have multiple installations side by side (and possibly a corrupt old installation).

Once again, have you tested your setup on a clean machine as I said?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”