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. -- sig://boB http://bobs.org ------------------------------------------------------------------------- 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