We have 2 components that are conditioned to be installed. On simply installs
the file, but the other installs the file and creates some file association
entries that are shared by other apps. By default the component that only
installs the file turned on and therefore the other component is turned off.
None of these components are marked as shared.

 During install the correct component is installed and therefore no file
association is created, but we noticed that during uninstall the turned off
component seems to be triggered and therefore removed the file association
registry keys, causing the other apps not to have file associations.

 Checking the log we do notice the component entry in the log:
 MSI (s) (A0:C4) [09:18:00:096]: Executing op:
ComponentUnregister(ComponentId={51275946-63F1-4A82-BC9B-FA3DA39B73B3},,BinaryType=0,PreviouslyPinned=1)

 We noticed the PreviousPinned=1 and know that if this is there that the
component should not be uninstalled. We noticed that all components that are
turned off have this entry in the log. 

 But then we noticed the following in the log:
 MSI (s) (A0:C4) [09:18:00:416]: Executing op:
RegExtensionInfoUnregister(Feature=SMART_Ink,Component={51275946-63F1-4A82-BC9B-FA3DA39B73B3},,Extension=pdf,ProgId=SMARTInkDocumentViewer.pdf,,,,)

 This is where the file association is being uninstalled.

 So why is the uninstall triggering components that were NOT installed to
remove entries that we not even created during install? 

 Any insight would be helpful.

 Thanks. 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Conditional-Component-getting-triggered-for-uninstall-when-not-installed-tp7589579.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to