/* Copyright (c) Oracle Corporation 1992. All Rights Reserved */ /***************************************************************************** NAME cgens72.dei - V3.1.2 de-installation script for Oracle Server Generator 5.5.0 DESCRIPTION This script deinstalls Oracle Server Generator 5.5.0 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(cgen72_product, sysdes61_product, repadm20_product, chelp72_product, creq72_product); */ /********************************************************************** Bind all deinstall variables here 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"; CGENS72 = execute("%installer_home%\des2k_72.dei"); case_map_variables = list('DES2K_R61_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_sql = nls("deinstalling_sql","Deinstalling %%registry_label%% SQL files..."); deinstalling_tpl_db2x = nls("deinstalling_tpl_db2x","Deinstalling %%registry_label%% template files for DB2..."); deinstalling_tpl_genx = nls("deinstalling_tpl_genx","Deinstalling %%registry_label%% template files for generic ANSI..."); deinstalling_tpl_mapi = nls("deinstalling_tpl_mapi","Deinstalling %%registry_label%% template files for Module API..."); deinstalling_tpl_orcl = nls("deinstalling_tpl_orcl","Deinstalling %%registry_label%% template files for Oracle..."); deinstalling_tpl_or7x = nls("deinstalling_tpl_or7x","Deinstalling %%registry_label%% template files for Oracle7..."); deinstalling_tpl_or8x = nls("deinstalling_tpl_or78","Deinstalling %%registry_label%% template files for Oracle8..."); deinstalling_tpl_polx = nls("deinstalling_tpl_polx","Deinstalling %%registry_label%% template files for Personal Oracle Lite..."); deinstalling_tpl_rdbx = nls("deinstalling_tpl_rdbx","Deinstalling %%registry_label%% template files for Generic RDBs..."); deinstalling_tpl_svrx = nls("deinstalling_tpl_svrx","Deinstalling %%registry_label%% template files for Sql*Server..."); deinstalling_tpl_sybx = nls("deinstalling_tpl_sybx","Deinstalling %%registry_label%% template files for Sybase..."); deinstalling_tpl_tapi = nls("deinstalling_tpl_tapi","Deinstalling %%registry_label%% template files for Table API..."); deinstalling_tpl_rr = nls("deinstalling_tpl_rr", "Deinstalling %%registry_label%% template files for Reconcile Report..."); } 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_tpl_db2x)); remove(tpl_db2x); ui_action(instantiate(deinstalling_tpl_genx)); remove(tpl_genx); ui_action(instantiate(deinstalling_tpl_mapi)); remove(tpl_mapi); ui_action(instantiate(deinstalling_tpl_orcl)); remove(tpl_orcl); ui_action(instantiate(deinstalling_tpl_polx)); remove(tpl_polx); ui_action(instantiate(deinstalling_tpl_rdbx)); remove(tpl_rdbx); ui_action(instantiate(deinstalling_tpl_svrx)); remove(tpl_svrx); ui_action(instantiate(deinstalling_tpl_sybx)); remove(tpl_sybx); ui_action(instantiate(deinstalling_tpl_tapi)); remove(tpl_tapi); ui_action(instantiate(deinstalling_tpl_rr)); remove(tpl_rr); ui_action(instantiate(deinstalling_sql)); remove(sql); ui_action(instantiate(deinstalling_main)); remove(main); ui_action(instantiate(deinstalling_bin)); remove(bin); remove(ldll); remove(ldll_ja); 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("CGENS72", "", ora_config, ini_section, 'INI_SECTION, 'TOP_LEVEL)); add(case_modify_list,list("DES2K_R61_BULLETINS", "", ora_config, ini_section)); add(case_modify_list,list("EXECUTE_SERVER_GEN72", "", ora_config, ini_section)); add(case_modify_list,list("EXECUTE_SERVER_GEN_UI72", "", ora_config, ini_section)); add(case_modify_list,list("EXECUTE_DB_NAVIGATOR_61", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_DB2", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_GENERIC", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_MODULE_API", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_ORACLE7", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_ORACLE8", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_POLITE", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_RDB", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_SQLSERVER", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_SYBASE", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_TABLE_API", "", ora_config, ini_section)); add(case_modify_list,list("TEMPLATE_RECONCILE_REPORT", "", ora_config, ini_section)); add(case_modify_list,list("SERVER_API_SERVER_GEN72", "", ora_config, ini_section)); add(case_modify_list,list("CDS_UTILITY_MSG_DATA", "", ora_config, ini_section, 'REPCOM61_SECTION)); add(case_modify_list,list("EDITOR", "", ora_config, ini_section)); add(case_modify_list,list("GENERATE_CONTINUEONWARNING", "", ora_config, ini_section)); add(case_modify_list,list("GENERATE_CONTINUESQLEXECERROR", "", ora_config, ini_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"); } }