We recently went through a Great Plains upgrade to v. 10.  After the database was setup, I wanted a script I could run on the clients that would pretty much automate the setup.  What I came up with doesn't completely automate the process, but it does greatly simplify it.

*************************************************************************************

net use B: \\servername\Groups\GPData\GP10\GPInstall

RD "C:\Program Files\Microsoft Dynamics\GP" /S /Q

B:\OfficeWebComponents\owc11.exe

B:\Client\setup.exe

B:\Mekorma\Mekorma_MICR_10.00.045.00.exe

B:\CRGChanger\setup.exe

B:\CRGReverser\setup.exe

xcopy B:\_VchSel10_D1_20090402\NAMB00001.cnk "C:\Program Files\Microsoft Dynamics\GP\"

xcopy B:\Client\Dex.ini "C:\Program Files\Microsoft Dynamics\GP\Data\" /Y

B:\IntMgr\IntegrationManager.exe

xcopy B:\IntMgr\*.ini "C:\Program Files\Microsoft Dynamics\Integration Manager 10\" /Y

xcopy B:\IntMgr\*.xml "C:\Program Files\Microsoft Dynamics\Integration Manager 10\" /Y

net use b: /delete

**************************************************************

After the clients were installed I needed a solution for remote users.  Now I came to the realzation that GP doesn't support remote clients, so I ran the script above on a server running terminal services.  That seemed to work like a champ.  That solution then became a great fit for our DR location.  I repeated the process for the DR terminal server with slight tweaks of the pathing and ini files.  The DR terminal server eliminated the need for making changes to the client machine ini, and xml file.

Microsoft.Dynamics.GP.IntegrationManager.ini

*********************************

[IMBaseProvider]
AutoUpgradeIntegrations=1
CommandTimeout=30
HideMsgBox=True
UseOptimizedFiltering=True
DBPath=\\servername\Groups\GPData\GP10\IM\GP10.0_IM.Mdb
[IMGPPrv]
ShowDynamics=False
DoUIRedraw=False
AllowOpenWindows=False
HideMsgBox=True
[IMGPeConnect]
SuppressIntegration=False
HideMsgBox=True

*********************************************************

Microsoft.Dynamics.GP.IntegrationManager.IMRun.ini

[IMBaseProvider]
AutoUpgradeIntegrations=1
CommandTimeout=30
HideMsgBox=True
UseOptimizedFiltering=True
DBPath=\\servername\Groups\GPData\GP10\IM\GP10.0_IM.Mdb
[IMGPPrv]
ShowDynamics=False
DoUIRedraw=False
AllowOpenWindows=False
HideMsgBox=True
[IMGPeConnect]
SuppressIntegration=False
HideMsgBox=True