tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Duplicating application name in Program and features

Hello guys,

I've encountered problem when upgrade creates duplicate entry in Programs and features.

I was able to reproduce this problem. Please find attached logs, project file, etc.

But, it seems to be problem of combination Enhanced UI set to "Always" and upgrade method "Install new version first and then uninstall old version".

I'm using version 10.6.3

This problem was reproduced on Windows 7, but same behavior was seen on other versions of windows including server(s).

Is there anything I can do to fix this behavior?

Best Regards,

Tomas Maruska
Attachments
Your Application.zip
(3.36 KiB) Downloaded 294 times
addremove.PNG
addremove.PNG (41.94 KiB) Viewed 6427 times
logs.zip
(57.5 KiB) Downloaded 332 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Duplicating application name in Program and features

Hi Tomas,

I'm not sure why you encountered this behaviour.
In order to have a better view about this, can you please attach the .AIP (project file) as well? Also, can you please test this on a clean machine and see if the behaviour still persist?

In order to check why an upgrade is not performed, you can also take a look on the Check why an upgrade is not performed article with related information for hints and guidance.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Re: Duplicating application name in Program and features

Hi Dan,

Yes, sure. I thought that I have attached also project file... Fixed.
You can also download builded setups: https://onedrive.live.com/redir?resid=E ... lder%2cexe

Well, I tried it on clean Windows 7 x32 machine yesterday.

Regards,

Tomas Maruska
Attachments
Your Application.zip
(3.36 KiB) Downloaded 336 times
tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Re: Duplicating application name in Program and features

Hi Dan,

Anything new about this issue?

Regards,

Tomas
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Duplicating application name in Program and features

Hi Tomas,

First of all I apologize for my delay reply.
In the installation log of your second package (called upgrade.log), you can find the following lines:

Code: Select all

MSI (s) (50:C8) [10:39:25:620]: Disallowing uninstallation of component: {B591FB70-B0B2-420D-BF46-734973FDEA0A} since another client exists
MSI (s) (50:C8) [10:39:25:620]: Disallowing uninstallation of component: {51354FBA-DDDC-4947-A49C-A9B4DD15CA6F} since another client exists
MSI (s) (50:C8) [10:39:25:620]: Disallowing uninstallation of component: {3F6498BA-4D7C-4BCE-92EC-E8D81339B980} since another client exists
MSI (s) (50:C8) [10:39:25:620]: Disallowing uninstallation of component: {8273AEF3-A17D-4478-9D9A-8FD373D8C3C1} since another client exists
This is the reason why the previous version persist in the Control and Panel list.
Basically, the same components are shared between multiple packages installed on the same machine. Windows Installer keeps a refcount for the components and does allow removing them until all the applications that use them are removed.

Please take a look on the Record left behind in "Control Panel - Programs" forum thread which debates this problem.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Re: Duplicating application name in Program and features

Hi Dan,

So, according to thread you gave me, this behavior was fixed in version 12.3.

Thanks

Best Regards,

Tomas Maruska

Return to “Common Problems”