WE ARE TECHNOLOGY, WE ARE INNOVATION, WE ARE GLOBAL, WE ARE GROWTH

How To - Deploying packages using Package Deployer tool in Microsoft Dynamics 365 CE

Package deployer tool is part of Dynamics 365 CE SDK tools that helps to automate the various steps of deployment like import of solutions, moving configuration or master data records, deploying any other associated applications, custom code to run etc. by combining them into a single package that can be run which would do all the required steps without manual intervention, thereby, reducing the risk of any error.

Follow the below link to download the Package Deployer using PowerShell

https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/download-tools-nuget

Quick Inquiry

captcha

Let us see how we can create the Package using Visual Studio and use Package Deployer tool to run the package created.

First, we need to download the Package Deployer template for Visual Studio that is part of Microsoft Dynamics CRM SDK Templates

https://marketplace.visualstudio.com/items?itemName=DynamicsCRMPG.MicrosoftDynamicsCRMSDKTemplates

Run the CRMSDKTemplates.vsix to install the template.

After successful installation, create a new project of type CRM Package

article
article

In the project within the right click the PkgFolder and add all the components that we want to be part of Package.

Here we have added the following components

article

After adding the components part of the package, next, we need to update ImportConfig.xml to make the package aware of the content.

article

After update.

article

As we can see we have updated the file to reflect the content of our package.

Now right click the project and build it. This creates the assembly and the PkgFolder that we can use with PackageDeployer tool.

article

We will copy them to package deployer tool’s folder

article

Next, we will run our PackageDeployer.exe and connect to the organization where we want to deploy the package.

article

Click on Next to start the process

article

After successful completion, we’d see all our steps in green.

In case of any error, we can click on View log file link to get the details of the error and fix it.

article

Also, we have an option of updating the HTML files that are part of packages i.e. Welcome page and the End page.

article

Below we have updated the Default.htm of the Welcome Html. These pages will also be deployed as part of the package content to the package deployer folder.

article

This is how the changes reflect inside the Package Deployer tool

article

Thus we saw how using the Package Deployer tool we can automate all the important steps that are part of solution deployment and movement, without any single line of code.

Awesome clients we worked for

Client Testimonials

  • Fabio Durso

    We found a reliable and efficient partner in Aegis Infoways, ready to support our strategy of offshore software development. Aegis Infoways has particularly impressed by the speed of response to any request for the development of software applications and for their maintenance.

  • Filipe

    We did hire full time Java developers from Aegis Infoways, to help us to improve a time to market of a product. The software platform is based on Java & Extjs, and they are delivering the software on time and with success. We strongly recommend Aegis Infoways as Reliable Development partner.

  • Steve

    Powerful solutions are given by Aegis Infoways dedicated developers for my projects. They suggest solutions as per current market trend. Other than this, the team is always ready for any type of changes or update. That is the main reason that I would like to give my next project to them.

Copyright © 2016 - Aegis Infoways All rights reserved