Re: [WiX-users] Registry component shared within multiple features

2013-11-25 Thread Nicolás Alvarez
2013/11/25 wixtester : > If separate components are created for each feature, the registryValue gets > removed when any one feature is uninstalled. > Instead, I want the registry entry to stay if either feature is installed on > the system. The registry entry should be removed only when both the fe

Re: [WiX-users] Registry component shared within multiple features

2013-11-25 Thread wixtester
If separate components are created for each feature, the registryValue gets removed when any one feature is uninstalled. Instead, I want the registry entry to stay if either feature is installed on the system. The registry entry should be removed only when both the features are uninstalled.

Re: [WiX-users] Registry component shared within multiple features

2013-11-25 Thread wixtester
-- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry-component-shared-within-multiple-features-tp7590870p7590937.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Registry component shared within multiple features

2013-11-23 Thread Phil Wilson
If the issue is that you have a component used by two features, I don't think the component definition is the problem. There are two feature elements, Auth and Bridge, right? So what happens if you add the component to each feature? This should work somehow - the resulting FeatureComponent table in

Re: [WiX-users] Registry component shared within multiple features

2013-11-22 Thread Nicolás Alvarez
2013/11/22 wixtester : > Thanks for the suggestion. > Putting KeyPath to the registry element didnot make any difference. It still > gets removed. > Is SharedDllRefCount="yes" correct attribute for a component that has a > shared registry entry? > > thanks. That attribute is only necessary when yo

Re: [WiX-users] Registry component shared within multiple features

2013-11-22 Thread wixtester
Thanks for the suggestion. Putting KeyPath to the registry element didnot make any difference. It still gets removed. Is SharedDllRefCount="yes" correct attribute for a component that has a shared registry entry? thanks. -- View this message in context: http://windows-installer-xml-wix-tool

Re: [WiX-users] Registry component shared within multiple features

2013-11-22 Thread Nicolás Alvarez
2013/11/22 wixtester : > Hi, > > How do I reference count a registry component to use it between 2 > features? I have a feature named Agent that is shared by two other features, > say, Auth and Bridge. Agent feature has a component that writes to registry. > When I remove Auth or Bridge feature,

[WiX-users] Registry component shared within multiple features

2013-11-22 Thread wixtester
Hi, How do I reference count a registry component to use it between 2 features? I have a feature named Agent that is shared by two other features, say, Auth and Bridge. Agent feature has a component that writes to registry. When I remove Auth or Bridge feature, the registry entry gets removed fr