/* Copyright (c) Oracle Corporation 1995-96. All Rights Reserved */ /******************************************************************************* NAME: E:\Ois Lite Releases\17-01-97\oisfp10\oisfp10.dei Modification Report: This file is Generated by OIS User Blocks can be typed in between END_OIS and next BEGIN_OIS User Blocks will be preserved during the regeneration of the script by OIS ********************************************************************************/ { /*OIS_BEGIN,NLS_MESSAGE_BLOCK*/ instver_too_early1 = nls("instver_too_early1","The version of the Installer currently running is %%installer_version%%.The installation you have chosen requires version %%required_version%% or later.Please run version %%required_version%% or later in order to perform this installation."); registering = nls("registering","Registering %%product_label%%..."); env_var_modify = nls("env_var_modify","Modifying %%product_label%% Environment Variables..."); unzip_msg = nls("unzip_msg","Unzipping %%product_label%%.zip - This might take some time..."); setup_msg = nls("setup_msg","Starting setup for %%product_label%%..."); no_sys_file = nls("no_sys_file","System file %sys_file% is not available. Installation cannot continue!"); instver_too_early2 = nls("instver_too_early2","The version of the Installer currently running is %%installer_version%%. The product(s) you have chosen to deinstall were installed with a later version of the Installer. Please use a later version of the Installer to deinstall these product(s)."); unregistering_product = nls("unregistering_product","Unregistering %%registry_label%%..."); env_var = nls("env_var","Modifying %%registry_label%% Environment Variables..."); noprod_prompt = nls("noprod_prompt","This product does not have any deinstaller. Deinstallation cannot continue"); deinstall_unregister = nls("deinstall_unregister","Unregistering %%registry_label%%..."); unreference_dependencies = nls("unreference_dependencies","Unreferencing %%registry_label%% Dependencies..."); install_product = nls("install_product","Where should %%product_label%% be installed?"); install_components = nls("install_components","Installing %%product_label%% Components..."); install_dependencies = nls("install_dependencies","Installing %%product_label%% Dependencies..."); install_register = nls("install_register","Registering %%product_label%%..."); install_loc_conflict = nls("install_loc_conflict","Another product is already installed at this location. Please specify a different location to install %%product_label%%."); halt_installation = nls("halt_installation","Cancelled installation at user's request..."); reference_dependencies = nls("reference_dependencies","Referencing %%product_label%% Dependencies..."); modify_variables = nls("modify_variables","Modifying %%product_label%% Environment Variables..."); display_product_label = nls("display_product_label","%%product_label%% %%display_version%%"); deinstall_which = nls("deinstall_which","Remove which %%registry_label%%?"); deinstall_location = nls("deinstall_location","%%registry_label%% is not found in this directory. Do you wish to attempt to deinstall at this location anyway?"); deinstall_components = nls("deinstall_components","Deinstalling %%registry_label%% Components..."); UserMsg38 = nls("UserMsg38","Removing %%registry_label%% Template files..."); /*END_OIS*/ /*OIS_BEGIN,NLS_MESSAGE_BLOCK*/ deinstalling_script = nls("deinstalling_script","Removing %%registry_label%% Installation Scripts..."); deinstalling_execs = nls("deinstalling_execs","Removing %%registry_label%% executables..."); deinstalling_dlls = nls("deinstalling_dlls","Removing %%registry_label%% dynamic link libraries..."); deinstalling_help = nls("deinstalling_help","Removing %%registry_label%% help files..."); deinstalling_res = nls("deinstalling_res","Removing %%registry_label%% resource files..."); deinstalling_msg = nls("deinstalling_msg","Removing %%registry_label%% message files..."); /*END_OIS*/ /*BEGIN_OIS,DEI_FIRST_BLOCK*/ /* Call the OS.dei script */ { script_os = script_os; } ['UNBOUND_VARIABLE: script_os = operating_system; ] { platform_prefix = platform_prefix; } ['UNBOUND_VARIABLE: platform_prefix = product_prefix; ] windows_sys_dir = "%windows_dir%\system32"; if (operating_system == "win95") { windows_sys_dir = "%windows_dir%\system"; } { doit = execute("%INSTALLER_HOME%\%script_os%.dei"); } [ 'UNBOUND_VARIABLE: signal('failure,instantiate(instver_too_early2)); ] if (doit) { /* Go ahead and deinstall */ implode_explode_delimiter = ";"; /* Create Product Label by adding version */ ois_prodname = registry_filename(current_registry); OIS_EXECUTE_SCRIPT = "CREATE_LABEL"; { execute(instantiate("%installer_home%\%ois_prodname%.det")); } ['FILE_NOT_FOUND: { sys_file = "%%ois_prodname%%.det"; signal('FAILURE,instantiate(no_sys_file)); } ] /* Determine Product Location */ OIS_EXECUTE_SCRIPT = "GET_DEINSTALLATION_PATH"; child_products = all_child_registrations(current_registry); is_parent_product = true; if (empty(child_products)) is_parent_product = false; is_child_product = true; { PARENT_PRODUCT = registry_parent(current_registry); } ['PARENT_NOT_FOUND: is_child_product = FALSE; ] if (is_child_product) { PARENT_PRODUCT = registry_parent(current_registry); PARENT_REGISTRY_NAME = registry_filename(PARENT_PRODUCT); deinstall_variable = "%parent_registry_name%"; if (operating_system == "os2") section_heading = "="; else section_heading = "%parent_registry_name%"; PROD_HOME = execute(instantiate("%installer_home%\%%ois_prodname%%.det")); } else { deinstall_variable = registry_filename(current_registry); if (operating_system == "os2") section_heading = "="; else section_heading = "%current_registry%"; PROD_HOME = execute(instantiate("%installer_home%\%%ois_prodname%%.det")); } /*END_OIS*/ /*OIS_BEGIN,DEI_REMOVE_VARIABLES_BLOCK*/ file1 = ora_config; group1 = "oisfp10"; varlist1 = list("oisfp","oisfp10","ois20api"); vallist1 = list("%PROD_HOME%","%PROD_HOME%","%PROD_HOME%"); file = file1; group = group1; varlist = varlist1; vallist = vallist1; OLD_SECTION_HEADING_EXISTS = FALSE; OIS_EXECUTE_SCRIPT = "REMOVE_ENVIRONMENT_VARIABLES"; execute(instantiate("%INSTALLER_HOME%\%%ois_prodname%%.det")); vallist1 = vallist; /*END_OIS*/ /*OIS_BEGIN,DEI_REMOVE_BLOCK*/ ui_product(registry_label); permit_retry_operations = TRUE; ui_action(instantiate(unregistering_product)); unregister(current_registry); ui_action(instantiate(deinstalling_script)); remove(deinstl); ui_action(instantiate(deinstalling_dlls)); remove(dll,"default"); ui_action(instantiate(UserMsg38)); remove(others); ui_action(instantiate(deinstalling_res)); remove(res); ui_action(instantiate(deinstalling_execs)); remove(exe); ui_action(instantiate(deinstalling_help)); remove(help); remove(prodmsg,nls_abbreviation); /*END_OIS*/ } }