It's also required in a few cases. For example, the ServiceInstall table in an MSI file defines a component, not a file name, and the KeyPath of that component must be the service executable file. Type libraries have a similar requirement if the registration uses the TypeLib table. I'm not sure how much of this WiX does for you automatically.
Phil Wilson -----Original Message----- From: Blair [mailto:os...@live.com] Sent: Wednesday, September 09, 2009 10:23 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] WIX 3.0 KeyPath KeyPath is where you identify to Windows Installer which resource within the component is the identity of that component. That identity is used in several places within Windows Installer to properly handle repairs, upgrades, and removal operations as well as "health checks" where repairs and/or on-demand installations can be performed. If you set KeyPath="yes" on a File or RegistryValue (Registry in v2) element, that resource becomes the keypath of the component. If you instead set KeyPath on the Component element itself, you are designating the component's directory as the keypath. The various results of this search (http://social.msdn.microsoft.com/Search/en-US?query=installer%20keypath&ac= 3) will give you more info on this. -----Original Message----- From: spsingam [mailto:siva.poobalasin...@gmail.com] Sent: Wednesday, September 09, 2009 6:47 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WIX 3.0 KeyPath hi all, i have failed to comprehend what KeyPath is all about. Why would u want to put keypath within the <file> or <component>tags. How would the keypath benefit these two elements. -- View this message in context: http://n2.nabble.com/WIX-3-0-KeyPath-tp3615828p3615828.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users