@echo off @echo "Installing SmartClient WebApp x64 ..." "${INSTALL_PATH}\unzip.exe" -oqq "${INSTALL_PATH}\protheus\bin\smartclientwebapp\windows\webapp_windows_64.zip" -d "${INSTALL_PATH}\protheus\bin\smartclientwebapp\windows" >> "${INSTALL_PATH}\uninstaller\install_webapp.log" 2>> "${INSTALL_PATH}\uninstaller\install_webapp_err.log" move /y "${INSTALL_PATH}\protheus\bin\smartclientwebapp\windows\*.dll" "${INSTALL_PATH}\protheus\bin\appserver" >> "${INSTALL_PATH}\uninstaller\install_webapp.log" 2>> "${INSTALL_PATH}\uninstaller\install_webapp_err.log" del /Q "$INSTALL_PATH\Protheus\bin\smartclientwebapp\windows\*.zip" >> "${INSTALL_PATH}\uninstaller\install_webapp.log" 2>> "${INSTALL_PATH}\uninstaller\install_webapp_err.log" rd /Q /S "$INSTALL_PATH\protheus\bin\smartclientwebapp\" >> "${INSTALL_PATH}\uninstaller\install_webapp.log" 2>> "${INSTALL_PATH}\uninstaller\install_webapp_err.log" start http://localhost:${WEBAPP_PORT} EXIT 0