@echo off

gacutil -u DevExpress.Data.v12.1
mkdir %windir%\assembly\GAC_MSIL\DevExpress.Data.v12.1\12.1.7.0__b88d1754d700e49a
copy DevExpress.Data.v12.1.dll %windir%\assembly\GAC_MSIL\DevExpress.Data.v12.1\12.1.7.0__b88d1754d700e49a

gacutil -u DevExpress.Utils.v12.1
mkdir %windir%\assembly\GAC_MSIL\DevExpress.Utils.v12.1\12.1.7.0__b88d1754d700e49a
copy DevExpress.Utils.v12.1.dll %windir%\assembly\GAC_MSIL\DevExpress.Utils.v12.1\12.1.7.0__b88d1754d700e49a

gacutil -u DevExpress.CodeRush.Common
mkdir %windir%\assembly\GAC_MSIL\DevExpress.CodeRush.Common\12.1.7.0__35c9f04b7764aa3d
copy DevExpress.CodeRush.Common.dll %windir%\assembly\GAC_MSIL\DevExpress.CodeRush.Common\12.1.7.0__35c9f04b7764aa3d
REM copy DevExpress.CodeRush.Common.dll "C:\Program Files\DevExpress 2012.1\IDETools\System\DXCore\BIN\DevExpress.CodeRush.Common.dll"
if "[%ProgramFiles(x86)%]" == "[]" (copy DevExpress.CodeRush.Common.dll "%ProgramFiles%\DevExpress 2012.1\IDETools\System\DXCore\BIN\DevExpress.CodeRush.Common.dll") else (copy DevExpress.CodeRush.Common.dll "%ProgramFiles(x86)%\DevExpress 2012.1\IDETools\System\DXCore\BIN\DevExpress.CodeRush.Common.dll")


echo 'OK'
pause