/* Copyright (c) Oracle Corporation 1996. All Rights Reserved */ /***************************************************************************** NAME otm60.dei - V3 de-installation script for Oracle Translation Manager 6.0 DESCRIPTION This script removes Oracle Translation Manager 6.0. MODIFIED MM/DD/YY Reason rbansal 08/19/96 Created. *****************************************************************************/ { /***************************************** Set necessary variables for deinstallation ******************************************/ dir_separator = "\"; /*****************************************/ {doit = execute("%installer_home%%dir_separator%%operating_system%.dei");} [ 'UNBOUND_VARIABLE: signal('failure,instantiate(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)."))); ] if (doit) { /************************ Setup the nls() stuff for deinstall scripts *************************/ EXECUTE_SCRIPT = "SET_DEINSTALL_VARIABLES"; execute("%installer_home%%dir_separator%d2kr2dei.usr"); /************************************************/ /************************************************ Create a label with the product name, and version *************************************************/ EXECUTE_SCRIPT = "CREATE_LABEL"; execute("%installer_home%%dir_separator%d2kr2dei.usr"); /************************************************/ /*********************** Set up dependencies list ************************/ dependency_list = list("w32ssf60", "w32gui60", "w32d2kqt60","w32d2kdoc60", "w32plus80","w32rsf80"); /**************************** Set up product name variables *****************************/ SQLPLUS_PRODUCT = "w32plus80"; deinstall_variable = "OTM60"; section_heading = registry_filename(current_registry); /****************************/ permit_retry_operations = TRUE; permit_retry_operations = TRUE; permit_retry_operations = TRUE; /*********************************** Unreference & Deinstall Dependencies ************************************/ EXECUTE_SCRIPT = "UNREFERENCE_DEPENDENCIES"; execute("%installer_home%%dir_separator%d2kr2dei.usr"); /***********************************/ /***************************** Unreference Other Dependencies ******************************/ ui_product(instantiate(display_registry_label)); ui_action(instantiate(unreference_dependencies)); {unreference(registration(SQLPLUS_PRODUCT), current_registry);} /* Unreference SQL*Plus */ ['UNREGISTERED_PRODUCT: continue();] {unreference(registration("w32gui60"), current_registry);} /* Unreference GUI Common Files */ ['UNREGISTERED_PRODUCT: continue();] {unreference(registration("w32ssf60"), current_registry);} /* Unreference System Support Files */ ['UNREGISTERED_PRODUCT: continue();] {unreference(registration("w32d2kqt60"), current_registry);} /* Unreference Oracle Quick Tour */ ['UNREGISTERED_PRODUCT: continue();] {unreference(registration("w32d2kdoc60"), current_registry);} /* Unreference Forms & Reports - online line doc */ ['UNREGISTERED_PRODUCT: continue();] /*****************************/ /********************* Unregister the product **********************/ ui_product(instantiate(display_registry_label)); ui_action(instantiate(deinstall_unregister)); unregister(current_registry); /******************** Deinstall the product *********************/ ui_action(instantiate(deinstall_files)); remove(sql); ui_action(instantiate(deinstall_exe)); remove(exe); ui_action(instantiate(deinstall_dll)); remove(dll); ui_action(instantiate(deinstall_files)); remove(deinst); /********************/ /*********************** Remove Registry variable ************************/ {modify("OTM31", "", ora_config, section_heading);} /* remove OTM31 variable from Registry */ [ 'UNBOUND_ENVIRONMENT_VARIABLE: continue(); ] permit_retry_operations = FALSE; } }