Installing a deployable package in Dynamics 365 for Operations using command-line

Today we will be installing a deployable package using command line… this article is mostly for creating a condensed version for my own use… for a complete version please look at the link at the bottom of the page

1. From the Dynamics Server (using RDP) log into and select the correct project.
2. Goto Asset Library and download the package to D:\
3. Goto Properties for the file and unblock it
4. Unzip the file

NOTE: The folder where the files are unziped/stored must not contain spaces

5. Edit the DefaultTopologyData.xml file to look like this (for a onebox environment):

<?xml version=”1.0″ encoding=”utf-8″?>
<TopologyData xmlns:xsd=”” xmlns:xsi=””>
   <Name>AX topology</Name>
        <!– DefaultTopologyData are only for dev vhd, which we only support AOS update–>
        <!– Create a new topology data for your Cloud AX topology–>
     <FileName />
     <Description>Please backup your environment now, set this step to complete once you finished backup</Description>

6. Run these commands to install the file:

AXUpdateInstaller.exe generate -runbookid=name-runbook -topologyfile=DefaultTopologyData.xml -servicemodelfile=DevInstallServiceModelData.xml -runbookfile=name-runbook.xml
AXUpdateInstaller.exe import -runbookfile="name-runbook.xml"
AXUpdateInstaller.exe execute -runbookid="name-runbook"


Leave a Reply