/* Copyright (c) Oracle Corporation 1994. All Rights Reserved */ /***************************************************************************** NAME grun60.ins - V3 installation script for Graphics 6.0 Runtime DESCRIPTION This script installs Graphics 6.0 Runtime. MODIFIED MM/DD/YY REASON *****************************************************************************/ { if (doit) { /***************************** Set the VRF-INS script ratchet ******************************/ ins_ratchet = "6.0.8.13.0"; execute("%installer_home%%dir_separator%%operating_system%.ins"); permit_retry_operations = TRUE; permit_ignore_operations = TRUE; permit_process_operations= TRUE; /****************** Install the product *******************/ ui_product(instantiate(display_product_label)); ui_action(instantiate(install_files)); copy(deinst); /************************************************************ Delete the Old Program Group if present and Install the new Program Group *************************************************************/ if(exists("%ORACLE_HOME%/bin/GORUN60.EXE")) { D2K60_GROUP = D2K60_GROUP_OLD; windows_delete_icons(exe); D2K60_GROUP = D2K60_GROUP_NEW; } /************************************************************/ ui_action(instantiate(install_exe)); copy(exe); /**************************************************************** Display the "Harness the Power of Your Desktop" billboard if not already displayed, and if Developer release *****************************************************************/ if(exists("%installer_home%%dir_separator%d2bb_05.bmp")) { if(DEVELOPER2000_RELEASE) { if(not(DEV2K_BB05)) { DEV2K_BB05 = TRUE; ui_graphics("%installer_home%%dir_separator%d2bb_05.bmp"); } } } /****************************************************************/ /**************************************************************** Display the "Harness the Power of Your Desktop" billboard if not already displayed, and if Developer release *****************************************************************/ if(exists("%installer_home%%dir_separator%d2bb_01.bmp")) { if(DEVELOPER2000_RELEASE) { if(not(DEV2K_BB01)) { DEV2K_BB01 = TRUE; ui_graphics("%installer_home%%dir_separator%d2bb_01.bmp"); } } } /****************************************************************/ ui_action(instantiate(install_dll)); copy(dll); ui_action(instantiate(install_files)); copy(res); /********************************* Register and Reference the product and remove delold **********************************/ EXECUTE_SCRIPT = "REGISTER_REFERENCE_PRODUCT"; execute("%installer_home%%dir_separator%d2kr2ins.usr"); /*********************************/ /*********************************** Install Graphics Language Supplement ************************************/ if(child_in_control) { install_grun=TRUE; install(w32graphl60); } permit_retry_operations = FALSE; /************* Install Parent **************/ if(install_parent) /* Install parent first, if necessary */ install(product_parent(current_product)); /*************/ permit_retry_operations = TRUE; /************************ Set Environment Variables *************************/ modify("OCL60", OCL60, ora_config, product_filename(current_product)); win32_register_key("$ORACLE","","OCL60",'REPLICATE); /*************************************************************** Registering map variables except Installer_home and oracle_home ****************************************************************/ win32_register_map_variable("GRAPHICS60"); win32_register_map_variable("DOC60"); win32_register_map_variable("OCL60"); /**************************** Registering map file groups *****************************/ win32_register_OCSM_group(deinst,'MINMODE); win32_register_OCSM_group(exe,'MEDMODE); win32_register_OCSM_group(dll,'MEDMODE); win32_register_OCSM_group(res,'MAXMODE); /***************************************/ /********************* Reference dependencies **********************/ ui_action(instantiate(reference_dependencies)); {reference(current_product,product_parent(current_product));} /* reference parent */ ['UNREGISTERED_PRODUCT: continue();] /*********************/ permit_retry_operations = FALSE; /* Register Graphics in the Windows registry database */ {win32_asynchronous_spawn("%REGEXE% /s %ORACLE_HOME%%dir_separator%BIN%dir_separator%G30RUN.REG");} ['NO_RESPONSE, 'FILE_NOT_FOUND, 'MEMORY_ERROR: continue();] } /*end if(doit)*/ [ 'UNREGISTERED_PRODUCT: continue(); 'CANCEL: signal('FAILURE, instantiate(halt_installation)); ] } /*end grun30.ins*/