It is a bug. File/@KeyPath isn't ignored, it just doesn't handle the case that you're doing. In particular, KeyPath="no" does not say "do not allow this file to be the key path." The work around is quite simple. Specify the Component/@KeyPath="yes" and that will correctly set the KeyPath
You could open a bug. However, with WiX v2 in escrow and a simple work around, I'm not sure we'll make a new drop for this bug. We should definitely make sure things work correctly in WiX v3. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, June 28, 2007 7:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ICE54 - Bug in Wix2 (2.0.5325.0)? Hi all. WiX2 2.0.5325.0 I am using following code in my project: <Component Id="C_Core_dll" Guid="..."> <File Id="Core_dll" Name="Core.DLL" Vital="yes" KeyPath="yes" DiskId="1" Checksum="yes" /> </Component> <Component Id="C_SQLite_dll" Guid="..."> <File Id="Sqlite_dll" Name="Sqlite.DLL" Vital="yes" DiskId="1" Checksum="yes" CompanionFile="Core_dll" KeyPath="no" /> </Component> Validation of resultin package ends with warning from ICE54: Component 'C_SQLite_dll' uses file 'SQLite_dll' as its KeyPath, but the file's version is provided by the file 'Core_dll'. After clearing the KeyPath value (in MSI Component Table) manualy the ICE54 runs OK. It seems that specifying KeyPath='no' is ignored by WiX. Should I open a bug for WiX2 ? Regards Stefan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users