home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 February
/
PCWK0296.iso
/
po7_win
/
install
/
windows.pvf
< prev
next >
Wrap
Text File
|
1994-09-02
|
2KB
|
63 lines
/* Copyright (c) Oracle Corporation 1993. All Rights Reserved */
/*****************************************************************************
NAME
windows.pvf - V3 post version analysis script for Windows products.
DESCRIPTION
This script performs post version analysis functionality. In particular,
it analyzes the 'products_for_installation' list so that the Installer
can report which products need to be implicitly installed as a consequence
of the user's current configuration and product selection.
OWNER
Dan Galatin
MODIFIED DD-MMM-YY Reason
dgalatin 15-AUG-94 Fixed bug #231109.
dgalatin 24-JUL-94 Added 'prod_not_empty' boolean.
kjain 07-JUL-94 Added verbose mode support.
dgalatin 05-NOV-93 Created.
*****************************************************************************/
{
if (user_action == 'install)
{
{
prod_not_empty = not(empty(products_for_installation));
if (verbose)
{
extras = list();
while (not(empty(products_for_installation)))
{
if (not(member(selected_products,
first(products_for_installation))))
{
prodlab = product_interface_label(first(products_for_installation));
ver = product_version(first(products_for_installation));
add(extras,instantiate(version_string));
}
products_for_installation = rest(products_for_installation);
}
if (not(empty(extras)))
{
extrastring = implode(extras,", ");
required_products_prompt = nls("required_products_prompt","The following product(s) are required and will be installed in addition to the ones you have chosen:%carriage_return%%carriage_return%%%extrastring%%");
required_products_content = nls("required_products_content","Required Products");
information_dialog(instantiate(required_products_prompt),
required_products_content,
instantiate(required_products_prompt));
}
}
}
[ 'UNBOUND_VARIABLE: continue(); ]#; /* products_for_installation */
/* could possibly be unbound */
}
return(0);
}