@echo off @echo "Installing AppServer service ..." ${INSTALL_PATH}\Protheus\bin\appserver\appserver.exe -remove >> "${INSTALL_PATH}\uninstaller\install.log" 2>> "${INSTALL_PATH}\uninstaller\install_err.log" ${INSTALL_PATH}\Protheus\bin\appserver\appserver.exe -install >> "${INSTALL_PATH}\uninstaller\install.log" 2>> "${INSTALL_PATH}\uninstaller\install_err.log" SC description "${APPSERVER_SNAME}" "${APPSERVER_SDISP} service" >> "${INSTALL_PATH}\uninstaller\install.log" 2>> "${INSTALL_PATH}\uninstaller\install_err.log" SC config "${APPSERVER_SNAME}" start= auto >> "${INSTALL_PATH}\uninstaller\install.log" 2>> "${INSTALL_PATH}\uninstaller\install_err.log" @echo "Starting Appserver ..." SC start "${APPSERVER_SNAME}" >> "${INSTALL_PATH}\uninstaller\install.log" 2>> "${INSTALL_PATH}\uninstaller\install_err.log" EXIT 0