In other words, 1) someone builds an MSI with a non-WiX tool with a component with no KeyPath that uses the MSI default of the containing directory and then 2) builds an upgrade/patch/whatever MSI that similarly contains no KeyPath definition and WiX chooses something else as the KeyPath and 3) they get "installation problems"? Is that really the case? --------------- Phil Wilson
On Thu, Sep 25, 2014 at 9:56 AM, Rob Mensching <r...@firegiant.com> wrote: > Actually, yes. WiX documentation trumps here: > > http://wixtoolset.org/documentation/manual/v3/xsd/wix/component.html > > KeyPath > > YesNoType > > If this attribute's value is set to 'yes', then the Directory of this > Component is used as the KeyPath. To set a Registry value or File as the > KeyPath of a component, set the KeyPath attribute to 'yes' on one of those > child elements. If KeyPath is not set to 'yes' for the Component or for a > child Registry value or File, WiX will look at the child elements under the > Component in sequential order and try to automatically select one of them as > a key path. Allowing WiX to automatically select a key path can be dangerous > because adding or removing child elements under the Component can > inadvertantly cause the key path to change, which can lead to installation > problems. > > _____________________________________________________________ > Short replies here. Complete answers over there: http://www.firegiant.com/ > > > -----Original Message----- > From: Phil Wilson [mailto:phildgwil...@gmail.com] > Sent: Thursday, September 25, 2014 9:44 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] KeyPath by default? > > No, according to the docs for KeyPath in the Component table. It uses the > folder of the Directory as the KeyPath. > > http://msdn.microsoft.com/en-us/library/aa368007(v=vs.85).aspx > --------------- > Phil Wilson > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users