Thanks Phill, I do not think someone would have been on the TeamCity build machine opening up files at the times of the failures, so that should rule out that case. We have a build step that will generate a new Product Code for the product and replace the one in the WiX projects, but that again should not have caused this and that step occurs first out of 7 steps and the build failure occurs on the 6th step during the building of the main solution file that builds all the products and the install build is the last step of that solution. So I do not think that it could be that.
Now maybe it has to do with this being a CI build. Our full nightly builds do not seem to have this issue. It is only the incremental builds that occur every time someone checks in new/updated code, but again randomly. So, just guessing here, maybe a build was already at the install step and then another CI build was triggered off and therefore some files in use at that time??? Anyways is there anything else that we could be looking for to determine out the main cause of this failure? I could possibly take the build of the WiX project out of the main solution and simply create a new build step that starts after the main solution file is built and that way it will eliminate the main solution and what is being built in it from being the or part of the issue. Thanks, Tim. From: Phill Hogland [via Windows Installer XML (WiX) toolset] [mailto:ml-node+s687559n7596365...@n2.nabble.com] Sent: Thursday, August 14, 2014 11:17 AM To: Tim Mayert Subject: Re: [Light] light.exe error LGHT0001: Cannot create a file when that file already exists. 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? ________________________________ If you reply to this email, your message will be added to the discussion below: 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 To unsubscribe from [Light] light.exe error LGHT0001: Cannot create a file when that file already exists., click here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7596363&code=VGltTWF5ZXJ0QHNtYXJ0dGVjaC5jb218NzU5NjM2M3wtMTcxMzc3MTUwNA==>. NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- 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-tp7596363p7596366.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