Error Building After Renaming GenericBizTalkMSI.wxs

Topics: General Questions
Mar 28, 2014 at 4:28 PM
Hello,

I'm trying to customize the installation process of a BizTalk 2013 project using BTDF. I've included the "GenericBizTalkMSI.wxs" file in my project's Deployment folder and made the necessary modifications to it. The project will build fine if I leave the name of that wxs file as it is, but if I try renaming it, for example to "RenamedGenericBizTalkMSI.wxs", the build will fail with the following error:
 light.exe: The system cannot find the file 'obj\Release\GenericBizTalkMSI.wixobj' with type 'Source'.
 C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.WiXSetup.targets (243): The command ""C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Developer\WiX\light.exe" "obj\Release\GenericBizTalkMSI.wixobj" "obj\Release\RedistComponentGroup.wixobj" -out "C:\Builds\3\GCMS\MAIN - CIC.GCMS.Common.NC.Out.Collect\Sources\CIC.GCMS.Common.NC.Out.Collect2\CIC.GCMS.Common.NC.Out.Collect.Deployment\bin\Release\\CIC.GCMS.Common.NC.Out.Collect-6.0.0.0.msi" -ext "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Developer\WiX\WixUIExtension.dll" -ext "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Developer\WiX\WixNetFxExtension.dll" -spdb" exited with code 103.
It's not a big issue, but the documentation states that it can be renamed and it does not seem to be the case, unless I'm missing something. (I did update the btdfproj file with the name as well in the WixProjectFile element.)

FYI, we're using TFS Build Server 2010 to create our MSI's.
Coordinator
Mar 28, 2014 at 5:15 PM
This will be fixed in v6.0, but for now you also need to override the property WiXLightArguments in your .btdfproj.
<PropertyGroup>
...
  <WiXLightArguments>&quot;$(IntermediateOutputPath)\RenamedGenericBizTalkMSI.wixobj&quot; &quot;$(IntermediateOutputPath)\RedistComponentGroup.wixobj&quot; -out &quot;$(TargetDir)\$(MsiName).msi&quot; -ext &quot;$(WixDir)\WixUIExtension.dll&quot; -ext &quot;$(WixDir)\WixNetFxExtension.dll&quot; -spdb $(MSIValidationParam)</WiXLightArguments>
...
</PropertyGroup>
Thanks,
Tom
Marked as answer by dmarion on 3/28/2014 at 9:23 AM
Coordinator
Mar 28, 2014 at 5:16 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Mar 28, 2014 at 5:22 PM
Thanks!