I am using Powershell scripts to call the .msi that I created using the BT Deployment Framework.
However, I am having an issue with errors coming back with the paths to some of the things that the msi is doing. I am doing my installation in the path of "C:\HTTU.BizTalk" so in otherwords the installdir = "C:\HTTU.BizTalk".
I was able to change the deploymentframeworkstargetpath to the following
"DeploymentFrameworkTargetsPath=C:\HTTU.BizTalk\Install\Deployment\Framework\" and pass that as an argument to the msi
so that fixed one issue.
However, I am getting an error because the xmlpreprocess.exe cannot be found - it is looking for it in the (Folder where I am running the deployment)\framework\deploytools folder whereas I really want to run it under where the msi has been installed - under "C:\HTTU.BizTalk". Is there a default property that can be set within the *.btdfproj file so that every single thing that runs during the deployment will always look for it somewhere in the installation directory? I have InstallDir set correctly but the msi always looks for things in terms of where you run the build and not where the build is actually installed. It's frustrating and that's why I had to set the "DeploymentFrameworkTargetsPath" in the Powershell script to point to the install folder. How do I do the same now to tell the msi where to look for xmlpreprocess.exe?
Do I use some sort of variabilized setting and pass it as an argument like I am doing with the "DeploymentFrameworkTargetsPath". The variable DeploymentFrameworkTargetsPath" is already part of the framework but now I am unsure how to change the path in the Powershell script so it knows to look for the xmlpreprocess.exe in what is the equivalent of (installdir)\Install\Deployment\Framework\DeployTools.
Thanks
However, I am having an issue with errors coming back with the paths to some of the things that the msi is doing. I am doing my installation in the path of "C:\HTTU.BizTalk" so in otherwords the installdir = "C:\HTTU.BizTalk".
I was able to change the deploymentframeworkstargetpath to the following
"DeploymentFrameworkTargetsPath=C:\HTTU.BizTalk\Install\Deployment\Framework\" and pass that as an argument to the msi
so that fixed one issue.
However, I am getting an error because the xmlpreprocess.exe cannot be found - it is looking for it in the (Folder where I am running the deployment)\framework\deploytools folder whereas I really want to run it under where the msi has been installed - under "C:\HTTU.BizTalk". Is there a default property that can be set within the *.btdfproj file so that every single thing that runs during the deployment will always look for it somewhere in the installation directory? I have InstallDir set correctly but the msi always looks for things in terms of where you run the build and not where the build is actually installed. It's frustrating and that's why I had to set the "DeploymentFrameworkTargetsPath" in the Powershell script to point to the install folder. How do I do the same now to tell the msi where to look for xmlpreprocess.exe?
Do I use some sort of variabilized setting and pass it as an argument like I am doing with the "DeploymentFrameworkTargetsPath". The variable DeploymentFrameworkTargetsPath" is already part of the framework but now I am unsure how to change the path in the Powershell script so it knows to look for the xmlpreprocess.exe in what is the equivalent of (installdir)\Install\Deployment\Framework\DeployTools.
Thanks