
echo "Restarting IIS Server..."
iisreset
echo "Copying Files..."

mkdir ..\BackupSCA22_200720_Studio


regsvr32 /u /s ..\..\shared\BBCA20ScriptGenerator.dll
move  ..\..\shared\BBCA20ScriptGenerator.dll ..\BackupSCA22_200720_Studio\.
copy bin\BBCA20ScriptGenerator.dll ..\..\shared\.
regsvr32 /s ..\..\shared\BBCA20ScriptGenerator.dll

regsvr32 /u /s ..\..\shared\BBCA20Convdll.dll
move  ..\..\shared\BBCA20Convdll.dll ..\BackupSCA22_200720_Studio\.
copy bin\BBCA20Convdll.dll ..\..\shared\.
regsvr32 /s ..\..\shared\BBCA20Convdll.dll

move  ..\bin\bbca20recoding.exe ..\BackupSCA22_200720_Studio\.
copy bin\bbca20recoding.exe ..\bin\.

move ..\home\ConversionObjects\showmappingobjects.asp  ..\BackupSCA22_200720_Studio\.
copy home\ConversionObjects\showmappingobjects.asp ..\home\ConversionObjects\.

move ..\home\ConversionObjects\copytocurrentVRC.asp  ..\BackupSCA22_200720_Studio\.
copy home\ConversionObjects\copytocurrentVRC.asp ..\home\ConversionObjects\.

move ..\home\ConversionObjects\ShowMOControl.asp  ..\BackupSCA22_200720_Studio\.
copy home\ConversionObjects\ShowMOControl.asp ..\home\ConversionObjects\.

move ..\home\ConversionObjects\ShowLGMOControl.asp  ..\BackupSCA22_200720_Studio\.
copy home\ConversionObjects\ShowLGMOControl.asp ..\home\ConversionObjects\.

move ..\home\ConversionObjects\CheckInProgress.asp  ..\BackupSCA22_200720_Studio\.
copy home\ConversionObjects\CheckInProgress.asp ..\home\ConversionObjects\.


move ..\home\DDImport_Legacy\MDcreator.asp  ..\BackupSCA22_200720_Studio\.
copy home\DDImport_Legacy\MDcreator.asp ..\home\DDImport_Legacy\.

move ..\home\DDImport_Legacy\querybldr.asp  ..\BackupSCA22_200720_Studio\.
copy home\DDImport_Legacy\querybldr.asp ..\home\DDImport_Legacy\.

move ..\home\Applications\filesperapp.asp  ..\BackupSCA22_200720_Studio\.
copy home\Applications\filesperapp.asp ..\home\Applications\.

move ..\home\library\controls\PrjMappingControl.CAB ..\BackupSCA22_200720_Studio\.
copy home\library\controls\PrjMappingControl.CAB ..\home\library\controls\.

move ..\home\library\controls\BBCALGYMappingControl.CAB ..\BackupSCA22_200720_Studio\.
copy home\library\controls\BBCALGYMappingControl.CAB ..\home\library\controls\.


echo "Finished Copying files..."
echo "Restart IIS Server..."
iisreset
echo "Installation Complete. System ready to use..."
pause
