Hi,

I'm currently trying to fix remaining issues in our WiX-based installer.

The current issue I'm trying to fix is WiX/MSI behavior when upgrading an
installation. Upgrading mostly does an uninstallation of the previous
version and installs the new version.

This automatically means that shortcuts of the old version are deleted and
new shortcuts installed. This process has two issues:

1. If the user has pinned an application to the task bar, the
deinstallation will result in a broken shortcut in the task bar.
2. The position of desktop shortcuts is lost because the desktop shortcut
is deleted and a new one is installed. (I don't use desktop shortcuts yet.)

I've tried some hacks/workarounds found on the internet. None of them
worked for me.

Last change I tried is using <MajorUpgrade RemoveFeatures="Core" ... />,
with 'Core' describing all features except the shortcuts. This basically
worked, pinned shortcuts still worked. However, there is the ugly side
effect that the old version is still registered under "Programs &
Features", probably because I told to keep the shortcuts.

How do you handle this issue?
Is there a way to migrate the old version "Shortcuts" to the newer version
"Shortcuts"?
Is there some diff method, so MSI detects that the upgrade will basically
setup the same shortcuts so that it won't remove them in the first place.

Thanks for any pointers and cheers,
Tobias
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to