home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (c) Oracle Corporation 1992. All Rights Reserved */
- /*****************************************************************************
- NAME
- orainst2.vrf - V3.0.9.2 version analysis/product configuration script for
- V2 Installer
-
- DESCRIPTION
- This script checks dependencies and environment settings for the
- installation of the V2 Installer.
-
- OWNER
- Kush Deepak Jain
-
- MODIFIED DD-MM-YY Reason
- kjain 02-03-92 Created.
- *****************************************************************************/
- {
- product_label = product_interface_label(current_product);
-
- ui_product(product_label);
-
- analyzing_dependencies = instantiate(nls("analyzing_dependencies",
- "Analyzing %%product_label%% Dependencies..."));
-
- ui_action(analyzing_dependencies);
-
- doit = TRUE;
-
- if (registered(product_name(current_product)))
- {
- registry = registration(product_name(current_product));
- current_version = product_version(current_product);
- installed_version = registry_version(registry);
-
- if (earlier_version(registry,current_version))
- {
- doit = yesno_dialog(instantiate(reinstall_prompt01),TRUE,
- instantiate(reinstall_content01),
- instantiate(reinstall_help01));
-
- if (not(doit))
- if (bootstrap)
- information_dialog(instantiate(reinstall_prompt02),
- instantiate(reinstall_content02),
- instantiate(reinstall_help02),);
- }
- else if (later_version(registry,current_version))
- doit = yesno_dialog(instantiate(reinstall_prompt03),FALSE
- instantiate(reinstall_content03),
- instantiate(reinstall_help03));
- else /* if (not(bootstrap)) */
- doit = yesno_dialog(instantiate(reinstall_prompt04),FALSE,
- instantiate(reinstall_content04),
- instantiate(reinstall_help04));
- }
-
- if (doit)
- {
-
- subdirectory = "%oracle_home%\PBIN";
- make_directory(subdirectory);
- subdirectory = "%oracle_home%\BIN";
- make_directory(subdirectory);
-
- copy_file("PLOADR.COM","%oracle_home%\PBIN\");
-
- installing_executables = nls("installing_executables",
- "Installing %%product_label%% Executables...");
- installing_scripts = nls("installing_scripts",
- "Installing %%product_label%% Scripts...");
-
- registering_product = nls("registering_product",
- "Registering %%product_label%%...");
-
- return(sum(deinstl,exe));
- }
- else
- return(0);
- }