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

mkdir ..\BackupSCA22_200710_Studio


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

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

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

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

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

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

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

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

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

move ..\home\library\controls\BBCALGYMappingControl.CAB ..\BackupSCA22_200710_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
