[wix-users] Orphaned icons on uninstall
Jacob.Hoover at greenheck.com
Wed Sep 9 17:52:27 PDT 2020
HKCU... Is this a per user install or per machine? If per machine, I always write to HKMU.
Comments from my authoring contain:
Note, I have disabled ICE57, as I am using HKMU registry resources for the shortcuts. Windows Installer complains
about per-user data and a keypath that can be per-user or per-machine.
There are numerous complaints about ICE57, the even from Rob M himself saying they neglected to take the
ALLUSERS property into account when creating it. While I could replace HKMU with HKCU and avoid the ICE57,
it would then leave behind these registry fragments if user A did the install but user B did the uninstall.
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Todd Hoatson via wix-users
Sent: Wednesday, September 9, 2020 5:03 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Todd Hoatson <todd.hoatson at gmail.com>
Subject: [wix-users] Orphaned icons on uninstall
When I uninstall our application, everything seems to go well, except that
the application icon is left behind on the desktop and the application
folder is left behind with a single (icon) file in it. If I double-click
on the desktop icon, I get a message that the program can't be found, and
I'm asked if I want to the remove the unusable icon.
This also happens if the application is uninstalled in the process of
installing a new version which updates the icon.
I'm not really sure if this is one problem or two, but they seem related...
At some point in the past, I'm sure the desktop icon was removed on
uninstall, and I'm not sure when this problem began happening...
Here is a snippet of code for the shortcut:
<Directory Id="DesktopFolder" Name="Desktop">
<Component Id="ApplicationShortcutDesktop" Guid="*">
Description=" OurApp 9 "
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
I'm stumped as to what would cause this... Anyone seen something like this
before? Any ideas what I should be looking for...?
Not sure if this is also related, but the entry for OurApp 9 is sometimes
left behind in the Apps and Features list after uninstalling. But if I try
to uninstall it again, it simply disappears without really doing anything.
Not sure what we might have changed to cause this...
Email: todd.hoatson at gmail.com<mailto:todd.hoatson at gmail.com>
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
More information about the wix-users