Re: [WiX-users] [Light] light.exe error LGHT0001: Cannot create a file when that file already exists.

2014-08-14 Thread Rob Mensching
IIRC, 0001 errors are internal errors and provide a stack trace to help track 
down where better error message should be added.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: Thursday, August 14, 2014 9:08 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] [Light] light.exe error LGHT0001: Cannot create a file 
when that file already exists.

We are randomly get having out WiX builds fail with the following:
[Light] light.exe error LGHT0001: Cannot create a file when that file already 
exists.

The log does not indicate what file it is complaining about and I have not seen 
any other reports of this error in the groups.

Has anyone seen this error and/or how to prevent this error from occurring?

We are still working with WiX 3.7

Thanks.



--
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-tp7596363.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

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Light] light.exe error LGHT0001: Cannot create a file when that file already exists.

2014-08-14 Thread TimM
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.
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


[WiX-users] [Light] light.exe error LGHT0001: Cannot create a file when that file already exists.

2014-08-14 Thread TimM
We are randomly get having out WiX builds fail with the following:
[Light] light.exe error LGHT0001: Cannot create a file when that file
already exists.

The log does not indicate what file it is complaining about and I have not
seen any other reports of this error in the groups.

Has anyone seen this error and/or how to prevent this error from occurring?

We are still working with WiX 3.7

Thanks.



--
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-tp7596363.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