/* Copyright (c) Oracle Corporation 1997. All Rights Reserved */ /*************************************************************** NAME Jre.ins DESCRIPTION This is the product installation script for installing the Java(tm) Runtime Environment (JRE) verison 1.1 as licensed to Oracle for distribution. Use of the Java(tm) Runtime Environemnt is covered by the copyright and license statements which accompany the software. MODIFIED MM/DD/YY Reason mclose 05/07/97 Created ****************************************************************/ { if(doit) { ins_ratchet = "1.1.1"; execute("%installer_home%\%operating_system%.ins"); ui_action(instantiate(installing_license)); copy(license); ui_action(instantiate(installing_executables)); copy(bin); ui_action(instantiate(installing_classes)); copy(lib); copy(security); copy(classes); /* Nothing gets copied, but the classes directory gets created */ ui_action(instantiate(installing_scripts)); copy(deinstl, nls_abbreviation); #SRINI'S EDT jre_version="11"; jre_home = instantiate("%oracle_home%\JRE%JRE_VERSION%"); #/* Add Windows registry entries */ #ui_action(instantiate(adding_reg_entries)); win32_create_key("HKEY_CLASSES_ROOT","JavaRuntimeEnvironment.%JRE_VERSION%\Paths"); win32_set_value("HKEY_CLASSES_ROOT","JavaRuntimeEnvironment.%JRE_VERSION%\Paths", "BINPATH", "%JRE_HOME%\Bin"); win32_set_value("HKEY_CLASSES_ROOT","JavaRuntimeEnvironment.%JRE_VERSION%\Paths", "CLASSPATH", "%JRE_HOME%/lib/rt.jar;%JRE_HOME%/lib/i18n.jar"); ui_product(product_label); ui_action(instantiate(registering_product)); register(current_product); /*** Reference Product and Dependent Product ***/ if(member(selected_products, current_product)) reference(current_product); permit_retry_operations = FALSE; /*** Suppress dialogs for file operation failures. ***/ } }