Re: [WiX-users] LGHT0001 : Unknown error while getting hash of file
many thanks ... it was indeed locked (at least, ls -l says "-- 1 alan None 6406 May 12 18:52 License.rtf", and "chmod 777 ..." fixed the problem) Rob Mensching wrote: > System Error 5 == ERROR_ACCESS_DENIED. > > Something is probably locking the file, preventing the WiX toolset from > calculating the hash. Definitely could have a better error message (I > *think* there is one in WiX v3). > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Sinclair > Sent: Monday, May 12, 2008 19:05 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] LGHT0001 : Unknown error while getting hash of file > > Any suggestions please as to what to look for to cure this error (in a > WiX setup that I'm taking over from someone else)? > We're using the final/stable WiX 2.0.5805. > > c:/PROGRA~1/WI577F~1/bin/light.exe -nologo -w0 -wx -pedantic:legendary > -out Release/thecoapp.msi Release/oe.wixobj Release/ocommon.wixobj > Release/oCore.wixobj Release/oService.wixobj Release/DNE.wixobj > Release/OPlugin.wixobj Release/OCA.wixobj Release/oGui.wixobj > "c:\PROGRA~1\WI577F~1\bin\wixui.wixlib" -loc > "c:\PROGRA~1\WI577F~1\bin\WixUI_en-us.wxl" > light.exe : error LGHT0001 : Unknown error while getting hash of file: > f:\theco\wix\License.rtf, system error: 5 > > Exception Type: System.ApplicationException > > Stack Trace: >at Microsoft.Tools.WindowsInstallerXml.Msi.MsiBase.GetFileHash(String > filePath, Int32 options, Int32[]& hash) >at > Microsoft.Tools.WindowsInstallerXml.Binder.UpdateFileInformation(Output > output) >at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output) >at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) > make: *** [Release/thecoapp.msi] Error 1 > > > The license file does exist: > > dir f:\theco\wix\License.rtf > Volume in drive F is Data > Volume Serial Number is CCBD-19CF > > Directory of f:\theco\wix > > 05/12/2008 06:52 PM 6,406 License.rtf >1 File(s) 6,406 bytes >0 Dir(s) 26,728,669,184 bytes free > > > thanks > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] LGHT0001 : Unknown error while getting hash of file
System Error 5 == ERROR_ACCESS_DENIED. Something is probably locking the file, preventing the WiX toolset from calculating the hash. Definitely could have a better error message (I *think* there is one in WiX v3). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Sinclair Sent: Monday, May 12, 2008 19:05 To: wix-users@lists.sourceforge.net Subject: [WiX-users] LGHT0001 : Unknown error while getting hash of file Any suggestions please as to what to look for to cure this error (in a WiX setup that I'm taking over from someone else)? We're using the final/stable WiX 2.0.5805. c:/PROGRA~1/WI577F~1/bin/light.exe -nologo -w0 -wx -pedantic:legendary -out Release/thecoapp.msi Release/oe.wixobj Release/ocommon.wixobj Release/oCore.wixobj Release/oService.wixobj Release/DNE.wixobj Release/OPlugin.wixobj Release/OCA.wixobj Release/oGui.wixobj "c:\PROGRA~1\WI577F~1\bin\wixui.wixlib" -loc "c:\PROGRA~1\WI577F~1\bin\WixUI_en-us.wxl" light.exe : error LGHT0001 : Unknown error while getting hash of file: f:\theco\wix\License.rtf, system error: 5 Exception Type: System.ApplicationException Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Msi.MsiBase.GetFileHash(String filePath, Int32 options, Int32[]& hash) at Microsoft.Tools.WindowsInstallerXml.Binder.UpdateFileInformation(Output output) at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output) at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) make: *** [Release/thecoapp.msi] Error 1 The license file does exist: > dir f:\theco\wix\License.rtf Volume in drive F is Data Volume Serial Number is CCBD-19CF Directory of f:\theco\wix 05/12/2008 06:52 PM 6,406 License.rtf 1 File(s) 6,406 bytes 0 Dir(s) 26,728,669,184 bytes free thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] LGHT0001 : Unknown error while getting hash of file
Any suggestions please as to what to look for to cure this error (in a WiX setup that I'm taking over from someone else)? We're using the final/stable WiX 2.0.5805. c:/PROGRA~1/WI577F~1/bin/light.exe -nologo -w0 -wx -pedantic:legendary -out Release/thecoapp.msi Release/oe.wixobj Release/ocommon.wixobj Release/oCore.wixobj Release/oService.wixobj Release/DNE.wixobj Release/OPlugin.wixobj Release/OCA.wixobj Release/oGui.wixobj "c:\PROGRA~1\WI577F~1\bin\wixui.wixlib" -loc "c:\PROGRA~1\WI577F~1\bin\WixUI_en-us.wxl" light.exe : error LGHT0001 : Unknown error while getting hash of file: f:\theco\wix\License.rtf, system error: 5 Exception Type: System.ApplicationException Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Msi.MsiBase.GetFileHash(String filePath, Int32 options, Int32[]& hash) at Microsoft.Tools.WindowsInstallerXml.Binder.UpdateFileInformation(Output output) at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output) at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) make: *** [Release/thecoapp.msi] Error 1 The license file does exist: > dir f:\theco\wix\License.rtf Volume in drive F is Data Volume Serial Number is CCBD-19CF Directory of f:\theco\wix 05/12/2008 06:52 PM 6,406 License.rtf 1 File(s) 6,406 bytes 0 Dir(s) 26,728,669,184 bytes free thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users