Wix light.exe : error LGHT0001: The system cannot open the device or file specified.

Posted by Angelo on Stack Overflow See other posts from Stack Overflow or by Angelo
Published on 2014-05-30T03:23:29Z Indexed on 2014/05/30 3:24 UTC
Read the original article Hit count: 890

Filed under:

Today we build our product with MSBuild /m to build with multiprocess.

Before we do a change to heat some files in pre-build event, build with MSBuild multiprocess can be success.

Now build is failed with following exception:

124>light.exe : error LGHT0001: The system cannot open the device or file specified. (Exception from HRESULT: 0x8007006E) [...MSI.wixproj]

     Exception Type: System.IO.FileLoadException

     Stack Trace:
        at Microsoft.Tools.WindowsInstallerXml.MergeMod.IMsmMerge2.OpenModule(String fileName, Int16 language)
        at Microsoft.Tools.WindowsInstallerXml.Binder.MergeModules(String tempDatabaseFile, Output output, FileRowCollection fileRows, StringCollection suppressedTableNames)
        at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, String databaseFile)
        at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file)
        at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)

(Link target) -> light.exe : error LGHT0001: The system cannot open the device or file specified. (Exception from HRESULT: 0x8007006E) [...Msi.wixproj]

using Wix 3.8

© Stack Overflow or respective owner

Related posts about wix