I get this error when the output file (bundle.exe, msipackage.msi, or library.wixlib, depending on the type of project) is open in another process, like Orca. So for me it is not random. Is your build process trying to do something with the prior version of the output file, as the project is being built?
-- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Light-light-exe-error-LGHT0001-Cannot-create-a-file-when-that-file-already-exists-tp7596363p7596365.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users