It's hard for me to give an exact answer without being there and getting really close to the problem. That said, I would suggest looking at the Component states ($comp=x and ?comp=x ) to figure out if a component is being installed for the first time, reinstalled subsequent times or being removed and then design/invoke your custom actions around that knowledge.
http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me ----- Original Message ---- From: Tobias Erichsen <t.erich...@gmx.de> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Fri, November 12, 2010 12:28:52 PM Subject: Re: [WiX-users] Usage of Merge Module for multiple projects(updatesetc.) > If Product A has files with an lessor version number then > Product B then Product B's higher versioned numbers will > remain installed. Thanks a lot for that information - I still have one problem: I have custom actions for the actual driver install / uninstall. I have to differentiate the following scenarios: a.) First install of an application using the driver: driver must be installed b.) New install of an application with up to date / newer driver: don't do anything c.) New install of an application with an existing older driver: deinstall / reinstall (possibly reboot) d.) Last instance of MSI is deinstalling - also deinstall driver. How can I find out within my wix-script which actions to activate? Best regards, Tobias ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users