/* Copyright (c) Oracle Corporation 1996. All Rights Reserved */ /***************************************************************************** NAME user.pin - user-defined .pin script DESCRIPTION This script allows users access to their own customizable .pin script. MODIFIED MM/DD/YY Reason tjose 10/08/99 Created *****************************************************************************/ { forms_server_start_message = nls("forms_server_start_message","Forms Server [Forms60Server%oracle_home_group1%] could not start. Need to start before you could use it."); if(need_to_start_f_server) { temp_var=current_directory(); change_directory("%ORACLE_HOME%\bin"); spawnerror = spawn("ifsrv60 -install Forms60Server%oracle_home_group1% port=%f__server_port% mode=%f__server_protocol% batch=yes"); change_directory("%temp_var%"); {winnt_start_service("OracleFormsServer-Forms60Server%oracle_home_group1%");} ['NO_RESPONSE,'FILE_NOT_FOUND,'SERVICE_DOES_NOT_EXIST, 'INVALID_SERVICE_NAME, 'PERMISSION_DENIED,'OS_ERROR: information_dialog(forms_server_start_message); 'SERVICE_ALREADY_RUNNING: continue();] } else { if(ifsrv60_has_to_restart) { {winnt_start_service("OracleFormsServer-Forms60Server%oracle_home_group1%");} ['NO_RESPONSE,'FILE_NOT_FOUND,'SERVICE_DOES_NOT_EXIST, 'INVALID_SERVICE_NAME, 'PERMISSION_DENIED,'OS_ERROR: information_dialog(forms_server_start_message); 'SERVICE_ALREADY_RUNNING: continue();] } } reports_server_start_message = nls("reports_server_start_message","Reports Server [%reports__server_name%] could not start. Need to start before you could use it."); if(need_to_start_r_server) { reports__server_name = translate("reports_server_name", "%INSTALLER_HOME%\repname.cfg"); temp_var=current_directory(); change_directory("%ORACLE_HOME%\bin"); spawnerror = spawn("rwmts60 -install %reports__server_name% autostart=yes batch=yes"); change_directory("%temp_var%"); {winnt_start_service("OracleReportServer-%reports__server_name%");} ['NO_RESPONSE,'FILE_NOT_FOUND,'SERVICE_DOES_NOT_EXIST, 'INVALID_SERVICE_NAME, 'PERMISSION_DENIED,'OS_ERROR: information_dialog(reports_server_start_message); 'SERVICE_ALREADY_RUNNING: continue();] } else { if(rwmts60_has_to_restart) { reports__server_name = translate("reports_server_name", "%INSTALLER_HOME%\repname.cfg"); {winnt_start_service("OracleReportServer-%reports__server_name%%oracle_home_group1%");} ['NO_RESPONSE,'FILE_NOT_FOUND,'SERVICE_DOES_NOT_EXIST, 'INVALID_SERVICE_NAME, 'PERMISSION_DENIED,'OS_ERROR: information_dialog(reports_server_start_message); 'SERVICE_ALREADY_RUNNING: continue();] } } }