/* Copyright (c) Oracle Corporation 1992. All Rights Reserved */ /***************************************************************************** NAME rssisd61.dei - V3.1.2 de-installation script for Oracle Repository Management Facilities 1.0.4 DESCRIPTION This script deinstalls Oracle Repository Managemet Facilities 1.0.4 OWNER Jeremy Williams MODIFIED DD-MMM-YY Reason jewillia 10-NOV-94 Created *****************************************************************************/ { { doit = execute("%installer_home%\%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)."))); ] /* unreference self so that product can be de-installed when last depending product is removed. Probably should be in de-installation script. */ if (member(registration("selected_registries"),current_registry)) { unreference(current_registry); } if (doit) { dei_ratchet = "7.2.96.5.6"; EXECUTE_SCRIPT = "DES2_PRODUCT_NAMES.DEI"; execute("%installer_home%\des2k_72.dei"); /* now stored in registry deinstall_list = list(repadm61_product, chelp72_product, creq72_product); */ /********************************************************************** Bind all deinstall variables and de-reference dependents **********************************************************************/ EXECUTE_SCRIPT = "DES2_REF.DEI"; execute("%installer_home%\des2k_72.dei"); case_registration_product = registry_name(current_registry); EXECUTE_SCRIPT = "DES2_REG.DEI"; rssisd61 = execute("%installer_home%\des2k_72.dei"); case_map_variables = list('REPOS_R10_BULLETINS); EXECUTE_SCRIPT = "DES2_MAP.DEI"; execute("%installer_home%\des2k_72.dei"); /********************************************************************** Bind all NLS deinstall strings here... **********************************************************************/ unregistering = nls("unregistering","Unregistering %%registry_label%%..."); modify_config = nls("modify_config","Modifying %%registry_label%% Environment Variables..."); deinstalling_deinstl = nls("deinstalling_deinstl","Deinstalling %%registry_label%% Deinstallation scripts..."); deinstalling_msb = nls("deinstalling_msb","Deinstalling %%registry_label%% Message files..."); deinstalling_ini = nls("deinstalling_ini","Deinstalling %%registry_label%% Configuration files..."); deinstalling_bin = nls("deinstalling_bin","Deinstalling %%registry_label%% Executable files..."); deinstalling_main = nls("deinstalling_main","Deinstalling %%registry_label%% Product files..."); deinstalling_nls = nls("deinstalling_nls","Deinstalling %%registry_label%% NLS Support files..."); deinstalling_api = nls("deinstalling_api","Deinstalling %%registry_label%% API Support files..."); deinstalling_ins = nls("deinstalling_ins","Deinstalling %%registry_label%% INS Support files..."); deinstalling_jin = nls("deinstalling_jin","Deinstalling %%registry_label%% JIN Support files..."); deinstalling_utl = nls("deinstalling_utl","Deinstalling %%registry_label%% UTL Support files..."); deinstalling_sql = nls("deinstalling_sql","Deinstalling %%registry_label%% SQL Support files..."); deinstalling_cnv = nls("deinstalling_cnv","Deinstalling %%registry_label%% CNV Support files..."); deinstalling_upg = nls("deinstalling_upg","Deinstalling %%registry_label%% UPG Support files..."); deinstalling_cpa = nls("deinstalling_cpa","Deinstalling %%registry_label%% CPA Support files..."); } if (doit) { /********************************************************************** Deinstall children (the code tests to see if self is selected) **********************************************************************/ EXECUTE_SCRIPT = "DEINSTALL_CHILDREN.DEI"; execute("%installer_home%\des2k_72.dei"); } if (doit) { /********************************************************************** Check to make sure all children have gone **********************************************************************/ /* if children are explicitly referencecd by other products than they will not have removed themselves. So do not remove parent either. if children have gone then their registries will have gone as well. */ if (empty(all_child_registrations(current_registry))) { /********************************************************************** Continue with the deinstallation of this product **********************************************************************/ permit_retry_operations = TRUE; ui_action(instantiate(unregistering)); unregister(current_registry); ui_action(instantiate(deinstalling_cpa)); remove(cpa); ui_action(instantiate(deinstalling_upg)); remove(upg); ui_action(instantiate(deinstalling_cnv)); remove(cnv); ui_action(instantiate(deinstalling_sql)); remove(sql); ui_action(instantiate(deinstalling_utl)); remove(utl); ui_action(instantiate(deinstalling_jin)); remove(jin); ui_action(instantiate(deinstalling_ins)); remove(ins); ui_action(instantiate(deinstalling_api)); remove(sqlapi); remove(pkh); remove(pkb); remove(epb); remove(rps); remove(rpb); remove(mps); remove(mpb); remove(hpb4); remove(hpb2); remove(hpb1); remove(ips); remove(ipb); remove(ins); remove(opb4); remove(opb3); remove(opb2); remove(opb1); remove(hps4); remove(hps2); remove(hps1); remove(ops4); remove(ops3); remove(ops2); remove(ops1); remove(eps); ui_action(instantiate(deinstalling_nls)); remove(nlsstuff); ui_action(instantiate(deinstalling_main)); remove(main); ui_action(instantiate(deinstalling_bin)); remove(bin); remove(ldll); ui_action(instantiate(deinstalling_msb)); remove(msb); ui_action(instantiate(deinstalling_deinstl)); remove(deinstl); remove(product); permit_retry_operations = FALSE; ini_section = registry_filename(current_registry); case_modify_list = list(); add(case_modify_list,list("RSSISD61", "", ora_config, ini_section, 'INI_SECTION, 'TOP_LEVEL)); add(case_modify_list,list("REPOS_R10_BULLETINS", "", ora_config, ini_section)); add(case_modify_list,list("BPD_Repository_Option", "", ora_config, ini_section, 'INI_SECTION, 'REPMAN61_SECTION)); add(case_modify_list,list("", "", ora_config, ini_section)); EXECUTE_SCRIPT = "MODIFY_VARIABLES.CMN"; execute("%installer_home%\des2k_72.dei"); } } if (doit) { /********************************************************************** Continue with the deinstallation of dependent products **********************************************************************/ EXECUTE_SCRIPT = "DEINSTALL_DEPENDENCIES.DEI"; execute("%installer_home%\des2k_72.dei"); } }