/* Copyright (c) Oracle Corporation 1995-97.  All Rights Reserved */

/*******************************************************************************
NAME:	oisfp10.ins
Modification Report:
This file is Generated by OIS
User Blocks can be typed in between END_OIS and next BEGIN_OIS
User Blocks will be preserved during the regeneration of the script by OIS
********************************************************************************/

{
	if (doit) 
	{


	/*BEGIN_OIS,INS_FIRST_BLOCK*/
		ins_ratchet = "1.0.0.0";
		execute("%INSTALLER_HOME%\%script_os%.ins");
		permit_retry_operations  = TRUE;
		permit_ignore_operations = TRUE;
		permit_process_operations= TRUE;
	


	/*END_OIS*/

	/*BEGIN_OIS,INS_DEPENDENCY_BLOCK*/
		if (is_depend_exist)
		{
			OIS_EXECUTE_SCRIPT = "INSTALL_DEPENDENCIES";
			{
				execute("%ois_product_location%\toolsois.ins");
			}
			['FILE_NOT_FOUND:
			{
				sys_file = "toolsois.ins";
				signal('FAILURE,instantiate(no_sys_file));
			}
			]
		}
	

		/**************************
		Install Components
		***************************/
		if (is_parent_product)
		{
			OIS_EXECUTE_SCRIPT = "INSTALL_COMPONENTS";
			execute("%ois_product_location%\toolsois.ins");
		}

		ui_product(instantiate("%%product_label%% %%display_version%%"));
	/*END_OIS*/

	/*BEGIN_OIS,INS_BIND_VARIABLES__BLOCK*/
		file = file1;
		group = group1;
		varlist = varlist1;
		vallist = vallist1;
		append_list = append_list1;
		append_delimiter_list = append_delimiter_list1;
		OIS_EXECUTE_SCRIPT = "INSTALL_ENVIRONMENT_VARIABLES";
		{
			execute("%ois_product_location%\toolsois.ins");
		}
		['FILE_NOT_FOUND:
			{
				sys_file = "%%ois_product_location%%\toolsois.ins";
				signal('FAILURE,instantiate(no_sys_file));
			}
		]

	/*END_OIS*/

	/*OIS_BEGIN,INS_COPY_BLOCK*/

		ui_action(instantiate(installing_scripts));
		overwrite_mode = 'ALWAYS;
		copy(deinstl);
		ui_action(instantiate(installing_dlls));
		copy(dll,"default");
		overwrite_mode = 'UPDATE;
		ui_action(instantiate(UserMsg39));
		PERMIT_RETRY_OPERATIONS = FALSE;
		{
			copy(dll,"mfc");
		}
		['DEFAULT:
			continue();
		]
		PERMIT_RETRY_OPERATIONS = TRUE;
		overwrite_mode = 'ALWAYS;
		ui_action(instantiate(UserMsg37));
		copy(others);
		ui_action(instantiate(installing_res));
		copy(res);
		ui_action(instantiate(installing_execs));
		copy(exe);
		ui_action(instantiate(installing_help));
		copy(help);
		copy(prodmsg,nls_abbreviation);
	/*END_OIS*/


	/*BEGIN_OIS,INS_REGISTRATION_BLOCK*/
		ui_product(product_label);
		ui_action(instantiate(registering));
		register(current_product);
		if (member(selected_products, current_product))
			reference(current_product);
		if (is_depend_exist)
		{
			OIS_EXECUTE_SCRIPT = "REGISTER_REFERENCE_PRODUCT";
			execute("%ois_product_location%\toolsois.ins");
		}

	/*END_OIS*/

	}
}
