If a directory that does not exist is passed to light as the -out argument, the following exception occurs:
light.exe : error LGHT0001 : The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
Exception Type: System.IO.DirectoryNotFoundException
Stack Trace:
at Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish(IntPtr contextHandle)
at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Dispose() in c:\delivery\Dev\wix\src\wix\Cab\WixCreateCab.cs:line 96
at Microsoft.Tools.WindowsInstallerXml.Output.SaveCab(String path, BinderExtension binderExtension, WixVariableResolver wixVariableResolver, String tempFilesLocation) in c:\delivery\Dev\wix\src\wix\Output.cs:line 311
at Microsoft.Tools.WindowsInstallerXml.Pdb.Save(String path, BinderExtension binderExtension, WixVariableResolver wixVariableResolver, String tempFilesLocation) in c:\delivery\Dev\wix\src\wix\Pdb.cs:line 252
at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, String databaseFile) in c:\delivery\Dev\wix\src\wix\Binder.cs:line 1135
at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file) in c:\delivery\Dev\wix\src\wix\Binder.cs:line 279
at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) in c:\delivery\Dev\wix\src\light\light.cs:line 530
Binder temporary directory located at 'C:\Documents and Settings\jordanf\Local Settings\Temp\3xli-o-a'.
Validator temporary directory located at 'C:\Documents and Settings\jordanf\Local Settings\Temp\wlhwq4e4'.
repro steps / log
Logged In: YES
user_id=1672802
Originator: YES
File Added: product.wxs
wxs file for repro
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 15 days (the time period specified by
the administrator of this Tracker).