MSI Build Error , Visual Studio 2005, BizTalk 2006

Topics: General Questions
Oct 4, 2012 at 3:32 PM

Hi ,

I have downloaded the latest Deployment Framework, and I am getting the following error when trying to create MSI file, VS 2005, BizTalk 2006

light.exe : error LGHT0001: Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'.

Any ideas,

 

Thanks, Matt

 

Full error below:

Target Installer:    "cscript.exe" /nologo "C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\generate-install-script.js" "obj\Development\redist" "obj\Development\Contents.wxi" False False "PurchaseOrders"    Generating obj\Development\Contents.wxi...    Generating MSI...    "C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\WiX\candle.exe" "-dredist_folder=obj\Development\redist" "-dProductUpgradeCode=e69f641b-a278-4709-915d-d62d3b6355f2" "-dProductName=JVK.BizTalk for BizTalk" "-dProductId=65eab28f-c658-4e3a-b594-cb468d9ef783" "-dProductVersion=1.0.0" "-dProjectVersion=1.0" "-dManufacturer=Deployment Framework User" "-dPackageDescription=JVK.BizTalk" "-dPackageComments=JVK.BizTalk" "-dDeploymentTest=" "-dContentsIncludePath=I:\Biztalk\Visual Studio 2005\Projects\JVK.BizTalk\Deployment\obj\Development\Contents.wxi" "-dProjectFilename=Deployment.btdfproj" -out "obj\Development\PurchaseOrders.wixobj" "C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\GenericBizTalkMSI.wxs"    Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0    Copyright (C) Microsoft Corporation. All rights reserved.        GenericBizTalkMSI.wxs    "C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\WiX\light.exe" "obj\Development\PurchaseOrders.wixobj" -out "I:\Biztalk\Visual Studio 2005\Projects\JVK.BizTalk\Deployment\bin\Debug\\PurchaseOrders-1.0.0.msi" -ext "C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\WiX\WixUIExtension.dll" -spdb    Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0    Copyright (C) Microsoft Corporation. All rights reserved.        light.exe : error LGHT0001: Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'.        Exception Type: System.MissingMethodException        Stack Trace:       at Microsoft.Tools.WindowsInstallerXml.Validator.Validate(String databaseFile)       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)    C:\Program Files\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.WiXSetup.targets(220,5): error MSB3073: The command ""C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\WiX\light.exe" "obj\Development\PurchaseOrders.wixobj" -out "I:\Biztalk\Visual Studio 2005\Projects\JVK.BizTalk\Deployment\bin\Debug\\PurchaseOrders-1.0.0.msi" -ext "C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\WiX\WixUIExtension.dll" -spdb" exited with code 1.Done building target "Installer" in project "Deployment.btdfproj" -- FAILED.
Done building project "Deployment.btdfproj" -- FAILED.
Build FAILED.light.exe : error LGHT0001: Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'.C:\Program Files\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.WiXSetup.targets(220,5): error MSB3073: The command ""C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\WiX\light.exe" "obj\Development\PurchaseOrders.wixobj" -out "I:\Biztalk\Visual Studio 2005\Projects\JVK.BizTalk\Deployment\bin\Debug\\PurchaseOrders-1.0.0.msi" -ext "C:\Program Files\Deployment Framework for BizTalk\5.0\Developer\WiX\WixUIExtension.dll" -spdb" exited with code 1.    0 Warning(s)    2 Error(s)
Time Elapsed 00:01:40.87

Coordinator
Oct 4, 2012 at 4:26 PM

WiX requires .NET Framework 3.5, and it appears that you don't have it installed.

The missing method overload was added in .NET 3.5 (here).

If for some reason you cannot install .NET 3.5, you can replace the WiX binaries with an older 3.0 or 3.5 release.

Thanks,
Tom

Oct 4, 2012 at 5:13 PM

Hi Tom,

Thanks for the quick reply. I will try installing .NET 3.5.

Does the machine where installing/running the MSI have to have .NET 3.5 installed also, or just the machine building the MSI.

Thanks,

Matt

 

Coordinator
Oct 4, 2012 at 6:52 PM

Hi Matt, just the machine that builds the MSI.

Thanks,
Tom