How to use Package deployer tool to deploy packages for dynamics 365

2 MIN READ

If you are a developer then you must know what is use of package solutions into dynamics. A package solution contains entities, fields, plugins, your application logic code and etc elements. Sometimes we need more than one package to ship to our customers for their functional dependency.

Package deployer tool helps to create a single package that can contain multiple packages, master data files, code, and able to contains almost most of the required elements to create a single package on which we can show custom Html to describe details about the package.

How to use Package deployer tool to deploy packages for dynamics 365

We can download the Package Deployer using PowerShell from below link

Download Tools Nuget

For creating package using visual studio we need package deployer template you can download it from below site

Download Package Deployer Template

Run the CRMSDKTemplates.vsix to install the template for your visual studio.

Create a new CRM Package project after successful installation

Create a new CRM Package project after successful installation

In solution we have PkgFolder, Inside it we have:

Content -folder in which we can configure wizard’s html page to show information regarding package and company.

ImportConfig.xml – Configuration file for mapping data files and solutions.

Here we need to place our configdata and record files as well.

Below is the screenshot:

Configuration file for mapping data files and solutions

To create the data file use configuration migration tool of CRM SDK.

Update ImportConfig.xml by mentioned your files. Place the solution which you like to ship.

Update Html according to your needs.

Now Create one folder and place all the code which you found inside PackageDeployment tool.

Build the solution and copy PkgFolder and dll of the project and paste into newly created folder which has PackageDeployement files

Build the solution and copy PkgFolder and paste into newly created folder which has PackageDeployement files

Run PackageDeployer, add your orgainization credentials and you will get the deployer wizard as below

Run PackageDeployer, add your orgainization credentials and you will get the deployed wizard as below
ready to install
reading MY EMS package installer configuration
executing install actions
executing install actions 1
installation complete

I believe this tutorial has helped you, and you have successfully deployed the packages in your Dynamics 365. If you can’t deploy it and need help, consider contacting one of our Microsoft Dynamics 365 consultants. We have a team of certified developers with over eight years of experience who can fix your technical issues quickly.

To contact us now, click https://moreyeahs.com/contact-us.

Contact Us