@ECHO ==================================================================
@ECHO --// SSIS Deploy
@ECHO ==================================================================
IF NOT EXIST C:\SSIS GOTO SSIS
:SSIS
MD C:\SSIS
@ECHO ================================================================== > C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO --// Directory structures have been completed at %Time% >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO ================================================================== >> C:\SSIS\ActiveFeedStatusUpdate.log
IF NOT EXIST "C:\SSIS\Reckon.SSIS.BankData.ActiveFeedStatusUpdate" GOTO AFSU
:AFSU
MD "C:\SSIS\Reckon.SSIS.BankData.ActiveFeedStatusUpdate" >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO Current Path %CD% >> C:\SSIS\ActiveFeedStatusUpdate.log
XCOPY /Y Config\Dev\OnlineBanking.dtsConfig C:\SSIS\Reckon.SSIS.BankData.ActiveFeedStatusUpdate\ >> C:\SSIS\ActiveFeedStatusUpdate.log
XCOPY /Y Config\Dev\Onyx.dtsConfig C:\SSIS\Reckon.SSIS.BankData.ActiveFeedStatusUpdate\ >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO ================================================================== >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO --// The files have been completed at %Time% >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO ================================================================== >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO Current Path %CD% >> C:\SSIS\ActiveFeedStatusUpdate.log
DTUTIL /FILE SSIS\ActiveFeedStatusUpdate.dtsx /COPY SQL;ActiveFeedStatusUpdate /DESTSERVER "CRM2015DEV\SQL2014" >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO ================================================================== >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO --// The SSIS Package has been completed at %Time% >> C:\SSIS\ActiveFeedStatusUpdate.log
@ECHO ================================================================== >> C:\SSIS\ActiveFeedStatusUpdate.log
PAUSE