rem **********************************************************************
rem*
rem*
rem*
rem*
rem*
rem*
rem*
rem **********************************************************************

REM /V verifies that the file has been properly copied
REM /R allows overwrite of read only files at destination
REM /F displays full paths as copy takes place
REM /Y supress prompt to overwrite existing files
REM /U unregister
REM /S silent

xcopy "C:\Program Files\Dicommunicator\OCXs\comctl32.ocx" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\DicomObjects.ocx" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\DicomObjects.lic" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\EncodeX.dll" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\EncodeX.ocx" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\FtpX.DLL" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\FtpX.OCX" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\MabryObj.dll" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\MailAX.ocx" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\MimeX.dll" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\MSCal.ocx" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\PopX.dll" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\PopX.OCX" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\SmtpX.DLL" "C:\WINDOWS\System32" /v /r /f /y
xcopy "C:\Program Files\Dicommunicator\OCXs\SmtpX.OCX" "C:\WINDOWS\System32" /v /r /f /y
rem xcopy "STDOLE2.TLB" C:\WINDOWS\System32 /v /r /f /y
rem xcopy "xEncryptv4.ocx" C:\WINDOWS\System32 /v /r /f /y

regsvr32.exe /u /s ASYCFILT.dll

regsvr32.exe  /s ASYCFILT.dll

regsvr32.exe /u /s COMCAT.dll

regsvr32.exe  /s COMCAT.dll

regsvr32.exe /u /s CTL3D32.dll

regsvr32.exe  /s CTL3D32.dll

regsvr32.exe /u /s DicomObjects.ocx

regsvr32.exe  /s "C:\Program Files\Dicommunicator\OCXs\DicomObjects.ocx"

regsvr32.exe /u /s EncodeX.dll

regsvr32.exe  /s "C:\WINDOWS\System32\EncodeX.dll"

regsvr32.exe /u /s EncodeX.ocx

regsvr32.exe  /s "C:\WINDOWS\System32\EncodeX.ocx"

regsvr32.exe /u /s FTPX.dll

regsvr32.exe  /s "C:\WINDOWS\System32\FTPX.dll"

regsvr32.exe /u /s FtpX.ocx

regsvr32.exe  /s "C:\WINDOWS\System32\FtpX.ocx"

regsvr32.exe /u /s Mabryobj.dll

regsvr32.exe  /s "C:\WINDOWS\System32\Mabryobj.dll"

regsvr32.exe /u /s MimeX.dll

regsvr32.exe  /s "C:\WINDOWS\System32\MimeX.dll"

regsvr32.exe /u /s MSVBVM50.dll

regsvr32.exe  /s "C:\WINDOWS\System32\MSVBVM50.dll"

regsvr32.exe /u /s MSCAL.OCX

regsvr32.exe  /s "C:\WINDOWS\System32\MSCAL.OCX"

regsvr32.exe /u /s OLEAUT32.dll

regsvr32.exe  /s OLEAUT32.dll

regsvr32.exe /u /s OLEPRO32.dll

regsvr32.exe  /s OLEPRO32.dll

regsvr32.exe /u /s PopX.dll

regsvr32.exe  /s "C:\WINDOWS\System32\PopX.dll"

regsvr32.exe /u /s PopX.ocx

regsvr32.exe  /s "C:\WINDOWS\System32\PopX.ocx"

regsvr32.exe /u /s SMTPX.dll

regsvr32.exe  /s "C:\WINDOWS\System32\SMTPX.dll"

regsvr32.exe /u /s SMTPX.ocx

regsvr32.exe  /s "C:\WINDOWS\System32\SMTPX.ocx"

rem regsvr32.exe /u /s STDOLE2.tlb

rem regsvr32.exe  /s STDOLE2.tlb

regsvr32.exe /u /s xEncryptv4.ocx

regsvr32.exe  /s "C:\Program Files\Dicommunicator\OCXs\xEncryptv4.ocx"