SharedDllRefCount once is set to "yes", you should not change it ever. The reason of course, you have dll out on the customer site using the older version that will have conflicting issue.
You can set it to "no", but you need to write a custom action that will set the SharedDllRefCount to 1 as a default. Then you will not have issue later. On Thu, Aug 15, 2013 at 6:43 AM, Parkes, Kevin <kevin.par...@wacom.eu>wrote: > I am replacing a (very) old Visual Studio installer project with WiX. > > I've copied the UpgradeCode from the old installer and have remove > existing products scheduled after install validate but I am seeing slightly > odd behaviour if I upgrade from old to new and subsequently uninstall: some > DLLs are not being removed. If I manually uninstall the old version before > installing the new one, I don't get this problem. > > The difference between these DLLs and others which are removed seems to be > that the component IDs for those left behind have changed. (OK so, as I > *now* understand it, that breaks component rules, however these are shared > components which have already been released into the wild in other > installers.) > > A verbose log of the upgrade install shows "SharedDllRefCount=3" for each > of the DLLs in question which I guess is why they aren't subsequently > removed. So the first question is, why is ref count 3 (given that the > previous version has been removed)? > > Also I had SharedDllRefCount="yes" and, after further testing, it appears > that setting it to "no" fixes the problem. The next question, then, is: is > that a good idea? would it have other consequences, especially with regard > to the other installers already "out there"? > > Thanks, > Kevin > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users