REM Update Script

REM stop any service running whit this runtime

net stop ${component.node.name}

cd /d "${INSTALL_PATH}"
REM X3-186968.sn - Temporary solution to allow instantclient folders to remain. 
REM This solution is to remain in effect for one release where a new solution 
REM will be provided afterwards. 
REM if exist instantclient_11_2 rmdir /S /Q instantclient_11_2
REM if exist instantclient_12_1 rmdir /S /Q instantclient_12_1
REM if exist instantclient_18_1 rmdir /S /Q instantclient_18_1
REM if exist instantclient_19_1 rmdir /S /Q instantclient_19_1
REM if exist instantclient_19_3 rmdir /S /Q instantclient_19_3
REM X3-186968.en

del /F /Q msodbcsql.msi
del /F /Q vcredist_x64.exe
del /F /Q sem\semaphore.dat

if exist "SAGE ERP"*.txt del /F /Q "SAGE ERP"*.txt
if exist "SAGE ERP"*.htm del /F /Q "SAGE ERP"*.htm

exit 0