Open tfabraham opened 6 years ago
tfabraham Can you please explain the steps you are taking to install and deploy the application using the MSI? You should install the MSI on your server and either check the "deploy at Finish" checkbox at the end of the wizard, or go to the Start menu and launch the Deploy shortcut for your app. Are you trying to use BizTalk Admin to deploy or install your app?
Thanks, Tom
kumarbpavan I updated my proj to use Deployment framework. Following are the property settings in dtdfproj file.
I am selecting the option "deploy at Finish" option in the wizard. First time installation is going through fine. For the upgrade, I did increment ProjectVersion , ProductVersion and generated new ProductId. It is erroring out when installing the upgrade using the same steps ( "deploy at Finish" checkbox ).
Also, could you please direct me to a Post where complete automation is explained.
tfabraham Hi,
In an upgrade scenario, before you upgrade (or uninstall old/install new) the MSI you must undeploy the existing application. These steps are covered
here.
Regarding complete automation of deployments, I recommend that you start here (and reference this post too).
Thanks, Tom
kumarbpavan Hi Tom,
I am not able to access both the URLs you provided for Automated Deployment. Could you please provide the latest.
Thanks, Pavan
tfabraham Hi Pavan, I just clicked both of the links within my sentence "Regarding complete automation..." and they opened fine.
Tom
kumarbpavan Hi Tom,
Can you please tell me the syntax to undeploy the application completely?
I am trying to do the following.
1) We have separated a Schema into a separate project as it is huge and deploys are becoming slow because of this. As there will not be any frequent changes to this schema, to avoid Deployment Delays , We created this as a Separate application.
2) Second application has the remaining artifacts. This will have a reference to the Schemas project I mentioned above.
As Second application is dependent on the First ( Schemas), I cannot deploy first application until Second application is completely undeployed. I created a batch file to Uninstall/UnDeploy Second application and then follow up with Deploying First Application and Second Application in order.
Issue: I am able to UnInstall the application using msiexec, but it will not undeploy the application completely ( remove dlls from GAC). Can you please let me know if there is any way to accomplish.
Thanks, Pavan
tfabraham Hi Pavan,
Have you run through the Deployment Framework tutorial and gotten a good understanding of the manual process before using scripting? You can find it
here. There is also information on the upgrade process here.
In the scenario you describe, the process to deploy for the first time is:
Install First application Deploy First application Install Second application (this can be swapped with #2 if desired) Deploy Second application
To upgrade Second application:
Undeploy Second application Uninstall Second application Install Second application (can be combined w/ #2 if you change the ProductID and increment ProductVersion in the .btdfproj for the new MSI)
To upgrade First application:
Undeploy Second application Uninstall Second application Undeploy First application Uninstall First application Install First application Deploy First application Install Second application Deploy Second application
When you change ProductID and ProductVersion for the new MSI's you can slightly shorten it to:
Undeploy Second application Undeploy First application Install First application Install Second application Deploy First application Deploy Second application
Tom
kumarbpavan Thanks Tom.
I went through the tutorials. As developers donot have access to Production environments, we are providing .bat file along with MSI to do the deployment. In the .bat file we are calling it in the following sequence.
1) Undeploy Application 1 ( if exists) 2) UnInstall Application 1 ( If exists) 3) Uninstall Application 2 ( If exists) 4) Install First Application 5) Install Second Application 6) Deploy First Application 7) Deploy Second application
Initially, I was not able to find syntax for UnDeploy. After some research, Found the following syntax
%BTDFMSBuildPath% Deployment.btdfproj /p:%PARMS% /target:Undeploy /l:FileLogger,Microsoft.Build.Engine;logfile=%ApplicationInstallPath%\DeployResults\DeployResults.txt
It worked fine. .bat file is now all ready for complete automation.
Thanks a lot for your help! Biztalk Deployment Framefork is such a great product. It made life lot easier.
Thanks, Pavan
tfabraham Thanks Pavan, it's great to hear the positive comments!
Tom
kumarbpavan[4/2/2013 10:33:35 PM] Hi,
I created MSI using Build Server Deploy MSI. Incremented ProjectVersion , ProductVersion and generated new ProductId. But, when I try to install it using MSI it is erroring out with error "Application already exists. Specify a unique application name." Do we need to delete the application manually everytime before running the MSI? Please advice.