Copy Additional Files for Microsoft Dynamics GP and Integration Manager Installation

Microsoft Dynamics GPWhen installing Microsoft Dynamics GP for clients I’ll often create an installation package to simplify the installation process for a client. However, there are often additional files which need to be deployed to a client, such as Financial Elementz, Security Informer or other additional products or ini files for Integration Manager which contain a default location.

While you can tell the client where the files are and where to copy them to, there is always the risk of them getting it wrong. It’s easier to give them a batch file to double click which will run some command and copy all of the necessary files from their current location to the correct place on the client machine.

In the below example, the first yellow highlighted text on both rows is where the files are stored and the second highlighted text is the destination folder.

/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk) This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int). */
@echo off xcopy /S /Y "\\fileserver1\Dynamics Central\Installation\Packages\Dynamics GP Additional" "C:\Program Files (x86)\Microsoft Dynamics\GP\" timeout 5 xcopy /S /Y "\\fileserver1\Dynamics Central\Installation\Packages\Integration Manager Additional" "C:\Program Files (x86)\Microsoft Dynamics\Integration Manager 18\" pause