Hi,
The step of calling EnvironmentSettingsExporter.exe is not necessary (documentation error). You need to know the correct and complete path to the XML file, but do not need to actually export it because that will happen once the deployment begins.
Note the ENV_SETTINGS parameter in the example below -- your current process should do the same.
I'd actually encourage you to upgrade to v5.1 since you are just beginning to script this process. Using v5.1 you can use the following new MSBuild targets file (you still need your msiexec step too):
For this example,
Tom
The step of calling EnvironmentSettingsExporter.exe is not necessary (documentation error). You need to know the correct and complete path to the XML file, but do not need to actually export it because that will happen once the deployment begins.
Note the ENV_SETTINGS parameter in the example below -- your current process should do the same.
I'd actually encourage you to upgrade to v5.1 since you are just beginning to script this process. Using v5.1 you can use the following new MSBuild targets file (you still need your msiexec step too):
For this example,
- Assuming BizTalk 2010 (/tv:4.0)
- Assuming that default MSBuild.exe on the system is MSBuild 4.0
-
Assuming that current dir is C:\Program Files\MyBizTalkApp\1.0
MSBuild.exe Deployment\Framework\BizTalkDeploymentFramework.ServerExecute.targets /tv:4.0 /t:Deploy /p:BT_DEPLOY_MGMT_DB=True /p:ENV_SETTINGS="C:\Program Files\MyBizTalkApp\1.0\Deployment\EnvironmentSettings\Exported_LocalSettings.xml" /p:ProjectFile=Deployment.btdfproj
Thanks,Tom