Is the registry value containing the version number the keypath if its
component?

-----Original Message-----
From: Ana Martic [mailto:t-anm...@microsoft.com] 
Sent: Monday, December 07, 2009 7:31 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with removing registry key containing version
info and not removing an assembly while doing a major upgrade

Hi,

While creating an installer that should do a major upgrade I firstly faced
the problem that the registry key containing a version number (of the
previous version) doesn't get removed.
In order to make it possible that the installer of the upgrade removes it I
changed the GUID of the component containing that registry key.
I experienced that the component with the new GUID gets installed only if I
schedule "RemoveExistingProducts" after InstallInitialize. But in order not
to remove an assembly from GAC I have to schedule it after InstallFinalize.

Can I find some work around for this problem so that I remove the registry
key and keep the assembly?

Thanks

----------------------------------------------------------------------------
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to