Bob Arnson <[EMAIL PROTECTED]> writes: > Jarl Friis wrote: >> This results in Error LGHT0204: ICE18: KeyPath for Component: >> 'Comp2' is Directory: >> 'MyDir'. The Directory/Component pair must be listed in the >> CreateFolders table. >> >> According to the documentation, the above should be the way to select >> copying a file, by installing/uninstalling the parent >> component. However, when the parent component does not contain any >> other elements than a CopyFile, I get the above error. >> >> Can someone tell me what it means? and what I should do to resolve it? >> > > MSI rules say that each component's directory must be created, either > implicitly by installing files there -- the CopyFile doesn't count -- > or explicitly with CreateFolder (in WiXspeak). So just add a > CreateFolder element as a child of the CopyFile's Component > element. It's harmless and satisfies the ICE validation error.
Thanks. You say it's harmless... I believe that means that the rules for removing the directory are the same as if there had been a <File> element in the directory. Still I wonder about the error message "The Directory/Component pair must be listed in the CreateFolders table.". It sounds like there is a table called "CreateFolders", opening Orca, I cannot find a table by that name. Jarl -- Jarl Friis Softace ApS Omøgade 8, 2.sal 2100 København Ø. Denmark Phone: +45 26 13 20 90 E-mail: [EMAIL PROTECTED] LinkedIn: https://www.linkedin.com/in/jarlfriis ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users