Hi,

There is  http://support.microsoft.com/kb/905238 a knowledge base article  
(mentioned also on the WiX Documentation) that describes the case of an
assembly from GAC missing after a major upgrade. One of the solutions was to
schedule *RemoveExistingProducts *action to occur after the *InstallFinalize
*action. 

However, after the following test the assembly was still in GAC.

The test:
Using WiX 3.6, created a new setup project, with version 1.0.0.0 and
*MajorUpgrade *element default, containing a dll to install into GAC. 
Install this small setup. Windows Installer 5.0
Create version 2.0.0.0, change Product Id (*ProductCode*) and leave the
*MajorUpgrade *element default. The assembly for GAC remained the same.
Checked with Orca and *RemoveExistingProducts *was scheduled after
*InstallValidate *
Do a major upgrade.
The assembly remained in GAC.
In the log file there is something like:



Does that line from the log mean that the knowledge base article doesn't
apply anymore ?

Did I miss something and the *RemoveExistingProducts * action still needs to
be scheduled after *InstallFinalize *action so that the assemblies from GAC
are not removed after a major upgrade ?


Thanks,
Cristian

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RemoveExistingProducts-after-the-InstallFinalize-action-still-needed-so-that-Major-Upgrades-don-t-re-tp7137858p7137858.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to