/* Copyright (c) Oracle Corporation 1992. All Rights Reserved */ /***************************************************************************** NAME repcom61.ins - V3.1.2 installation script for Oracle Repository Common Workbench V1.0.4.0 DESCRIPTION This script installs Oracle Repository Common Workbench V1.0.9.0.0 OWNER Jeremy Williams MODIFIED DD-MMM-YYYY Reason rjclark 21-AUG-2000 Updated so korean files get installed rjclark 17-AUG-2000 Moved reg setting to cktl61.ins fixing bug 1369930 jewillia 03-JUL-1995 Different oracle.ini groups for shared oracle jewillia 07-NOV-1994 Created *****************************************************************************/ { { start_ins_list = list(current_script, 'DEBUG_REPCOM61, "repcom61.bmp"); EXECUTE_SCRIPT = "START.INS"; execute("%product_home%\des2k_72.ins"); if (doit) { ui_product(product_label); ui_action(instantiate(installing_product)); ins_ratchet = "7.2.96.5.6"; EXECUTE_SCRIPT = "INSTALL_DEPENDENCIES.INS"; execute("%product_home%\des2k_72.ins"); case_graphics_file = "repcom61.bmp"; EXECUTE_SCRIPT = "DES2_BB.DIS"; execute("%product_home%\des2k_72.ins"); EXECUTE_SCRIPT = "DES2_START_COPY.INS"; execute("%product_home%\des2k_72.ins"); ui_action(instantiate(removing_old)); EXECUTE_SCRIPT = "DES2_OLD.INS"; execute("%product_home%\des2k_72.ins"); if (case_install_files) { ui_action(instantiate(installing_deinstl)); copy(deinstl,nls_abbreviation); copy(product); ui_action(instantiate(installing_registry)); copy(regfile); if (patch_installation) { ui_action(instantiate(installing_patchset)); copy(patchset); copy(bin); /* see below for explanation of copy(ldll,???) */ copy(ldll,"%language_subgroup%"); copy(ldll_ja,"%language_subgroup%"); copy(ldll_nls,"%nls_abbreviation%"); } else if (not(case_registry_only_install)) { ui_action(instantiate(installing_msb)); copy(msb); ui_action(instantiate(installing_bin)); copy(bin); /* note that in installr/install/des2k_72.vrf, language_subgroup is set to the supported language and this is used instead of nls_abbreviation (the selected language) when copying group ldll/ldll_nls (non US files are seperated from US for 9i support). As our code is only English (US) at the moment language_subgroup (the supported langauge) is always set to "US". (we may soon support "JA" - check des2k_72.vrf) */ copy(ldll,"%language_subgroup%"); copy(ldll_ja,"%language_subgroup%"); /* in a few instances we provide nls specific versions of SOME files, so install the supported language (done above) and then overwrite if required. */ copy(ldll_nls,"%nls_abbreviation%"); ui_action(instantiate(installing_main)); copy(main); ui_action(instantiate(installing_icon)); copy(icon); } } if (case_install_patch_files) { EXECUTE_SCRIPT = "INSPATCH.INS"; execute("%product_home%\des2k_72.ins"); } EXECUTE_SCRIPT = "DES2_END_COPY.INS"; execute("%product_home%\des2k_72.ins"); { /* register icon dll */ /* CWICON_OCX_FILE = "CWIcon2File.dll";*/ case_regedit_list = list(CWICON_OCX_FILE); EXECUTE_SCRIPT = "DES2_OCXEDIT.INS"; execute("%product_home%\des2k_72.ins"); } EXECUTE_SCRIPT = "INSTALL_CHILDREN.INS"; execute("%product_home%\des2k_72.ins"); ui_action(instantiate(modify_environment)); ini_section = product_filename(current_product); { /* simple variable modification */ case_modify_list = list(); /* remove old variables */ /* new variables */ add(case_modify_list,list("REPCOM61", "%REPCOM61%", ora_config, ini_section, 'INI_SECTION, 'TOP_LEVEL)); /* These are set in the user.avf */ add(case_modify_list,list("REPOS_R10_GROUP", "%REPOS_R10_GROUP%", ora_config, ini_section, 'INI_SECTION, 'TOP_LEVEL)); add(case_modify_list,list("REPOS_R10_BULLETINS", "%REPOS_R10_BULLETINS%", ora_config, ini_section, 'INI_SECTION, 'TOP_LEVEL)); add(case_modify_list,list("UseBroadcastNotification", 1, ora_config, ini_section)); add(case_modify_list,list("UseNetworkNotification", 0, ora_config, ini_section)); add(case_modify_list,list("WARNING_LEVEL", 1, ora_config, ini_section)); add(case_modify_list,list("OUTPUT_LOG_FILE_NAME", "oratst.txt", ora_config, ini_section)); add(case_modify_list,list("JVM_DISABLE_MERGE", jvm_merge_disabled, ora_config, ini_section)); EXECUTE_SCRIPT = "MODIFY_VARIABLES.CMN"; execute("%product_home%\des2k_72.ins"); } { /* execute_variables */ case_execute_list = list(); add(case_execute_list,list("EXECUTE_REPOSITORY_UTILS61", "ckutl", bin, ora_config, ini_section, 'INI_SECTION, 'REPADM61_SECTION)); add(case_execute_list,list("EXECUTE_REPOSITORY_VERSIONING61", "ckver", bin, ora_config, ini_section)); EXECUTE_SCRIPT = "MODIFY_EXECUTE.INS"; execute("%product_home%\des2k_72.ins"); } { /* broadcast variables */ case_broadcast_list = list(); EXECUTE_SCRIPT = "MODIFY_BROADCAST.INS"; execute("%product_home%\des2k_72.ins"); } if (not(REPCOM61_REGISTRY_FILE == "")) { case_regedit_list = list(REPCOM61_REGISTRY_FILE); EXECUTE_SCRIPT = "DES2_REGEDIT.INS"; execute("%product_home%\des2k_72.ins"); } ui_action(instantiate(registering_product)); EXECUTE_SCRIPT = "DES2_REF.INS"; execute("%product_home%\des2k_72.ins"); case_graphics_file = "repcom61.bmp"; EXECUTE_SCRIPT = "DES2_BB.REM"; execute("%product_home%\des2k_72.ins"); } } [ 'UNREGISTERED_PRODUCT: continue(); 'CANCEL: signal('FAILURE, instantiate(halt_installation)); ] EXECUTE_SCRIPT = "END.INS"; execute("%product_home%\des2k_72.ins"); }