/* Copyright (c) Oracle Corporation 1994. All Rights Reserved */ /************************************************************************ NAME user.stp - user-defined .stp script for Oracle Designer DESCRIPTION This script allows users access to their own customizable .stp script. It can be used to bypass the installer window and perform a predefined installation (e.g. complete or custom) MODIFIED DD/MM/YY Reason rjclark 07/08/00 Add Joint install option omr (Oracle Modelling & Repository) comment Added by rjclark for new install rjclark 02/07/00 Seperate out the repos and designer installs jewillia 17/02/97 Re-work installation options with custom dialog jewillia 15/05/95 Allow Multiple selection of sql*net protocols jewillia 28/03/95 Created. **************************************************************************/ { /* ************************************************** instantiate the response file ************************************************** */ /* get the root of the oracle home. Eg d:[\orant] or d:\stage\latest[\orant] */ dir_separator = "\"; o1 = oracle_home; o1_list = explode(o1,dir_separator); o2_list = reverse(o1_list,'NOMUTATE); o3_list = rest(o2_list); o4_list = reverse(o3_list,'NOMUTATE); o4 = implode(o4_list,dir_separator); /* if the oracle home path and name are stored in the registry in this Designer oracle home then use them else construct some default values based on this oracle home */ imp_exp_name="des_817"; { case_translate_list = list("IMP_EXP_ORACLE_HOME_PATH",ora_config,"DES2_72",'TOP_LEVEL); EXECUTE_SCRIPT = "TRANSLATE_VARIABLES.CMN"; imp_exp_oracle_home = execute("des2k_72.cmn"); } ['FILE_NOT_FOUND, 'UNBOUND_ENVIRONMENT_VARIABLE: imp_exp_oracle_home="%o4%\%imp_exp_name%";] { case_translate_list = list("IMP_EXP_ORACLE_HOME_NAME",ora_config,"DES2_72",'TOP_LEVEL); EXECUTE_SCRIPT = "TRANSLATE_VARIABLES.CMN"; imp_exp_oracle_home_name = execute("des2k_72.cmn"); } ['FILE_NOT_FOUND, 'UNBOUND_ENVIRONMENT_VARIABLE: imp_exp_oracle_home_name="%imp_exp_name%_home";] {instantiate_file("toolspk.rsp", "%oracle_home%\toolspk.rsp");} ['INVALID_FILE_NAME, 'FILE_NOT_FOUND, 'READ_ERROR, 'WRITE_ERROR: continue();] {instantiate_file("response.rsp", "%oracle_home%\response.rsp");} ['INVALID_FILE_NAME, 'FILE_NOT_FOUND, 'READ_ERROR, 'WRITE_ERROR: continue();] {instantiate_file("response.txt", "%oracle_home%\response.txt");} ['INVALID_FILE_NAME, 'FILE_NOT_FOUND, 'READ_ERROR, 'WRITE_ERROR: continue();] {instantiate_file("impexp.rsp", "%oracle_home%\impexp.rsp");} ['INVALID_FILE_NAME, 'FILE_NOT_FOUND, 'READ_ERROR, 'WRITE_ERROR: continue();] {instantiate_file("impexpq.rsp", "%oracle_home%\impexpq.rsp");} ['INVALID_FILE_NAME, 'FILE_NOT_FOUND, 'READ_ERROR, 'WRITE_ERROR: continue();] /* ************************************************** some initialisation stuff ************************************************** */ /* define allowed operations */ call_advanced_dialog = FALSE; /* may be overwritten later */ allow_debug_options = FALSE; /* may be overwritten later */ set_designer_products_moh = FALSE; /* may be overwritten later */ set_registry_install = FALSE; /* may be overwritten later */ autocheck_advanced_options = FALSE; autocheck_additional_messages = TRUE; autocheck_directory_prompt = FALSE; autocheck_show_products = TRUE; seeded_database_nt_only = TRUE; reset_defaults_option = TRUE; first_time_through_intro = TRUE; selected_products = list(); case_selected_products = list(); osVer = operating_system_version(); assume_nt_operating_system = FALSE; permit_invisible_registrations = TRUE; ui_action(nls("install_type_action","Checking Type of Installation...")); { /* set the key HKEY_CURRENT_USER\SOFTWARE\ORACLE\des2_72\assume_nt to the DWORD value 1 to turn on this option *** THIS IS NOT MOH COMPLIANT *** */ translate_key = "HKEY_CURRENT_USER"; translate_subkey = "SOFTWARE\ORACLE\des2_72"; translate_variable = "assume_nt"; translate_value = win32_get_value(translate_key, translate_subkey, translate_variable); if (translate_value == 1) { assume_nt_operating_system = TRUE; } } ['FILE_NOT_FOUND: continue();] /* ************************************************** nls strings (generic) ************************************************** */ install_type_custom = nls("install_type_custom","Custom Installation"); install_type_package = nls("install_type_package","Package Installation"); /* ************************************************** nls strings (for bundle selection) ************************************************** */ cd_dialog_prompt = nls("cd_dialog_prompt", "Choose which IDS product you are going to install"); cd_dialog_content = nls("cd_dialog_content", "Internet Development Suite Products"); cd_dialog_help = nls("cd_dialog_help", "The installation of Oracle Designer and Oracle Repository products is single sourced from this distribution medium. Please select which IDS product you wish to install.%carriage_return%%carriage_return%(Please note that as Oracle Repository is a dependent product of Oracle Designer, choosing Oracle Designer will allow you to install all of the Oracle Repository).%carriage_return%%carriage_return%[release_bundle_choice]"); bundle_dialog_content = nls("bundle_dialog_content", "Release CD Options"); bundle_dialog_help = nls("bundle_dialog_help", "The installation of Oracle Designer and Oracle Repository based products is single sourced between all the bundles that are distributed. When installing from the network it is possible to select all of the Designer products in one go even though this may not be an option available to the customer. This screen allows you to tailor the installation to be the same as that delivered to the customer by selecting the 'virtual CD' that you wish to install from.%carriage_return%%carriage_return%Please select either the LAN install, one of the virtual CD options, or custom installation (which will allow you to select and install individual components).%carriage_return%%carriage_return%[result3]"); /* ************************************************** nls strings (for Oracle Designer/Repository/Preconfigured Repository/Broadcast Server/Object Extensions selection) ************************************************** */ pkg_dlg_custom = nls("pkg_dlg_custom", "Custom Installation/De-Installation"); go_dialog_detail2 = nls("go_dialog_detail2", "Click on the OK button to continue the installation."); /* quick index to the different intro, go, and packaged/custom selection variants for the dialogs result11, result12, and result14 Oracle Designer and Object Extensions 1_1 Oracle Designer (client) 1_2 Oracle Designer (server) 1_3 Oracle Designer (default) 1_12 Oracle Repository and Designer (OMR) 5 Oracle Repository 6 Oracle UML Modeling 7 Welcome to First Practice 9 Oracle BPD Modeling 14 */ intro1_1_dialog_detail = nls("intro1_1_dialog_detail", "Welcome to Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install Oracle Designer and the dependent Oracle Repostory client products onto your machine. You may also need to install the Oracle Repository onto your Oracle Server (using the installed toolset).%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro1_2_dialog_detail = nls("intro1_2_dialog_detail", "Welcome to Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install Oracle Designer and the dependent Oracle Repostory client products onto your client machine. You may also need to install the Oracle Repository onto your Oracle Server (using the installed toolset).%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro1_2_dialog_detailp = nls("intro1_2_dialog_detailp", "Welcome to Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install a patch to Oracle Designer onto your client machine. Existing installed versions of Oracle Designer products will be patched by this install. You will receive a warning for any non-installed Oracle Designer products that you have chosen to patch if you also choose to 'Display Additional Messages'. If you install further Oracle Designer products then you can re-run this patch installation.%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro1_3_dialog_detail = nls("intro1_3_dialog_detail", "Welcome to Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install the Oracle Preconfigured Repository onto your local server machine. Please ensure that you have already installed the Oracle Server (RDBMS) software.%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro1_3_dialog_detailp = nls("intro1_3_dialog_detailp", "Welcome to Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install a patch to Oracle Designer onto your client machine. Existing installed versions of Oracle Designer products will be patched by this install. You will receive a warning for any non-installed Oracle Designer products that you have chosen to patch if you also choose to 'Display Additional Messages'. If you install further Oracle Designer products then you can re-run this patch installation.%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro1_1_dialog_detail2 = nls("intro1_1_dialog_detail2", "Welcome to Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install Oracle Designer onto your machine. %carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro1_1_dialog_detail2p = nls("intro1_1_dialog_detail2p", "Welcome to Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install a patch to Oracle Designer onto your client machine. Existing installed versions of Oracle Designer products will be patched by this install. You will receive a warning for any non-installed Oracle Designer products that you have chosen to patch if you also choose to 'Display Additional Messages'. If you install further Oracle Designer products then you can re-run this patch installation.%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro1_dialog_content = nls("intro1_dialog_content", "Oracle Designer Installation Wizard"); intro1_dialog_help = nls("intro1_dialog_help", "This is the introduction screen for the Installation of Oracle Designer and any Oracle Designer Extensions. Click on the OK button to proceed to the next screen. You can click on the BACK button at any time to return to the previous screen.%carriage_return% Once you have set a value in an editable field (radio button, check box, or text fields) in subsequent dialog boxes and clicked on the OK button, these values will be remembered as you navigate back and forth between different dialogs. To reset the values back to their default values, navigate back to this screen and check the box 'reset to default values'.%carriage_return%%carriage_return%Response files to perform a silent install have been copied to your chosen Oracle Home directory%carriage_return%%carriage_return%[result11_1]"); intro1_dialog_os = nls("intro1_dialog_os", "Products will be installed to %oracle_home% on your client %operating_system% V%osVer% machine."); go1_dialog_detail = nls("go1_dialog_detail", "Thank you for choosing Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%Installation of your chosen products is about to start. The installation will determine which products to install by comparing those products you have selected for installation against the products already installed. At the end of this phase the necessary products will be copied to your machine."); go1_dialog_content = nls("go1_dialog_content", "Run Installation of Oracle Designer products"); go1_dialog_help = nls("go1_dialog_help", "Click on the OK button to finish the installation of Oracle Designer by checking the currently installed products and copying required files to your machine. You can click on the BACK button to return to previous screens.%carriage_return%%carriage_return%[result12_1]"); package1_dialog_content = nls("package1_dialog_content", "Oracle Designer Installation Type"); package1_dialog_help = nls("package1_dialog_help", "Select the Oracle Designer Packaged Install option to use the Install Wizard and choose which Oracle Designer packages you wish to install; the Update (or Patch) Installed Products option to use the Install Wizard to update (patch) installed Oracle Designer products; or choose the custom installation/de-installation option to manually install and de-install individual products (experienced users only).%carriage_return%%carriage_return%[result14_1]"); package1_dialog_sel = nls("package1_dialog_sel", "Select the Install Wizard to guide you through selecting and installing the available Oracle Designer products.%carriage_return%%carriage_return%Select the Update Wizard to guide you through updating Oracle Designer products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package1_dialog_selp = nls("package1_dialog_selp", "Select the Install Wizard to guide you through selecting and installing the available Oracle Designer products.%carriage_return%%carriage_return%Select the Patch Wizard to guide you through patching Oracle Designer products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package1_dialog_pkg = nls("package1_dialog_pkg", "Oracle Designer Install Wizard"); package1_dialog_update = nls("package1_dialog_update", "Update Installed Designer Products Wizard"); package1_dialog_updatep = nls("package1_dialog_updatep", "Patch Installed Designer Products Wizard"); package1_3_dialog_sel = nls("package1_3_dialog_sel", "There are no available Oracle Designer Packages to install via the Install Wizard from this installation medium for the current operating system. Please select the Custom Install/Deinstall option or cancel this installation and install from one of the other Oracle Designer product sets.%carriage_return%%carriage_return%Selecting the custom install/de-install option and clicking on the OK button will terminate the Install Wizard and invoke the 'Software Asset Manager' window."); package1_3_dialog_pkg = nls("package1_3_dialog_pkg", "Oracle Designer Install Wizard"); package1_3_dialog_update = nls("package1_3_dialog_update", "Update Installed Designer Products Wizard"); package1_3_dialog_updatep = nls("package1_3_dialog_updatep","Patch Installed Designer Products Wizard"); /*Added by rjclark for new install*/ intro5_dialog_detail = nls("intro5_dialog_detail", "Welcome to Oracle Repository and Oracle Designer, Oracle's award winning development toolset.%carriage_return%%carriage_return%You are about to install Oracle Repository and/or Oracle Designer products onto your machine. You may also need to install the Oracle Repository onto your Oracle Server (using the installed toolset).%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro5_dialog_detailp = nls("intro5_dialog_detailp", "Welcome to Oracle Repository and Designer, Oracle's highly successful, award winning development toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install a patch to Oracle Repository and/or Oracle Designer onto your client machine. Existing installed versions of Oracle Repository and Designer products will be patched by this install. You will receive a warning for any non-installed Oracle Repository and Designer products that you have chosen to patch if you also choose to 'Display Additional Messages'. If you install further Oracle Repository and Designer products then you can re-run this patch installation.%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro5_dialog_content = nls("intro5_dialog_content", "Oracle Repository and/or Designer Installation Wizard"); intro5_dialog_help = nls("intro5_dialog_help", "This is the introduction screen for the Installation of Oracle Repository and Oracle Designer. Click on the OK button to proceed to the next screen. You can click on the BACK button at any time to return to the previous screen.%carriage_return% Once you have set a value in an editable field (radio button, check box, or text fields) in subsequent dialog boxes and clicked on the OK button, these values will be remembered as you navigate back and forth between different dialogs. To reset the values back to their default values, navigate back to this screen and check the box 'reset to default values'.%carriage_return%%carriage_return%Response files to perform a silent install have been copied to your chosen Oracle Home directory%carriage_return%%carriage_return%[result11-5]"); go5_dialog_detail = nls("go5_dialog_detail", "Thank you for choosing Oracle Repository and Oracle Designer, Oracle's acclaimed development toolset.%carriage_return%%carriage_return%%carriage_return%Installation of your chosen products is about to start. The installation will determine which products to install by comparing those products you have selected for installation against the products already installed. At the end of this phase the necessary products will be copied to your machine."); go5_dialog_content = nls("go5_dialog_content", "Run Installation of Oracle products"); go5_dialog_help = nls("go5_dialog_help", "Click on the OK button to finish the installation of Oracle Repository and/or Designer by checking the currently installed products and copying required files to your machine. You can click on the BACK button to return to previous screens.%carriage_return%%carriage_return%[result12_5]"); package5_dialog_content = nls("package5_dialog_content", "Oracle Repository and/or Designer Installation Type"); package5_dialog_help = nls("package5_dialog_help", "Select the Oracle Repository and Designer Install Wizard option to use the Install Wizard and choose which Oracle Repository and Designer packages you wish to install; the Update (or Patch) Installed Products option to use the Install Wizard to update (patch) installed Oracle Repository and Oracle Designer products; or choose the custom installation/de-installation option to manually install and de-install individual products (experienced users only).%carriage_return%%carriage_return%[result14_5]"); /*Added by rjclark for new install*/ package5_dialog_sel = nls("package5_dialog_sel", "Select the Install Wizard to guide you through selecting and installing the available Oracle Repository and Oracle Designer products.%carriage_return%%carriage_return%Select the Update Wizard to guide you through updating Oracle Repository and Oracle Designer products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package5_dialog_selp = nls("package5_dialog_selp", "Select the Install Wizard to guide you through selecting and installing the available Oracle Repository and Oracle Designer products.%carriage_return%%carriage_return%Select the Patch Wizard to guide you through patching Oracle Repository and Oracle Designer products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package5_dialog_pkg = nls("package5_dialog_pkg", "Oracle Repository and Designer Install Wizard"); /* package5_dialog_update = nls("package5_dialog_update", "Update Installed Repository and Designer Products Wizard"); */ /* string too long for dialog box size */ package5_dialog_update = nls("package5_dialog_update", "Update Installed Repository and Designer Products"); package5_dialog_updatep = nls("package5_dialog_updatep", "Patch Installed Repository and Designer Products Wizard"); intro6_dialog_detail = nls("intro6_dialog_detail", "Welcome to Oracle Repository, Oracle's new tool to support the management, versioning, and storage of structured data.%carriage_return%%carriage_return%%carriage_return%You are about to install the Oracle Repository Tools and Repository Administration components onto your client machine.%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro6_dialog_detailp = nls("intro6_dialog_detailp", "Welcome to Oracle Repository, Oracle's new tool to support the management, versioning, and storage of structured data.%carriage_return%%carriage_return%%carriage_return%You are about to install a patch to Oracle Repository onto your client machine. Existing installed versions of Oracle Repository products will be patched by this install. You will receive a warning for any non-installed Oracle Repository products that you have chosen to patch if you also choose to 'Display Additional Messages'. If you install further Oracle Repository products then you can re-run this patch installation.%carriage_return%%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro6_dialog_content = nls("intro6_dialog_content", "Oracle Repository Installation Wizard"); intro6_dialog_help = nls("intro6_dialog_help", "This is the introduction screen for the Installation of Oracle Repository Tools and API. Click on the OK button to proceed to the next screen. You can click on the BACK button at any time to return to the previous screen.%carriage_return% Once you have set a value in an editable field (radio button, check box, or text fields) in subsequent dialog boxes and clicked on the OK button, these values will be remembered as you navigate back and forth between different dialogs. To reset the values back to their default values, navigate back to this screen and check the box 'reset to default values'.%carriage_return%%carriage_return%[result11_6]"); go6_dialog_detail = nls("go6_dialog_detail", "Thank you for choosing Oracle Repository, Oracle's new tool.%carriage_return%%carriage_return%%carriage_return%Installation of your chosen products is about to start. The installation will determine which products to install by comparing those products you have selected for installation against the products already installed. At the end of this phase the necessary products will be copied to your machine."); go6_dialog_content = nls("go6_dialog_content", "Run Installation of Oracle Repository"); go6_dialog_help = nls("go6_dialog_help", "Click on the OK button to finish the installation of Oracle Repository Tools and API by checking the currently installed products and copying required files to your machine. You can click on the BACK button to return to previous screens.%carriage_return%%carriage_return%[result12_6]"); package6_dialog_content = nls("package6_dialog_content", "Oracle Repository Installation Type"); package6_dialog_help = nls("package6_dialog_help", "Select the Oracle Repository Tools and API Packaged Install option to use the Install Wizard or choose the custom installation/de-installation option to manually install and de-install individual products (experienced users only).%carriage_return%%carriage_return%[result14_6]"); package6_dialog_sel = nls("package6_dialog_sel", "Select the Install Wizard to guide you through selecting and installing the available Oracle Repository products.%carriage_return%%carriage_return%Select the Update Wizard to guide you through updating Oracle Repository products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package6_dialog_selp = nls("package6_dialog_selp", "Select the Install Wizard to guide you through selecting and installing the available Oracle Repository products.%carriage_return%%carriage_return%Select the Patch Wizard to guide you through patching Oracle Repository products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package6_dialog_pkg = nls("package6_dialog_pkg", "Oracle Repository Install Wizard"); package6_dialog_update = nls("package6_dialog_update", "Update Installed Repository Products Wizard"); package6_dialog_updatep = nls("package6_dialog_updatep", "Patch Installed Repository Products Wizard"); intro7_dialog_detail = nls("intro7_dialog_detail", "Welcome to Oracle UML Modeling, Oracle's highly successful, award winning Business Modelers.%carriage_return%%carriage_return%%carriage_return%You are about to install the Oracle UML Modelers onto your client machine. %carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro7_dialog_content = nls("intro7_dialog_content", "Oracle Repository Installation Wizard"); intro7_dialog_help = nls("intro7_dialog_help", "This is the introduction screen for the Installation of Oracle UML Modeling. Click on the OK button to proceed to the next screen. You can click on the BACK button at any time to return to the previous screen.%carriage_return% Once you have set a value in an editable field (radio button, check box, or text fields) in subsequent dialog boxes and clicked on the OK button, these values will be remembered as you navigate back and forth between different dialogs. To reset the values back to their default values, navigate back to this screen and check the box 'reset to default values'.%carriage_return%%carriage_return%[result11_7]"); go7_dialog_detail = nls("go7_dialog_detail", "hank you for choosing Oracle UML Modeling%carriage_return%%carriage_return%%carriage_return%Installation of your chosen products is about to start. The installation will determine which products to install by comparing those products you have selected for installation against the products already installed. At the end of this phase the necessary products will be copied to your machine."); go7_dialog_content = nls("go7_dialog_content", "Run Installation of Oracle UML Modeling"); go7_dialog_help = nls("go7_dialog_help", "Click on the OK button to finish the installation of Oracle UML Modeling by checking the currently installed products and copying required files to your machine. You can click on the BACK button to return to previous screens.%carriage_return%%carriage_return%[result12_7]"); package7_dialog_content = nls("package7_dialog_content", "Oracle UML Modeling Installation Type"); package7_dialog_help = nls("package7_dialog_help", "Select the Oracle UML Modeling Packaged Install option to use the Install Wizard or choose the custom installation/de-installation option to manually install and de-install individual products (experienced users only).%carriage_return%%carriage_return%[result14_7]"); package7_dialog_sel = nls("package7_dialog_sel", "Select the Install Wizard to guide you through selecting and installing the available Oracle UML products.%carriage_return%%carriage_return%Select the Update Wizard to guide you through updating Oracle UML products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package7_dialog_pkg = nls("package7_dialog_pkg", "UML Install Wizard"); package7_dialog_update = nls("package7_dialog_update", "Update Installed UML Products Wizard"); package7_dialog_updatep = nls("package7_dialog_updatep", "Patch Installed UML Products Wizard"); intro9_dialog_detail = nls("intro9_dialog_detail", "Welcome to First Practice, a hand-on course for those just starting with Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset.%carriage_return%%carriage_return%%carriage_return%You are about to install the First Practice course material onto your local machine.%carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro9_dialog_content = nls("intro9_dialog_content", "First Practice Installation Wizard"); intro9_dialog_help = nls("intro9_dialog_help", "This is the introduction screen for the Installation of First Practice. Click on the OK button to proceed to the next screen. You can click on the BACK button at any time to return to the previous screen.%carriage_return% Once you have set a value in an editable field (radio button, check box, or text fields) in subsequent dialog boxes and clicked on the OK button, these values will be remembered as you navigate back and forth between different dialogs. To reset the values back to their default values, navigate back to this screen and check the box 'reset to default values'.%carriage_return%%carriage_return%[result11_9]"); go9_dialog_detail = nls("go9_dialog_detail", "Thank you for choosing First Practice%carriage_return%%carriage_return%%carriage_return%Installation of your chosen products is about to start. The installation will determine which products to install by comparing those products you have selected for installation against the products already installed. At the end of this phase the necessary products will be copied to your machine."); go9_dialog_content = nls("go9_dialog_content", "Run Installation of First Practice products"); go9_dialog_help = nls("go9_dialog_help", "Click on the OK button to finish the installation of First Practice by checking the currently installed products and copying required files to your machine. You can click on the BACK button to return to previous screens.%carriage_return%%carriage_return%[result12_9]"); package9_dialog_content = nls("package9_dialog_content", "First Practice Installation Type"); package9_dialog_help = nls("package9_dialog_help", "Select the First Practice Install option to use the Install Wizard or choose the custom installation/de-installation option to manually install and de-install individual products (experienced users only).%carriage_return%%carriage_return%[result14_9]"); package9_dialog_sel = nls("package9_dialog_sel", "Select the Install Wizard to guide you through selecting and installing the available First Practice products.%carriage_return%%carriage_return%Select the Update Wizard to guide you through updating First Practice products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package9_dialog_pkg = nls("package9_dialog_pkg", "First Practice Install Wizard"); package9_dialog_update = nls("package9_dialog_update", "Update Installed First Practice Products Wizard"); package9_dialog_updatep = nls("package9_dialog_updatep", "Patch Installed First Practice Products Wizard"); intro14_dialog_detail = nls("intro14_dialog_detail", "Welcome to Oracle BPD Modeling, Oracle's highly successful, award winning Business Modelers.%carriage_return%%carriage_return%%carriage_return%You are about to install the Oracle BPD Modelers onto your client machine. %carriage_return%%carriage_return%The following screens will guide you through the installation process. You can click on the help button at any time to get more information about the screen contents."); intro14_dialog_content = nls("intro14_dialog_content", "Oracle BPD Installation Wizard"); intro14_dialog_help = nls("intro14_dialog_help", "This is the introduction screen for the Installation of Oracle BPD Modeling. Click on the OK button to proceed to the next screen. You can click on the BACK button at any time to return to the previous screen.%carriage_return% Once you have set a value in an editable field (radio button, check box, or text fields) in subsequent dialog boxes and clicked on the OK button, these values will be remembered as you navigate back and forth between different dialogs. To reset the values back to their default values, navigate back to this screen and check the box 'reset to default values'.%carriage_return%%carriage_return%[result11]"); go14_dialog_detail = nls("go14_dialog_detail", "Thank you for choosing Oracle BPD Modeling%carriage_return%%carriage_return%%carriage_return%Installation of your chosen products is about to start. The installation will determine which products to install by comparing those products you have selected for installation against the products already installed. At the end of this phase the necessary products will be copied to your machine."); go14_dialog_content = nls("go14_dialog_content", "Run Installation of Oracle BPD Modeling"); go14_dialog_help = nls("go14_dialog_help", "Click on the OK button to finish the installation of Oracle BPD Modeling by checking the currently installed products and copying required files to your machine. You can click on the BACK button to return to previous screens.%carriage_return%%carriage_return%[result12_14]"); package14_dialog_content = nls("package14_dialog_content", "Oracle BPD Modeling Installation Type"); package14_dialog_help = nls("package14_dialog_help", "Select the Oracle BPD Modeling Packaged Install option to use the Install Wizard or choose the custom installation/de-installation option to manually install and de-install individual products (experienced users only).%carriage_return%%carriage_return%[result14_14]"); package14_dialog_sel = nls("package14_dialog_sel", "Select the Install Wizard to guide you through selecting and installing the available BPD products.%carriage_return%%carriage_return%Select the Update Wizard to guide you through updating BPD products that you have previously installed onto your machine. You will not be able to select additional or new products.%carriage_return%%carriage_return%Select the custom install/de-install to invoke the 'Software Asset Manager' window."); package14_dialog_pkg = nls("package14_dialog_pkg", "BPD Install Wizard"); package14_dialog_update = nls("package14_dialog_update", "Update Installed BPD Products Wizard"); package14_dialog_updatep = nls("package14_dialog_updatep", "Patch Installed BPD Products Wizard"); /* other nls strings for dialogs result0, result20, result21, result24, result18, result13, result19, result16 */ /* designer_dialog_content = nls("designer_dialog_content","Oracle Designer and Object Extensions Package Installation Settings"); */ designer_dialog_content = nls("designer_dialog_content","Oracle Designer and Oracle Repository Package Installation Settings"); designer_dialog_help = nls("designer_dialog_help","Select which Oracle Designer/Repository Packages you wish to install.%carriage_return% Oracle Repository Tools and API:%carriage_return% Installs the Repository Tools (Repository Object Navigator, Repository Reports, Repository Administration Utility, and Matrix Diagrammer), the Repository API, Import/Export Utilities, SQL*Plus, and SQL*Net.%carriage_return% Analysis, Design, Generation and ROB:%carriage_return% Installs Systems Design Tools, Systems Analysis Modeling Tools, the Transformation Wizards, the Business Process Modeling Tool, the Server Generator, the WebServer Generator, the Generators for Visual Basic and MS Help and the Repository Object Browser.%carriage_return% Generators for Oracle Developer:%carriage_return% Installs the Generators for Forms and Reports; and the Report Design Capture Tool.%carriage_return% Preconfigured Repository:%carriage_return% Installs the Oracle Preconfigured Repository%carriage_return% Broadcast Server:%carriage_return% Installs the Broadcast Server files%carriage_return% %carriage_return%[result0] "); repository20_dialog_content = nls("repository20_dialog_content","Oracle Repository Package Installation Settings"); repository20_dialog_help = nls("repository20_dialog_help","Select which Oracle Repository Packages you wish to install.%carriage_return% Command Line Tool:%carriage_return% Installs the Repository Command Line Tool and associated utilities (Compare/Merge, VHV, VEV), and the Repository API.%carriage_return% GUI Tools:%carriage_return% Installs the Repository GUI Tools (Repository Object Navigator, Repository Administration Utility).%carriage_return% Broadcast Server:%carriage_return% Installs the Broadcast Server to allow multiple clients to monitor the synchronisation of Repository data.%carriage_return% Repository Installation Scripts:%carriage_return% Installs the scripts required by the RAU to perform a server side install of the Repository.%carriage_return% %carriage_return%[result20] "); designer21_dialog_content = nls("designer21_dialog_content","Oracle Designer Package Installation Settings"); designer21_dialog_help = nls("designer21_dialog_help","Select which Oracle Designer Packages you wish to install.%carriage_return% Oracle Repository Dependencies:%carriage_return% The Repository products required by Designer will be automatically installed if you choose any Designer packages.%carriage_return% Analysis, Design, Generation and ROB:%carriage_return% Installs Systems Design Tools, Systems Analysis Modeling Tools, the Transformation Wizards, the Business Process Modeling Tool, the Server Generator, the WebServer Generator, the Generators for Visual Basic and MS Help and the Repository Object Browser.%carriage_return% Generators for Oracle Developer:%carriage_return% Installs the Generators for Forms and Reports; and the Report Design Capture Tool.%carriage_return% %carriage_return%[result21] "); /*Added by rjclark for new install*/ omr24_dialog_content = nls("omr24_dialog_content","Package Installation Settings"); omr24_dialog_help = nls("omr24_dialog_help","Select which Oracle Packages you wish to install.%carriage_return% If you select the Oracle Repository Install Radio button you can install:%carriage_return%(note: this option is unavailable if there is an existing Oracle Designer installation)%carriage_return%%carriage_return%Command Line Tool:%carriage_return% Installs the Repository Command Line Tool and associated utilities (Compare/Merge, VHV, VEV), and the Repository API.%carriage_return% GUI Tools:%carriage_return% Installs the Repository GUI Tools (Repository Object Navigator, Repository Administration Utility).%carriage_return% Broadcast Server:%carriage_return% Installs the Broadcast Server to allow multiple clients to monitor the synchronisation of Repository data.%carriage_return% Repository Installation Scripts:%carriage_return% Installs the scripts required by the RAU to perform a server side install of the Repository.%carriage_return% %carriage_return%If you select the Oracle Repository And Designer Install Radio button you can also install::%carriage_return% Analysis, Design, Generation and ROB:%carriage_return% Installs Systems Design Tools, Systems Analysis Modeling Tools, the Transformation Wizards, the Business Process Modeling Tool, the Server Generator, the WebServer Generator, the Generators for Visual Basic and MS Help and the Repository Object Browser.%carriage_return% Generators for Oracle Developer:%carriage_return% Installs the Generators for Forms and Reports; and the Report Design Capture Tool.%carriage_return% %carriage_return%[result24] "); obm_dialog_content = nls("obm_dialog_content","Oracle UML Package Installation Settings"); obm_dialog_help = nls("obm_dialog_help","Select which Oracle UML/Repository Packages you wish to install.%carriage_return% Oracle Repository Tools and API:%carriage_return% Installs the Repository Tools (Repository Object Navigator, Repository Reports, Repository Administration Utility, and Matrix Diagrammer), the Repository API, Import/Export Utilities, SQL*Plus, and SQL*Net.%carriage_return% UML:%carriage_return% Installs the Business Modeling Tools%carriage_return% %carriage_return%[result18] "); dessvr_dialog_content = nls("dessvr_dialog_content","Oracle Designer Server Package Installation Settings"); dessvr_dialog_help = nls("dessvr_dialog_help","Select which Oracle Server Install Packages you wish to copy to your client machine.%carriage_return% Preconfigured Repository:%carriage_return% Installs the Oracle Preconfigured Repository%carriage_return% Broadcast Server:%carriage_return% Installs the Broadcast Server files%carriage_return% %carriage_return%[result13] "); bpd_dialog_content = nls("bpd_dialog_content","Oracle BPD Package Installation Settings"); bpd_dialog_help = nls("bpd_dialog_help","Select which Oracle BPD/Repository Packages you wish to install.%carriage_return% Oracle Repository Tools and API:%carriage_return% Installs the Repository Tools (Repository Object Navigator, Repository Reports, Repository Administration Utility, and Matrix Diagrammer), the Repository API, Import/Export Utilities, SQL*Plus, and SQL*Net.%carriage_return% BPD:%carriage_return% Installs the Business Modeling Tools for BPD.%carriage_return% %carriage_return%[result19] "); firstp_dialog_content = nls("firstp_dialog_content","Oracle First Practice Package Installation Settings"); firstp_dialog_help = nls("firstp_dialog_help","Select which First Practice Packages you wish to install.%carriage_return% First Practice:%carriage_return% Installs the First Practice packages.%carriage_return% %carriage_return%[result16] "); /* ************************************************** nls strings (for Oracle Designer Only package selection) ************************************************** */ des2ko_dialog_content = nls("des2ko_dialog_content","Oracle Designer Package Installation Settings"); des2ko_dialog_help = nls("des2ko_dialog_help","Select the Oracle Designer Packaged Install option and then choose the package you require or choose the custom installation/de-installation optionto manually install and de-install individual products.%carriage_return% Designing and Generatiing:%carriage_return% Installs the Repository Tools (Repository Object Navigator, Repository Reports, Repository Administration Utility, and Matrix Diagrammer), Systems Design Tools, Import/Export Utilities, SQL*Plus, and SQL*Net.%carriage_return% Modeling Systems Requirements and Default Design:%carriage_return% Systems Analysis Modeling Tools, the Transformation Wizards, and the Business Process Modeling Tool.%carriage_return% Server Side Generators:%carriage_return% Installs the Server Generator and WebServer Generator products.%carriage_return% Generators for third party products:%carriage_return% Installs the Generators for Visual Basic and MS Help.%carriage_return% Generators for Oracle Developer:%carriage_return% Installs the Generators for Forms and Reports; and the Report Design Capture Tool.%carriage_return% Preconfigured Repository:%carriage_return% The Oracle Designer and ODD Preconfigured Repository%carriage_return% Broadcast Server:%carriage_return% Installs the Broadcast Server files%carriage_return% %carriage_return%[result1] "); /* ************************************************** nls strings (for ODD package selection) ************************************************** */ odd_dialog_content = nls("odd_dialog_content","Oracle Designer Object Extensions (Object Database Designer) Package Installation Settings"); odd_dialog_help = nls("odd_dialog_help","The basic installation consists of Object Database Designer plus the utilities (Repository Objects Navigator and Matrix Diagrammer), Systems Designer, Server Generator and SQL*Net. To this you can add:%carriage_return% Preconfigured Repository:%carriage_return% A starter preconfigured database to get you going as quickly as possible.%carriage_return% Repository Administration Utility:%carriage_return% Use the RAU to install and configure your own repository (sharable with Oracle Designer)%carriage_return% Client Only:%carriage_return% This installation does not install any database options%carriage_return% %carriage_return%[result4] "); /* ************************************************** nls strings (for DataMartDesigner package selection) ************************************************** */ dmd_dialog_content = nls("dmd_dialog_content","DataMart Designer Package Installation Settings"); dmd_dialog_help = nls("dmd_dialog_help","The installation consists of all the DataMart Designer components (DataMart Designer Repository Administrator, Repository Administrator Utilities, Generator parent, Required Files, Systems Designer, Systems Modeler, Server Generator, WebServer generator), SQL*Plus and SQL*Net.%carriage_return% The DataMart Designer products that you have selected for installation may require additional products from the Oracle Designer, Oracle Developer, Oracle7 server client administration, or Sql*Net product suites. These will be installed for you as required if they are not already installed on your machine. %carriage_return%[result6] "); /* ************************************************** nls strings (for Preconfigured Repository package selection) ************************************************** */ cksr_dialog_content = nls("cksr_dialog_content","Oracle Preconfigured Repository Package Installation Settings"); cksr_dialog_help = nls("cksr_dialog_help","The installation consists of the Oracle Preconfigured Repository and its dependencies. %carriage_return%[result10] "); /* ************************************************** nls strings (for Designer Help package selection) ************************************************** */ deshlp_dialog_content = nls("deshlp_dialog_content","Designer Help Package Installation Settings"); deshlp_dialog_help = nls("deshlp_dialog_help","The installation consists of the Oracle Designer and ODD Help Files. %carriage_return%[result7] "); /* ************************************************** nls strings (for advanced installation options) ************************************************** */ /* for use in response files a variable should only appear in one dialog, so, although the text is the same, define it 4 times */ advanced1_dialog_content = nls("advanced1_dialog_content","Oracle Installation Advanced Options - Install"); /* options (1) */ advanced2_dialog_content = nls("advanced2_dialog_content","Oracle Installation Advanced Options - Messages"); /* options (2) */ advanced3_dialog_content = nls("advanced3_dialog_content","Oracle Installation Advanced Options - Tools"); /* options (3) */ advanced4_dialog_content = nls("advanced4_dialog_content","Oracle Installation Advanced Options"); /* options (4) - single dialog */ advanced1_dialog_help = nls("advanced1_dialog_help","Specify the behaviour when installing over the top of an existing installation.%carriage_return% Only Install New or Out-of-Date Products:%carriage_return% The quickest way to upgrade your installation. Only those products that require installing will be installed.%carriage_return% Notify when Upgrading a Product:%carriage_return% Confirm what action to take whenever a selected product needs updating. If unchecked products will be installed/upgraded without notification.%carriage_return% Notify when Re-Installing a Product:%carriage_return% Confirm what action to take whenever a selected product is up to date. If unchecked products will not be re-installed.%carriage_return% Notify when Installing a New Product:%carriage_return% Confirm what action to take whenever a selected product is to be installed for the first time. If unchecked products will be installed.%carriage_return% Notify when Downgrading a Product:%carriage_return% Confirm what action to take whenever a selected product is to be downgraded. If unchecked the downgraded products will be installed.%carriage_return% Force Install of All Selected Products:%carriage_return% Use this option if your installation has become corrupted. All products and their dependencies will be installed without regard to existing installed products. Because this may downgrade existing installed products you may find that other products that depend on later versions of these may cease to operate.%carriage_return% %carriage_return%[result2_1] "); advanced2_dialog_help = nls("advanced2_dialog_help","Display Additional Messages:%carriage_return% Display additional status messages.%carriage_return% Prompt for Install Directories:%carriage_return% For each product, confirm the directory into which that product's data files will be installed. Otherwise use default or existing directories.%carriage_return% Show List of Products to be Installed:%carriage_return% Displays a list of all the products that will be copied to your machine.%carriage_return% %carriage_return%[result2_2] "); advanced3_dialog_help = nls("advanced3_dialog_help","Specify the version of Import/Export and SQL*Plus to use%carriage_return% Choose from Import/Export V7.3 and SQL*Plus V3 or Import/Export V8.0 and SQL*Plus V8. The choice will depend on the Oracle Server on which you are going to run your Oracle Repository (V7 or V8/8i).%carriage_return% You can keep switching the version of these tools that Designer will call once Designer has been installed; this dialog just set the default action until you exercise the option to switch. %carriage_return%[result2_3] "); advanced4_dialog_help = nls("advanced4_dialog_help","Specify the behaviour when installing over the top of an existing installation.%carriage_return% Only Install New or Out-of-Date Products:%carriage_return% The quickest way to upgrade your installation. Only those products that require installing will be installed.%carriage_return% Re-Install All Products:%carriage_return% Use this option if your installation has become corrupted. All products and their dependencies will be re-installed.%carriage_return% Notify when Upgrading Product:%carriage_return% Confirm what action to take whenever a selected product needs updating. If unchecked products will be installed/upgraded without notification.%carriage_return% Notify when Re-Installing Product:%carriage_return% Confirm what action to take whenever a selected product is up to date. If unchecked products will not be re-installed.%carriage_return% Notify when Installing New Product:%carriage_return% Confirm what action to take whenever a selected product is to be installed for the first time. If unchecked products will be installed.%carriage_return% Display Additional Messages:%carriage_return% Display additional status messages.%carriage_return% Prompt for Install Directories:%carriage_return% For each product, confirm the directory into which that product's data files will be installed. Otherwise use default or existing directories.%carriage_return% Show List of Products to be Installed:%carriage_return% Displays a list of all the products that will be copied to your machine.%carriage_return% %carriage_return%[result2] "); /* ************************************************** nls strings (for debug options) ************************************************** */ debug_dialog_content = nls("debug_dialog_content","Oracle Installation Debug Options"); debug_dialog_help = nls("debug_dialog_help","Debug options allow you to specify additional options when installing in a development environment.%carriage_return%%carriage_return%THIS DIALOG IS FOR INTERNAL DIAGNOSTICS ONLY%carriage_return% Install Registry/installation scripts only:%carriage_return% Perform a normal install in all respects except that it only copies the installation/deinstallation scripts, registry files, and updates the registry (for the selected Oracle Designer and ODD products). No Oracle Developer or database tools products will be installed.%carriage_return% Since normal version checking for installing/upgrading/re-installing is carried out, you may wish to go 'back' a dialog and select 'Re-Install All Products' from the advanced options dialog to ensure that the required Oracle Designer products are 'registry' installed.%carriage_return% Install SQL*Net and SQL*Plus dependencies%carriage_return% Optionally install SQL*net and SQL*Plus%carriage_return% Install Database tools dependencies%carriage_return% Optionally install import and export utilities (forces install of sql*net and sql*plus)%carriage_return% Install Oracle Developer Run Time dependencies%carriage_return% Optionally install Reports RunTime (forces install of sql*net, and Sql*Plus)%carriage_return% Install Oracle Developer Design Time dependencies%carriage_return% Optionally install Forms and Reports RunTime and DesignTime (forces install of Developer RunTime, sql*net, and Sql*Plus)%carriage_return% %carriage_return%[result5] "); /* ************************************************** a quick check to see if Designer & Repository are already installed into this home ************************************************** */ existing_designer_installation = false; existing_repository_installation = false; /* 2 ways of doing this - one does not work here */ if (true) { /* just check to see if the Designer registry variable is present */ /* as we have no access to the prd file yet, hard code the values */ { case_translate_list = list("DES2_72",ora_config,"DES2_72"); EXECUTE_SCRIPT = "TRANSLATE_VARIABLES.CMN"; designer_tools_directory = execute("des2k_72.cmn"); } ['FILE_NOT_FOUND, 'UNBOUND_ENVIRONMENT_VARIABLE: designer_tools_directory = "";] if (not(designer_tools_directory == "")) { existing_designer_installation = true; } { case_translate_list = list("REPOS61",ora_config,"REPOS61"); EXECUTE_SCRIPT = "TRANSLATE_VARIABLES.CMN"; repository_tools_directory = execute("des2k_72.cmn"); } ['FILE_NOT_FOUND, 'UNBOUND_ENVIRONMENT_VARIABLE: repository_tools_directory = "";] if (not(repository_tools_directory == "")) { existing_repository_installation = true; } } else { /* as we are in user.stp we can not check what is in the registry or prd file */ if (registered("w32odes65")) { existing_designer_installation = true; registry = registration("w32odes65"); installed_version = registry_version(registry); current_version = product_version(w32odes65); if (earlier_version(registry,current_version)) { earlier_designer_installation = true; } else { earlier_designer_installation = false; } } if (registered("w32repos61")) { existing_repository_installation = true; registry = registration("w32repos61"); installed_version = registry_version(registry); current_version = product_version(w32repos61); if (earlier_version(registry,current_version)) { earlier_repository_installation = true; } else { earlier_repository_installation = false; } } } /* ************************************************** start dialogues ************************************************** */ mark { /* assume first time through each time you select a new CD type */ first_time_through_intro = TRUE; set_PATCHSET_RELEASE = FALSE; /* Do not set the bundle identifiers until we can identify the bundle and are about to exit the script. If the user drops out to custom option without these being set then use.avf will try to identify the bundle based on the .prd contents. Use a local copy within this script. */ /* DESIGNER2000_RELEASE = FALSE; ODD_RELEASE = FALSE; DESIGNER_HELP_RELEASE = FALSE; DATAMART_DESIGNER_RELEASE = FALSE; */ set_OMR_RELEASE = FALSE; /*Added by rjclark for new install*/ set_DESIGNER_RELEASE = FALSE; set_DESIGNER_CLIENT_RELEASE = FALSE; set_DESIGNER_SERVER_RELEASE = FALSE; set_R21_DESIGNER_RELEASE = FALSE; /* R2.1 & R2.1.1 style */ set_R21_ODD_RELEASE = FALSE; /* R2.1 & R2.1.1 style */ set_REPOSITORY_RELEASE = FALSE; set_OBM_RELEASE = FALSE; set_BPD_RELEASE = FALSE; set_OBM_FIXES_RELEASE = FALSE; set_DESIGNER_HELP_RELEASE = FALSE; set_FIRST_PRACTICE_RELEASE = FALSE; set_BUGFIX_RELEASE = FALSE; set_R21_SEEDED_REPOSITORY_RELEASE = FALSE; /* R2.1 & R2.1.1 style */ set_R21_FIRST_PRACTICE_RELEASE = FALSE; set_DATAMART_DESIGNER_RELEASE = FALSE; set_PATCHSET_RELEASE = FALSE; /* ************************************************** the bundle selection dialog definitions ************************************************** */ bdl_pkg_text = nls("bdl_pkg_text", "Choose which Release CD you are going to install from:"); bdl_pkg_text2 = nls("bdl_pkg_text2", "or choose from these other options:"); /* bdl_pkg_all = nls("bdl_pkg_all", "All products from this LAN Install area"); */ bdl_pkg_all = nls("bdl_pkg_all", "R6.5 Designer Client Tools, Repository Administration, Broadcast Server, and Preconfigured Repository"); bdl_pkg_des2k = nls("bdl_pkg_des2k", "Oracle Designer R6.5 - Oracle Designer Client Tools and Repository Administration"); bdl_pkg_cksr = nls("bdl_pkg_cksr", "Oracle Designer R6.5 - Oracle R4.0.10 Preconfigured Repository and Broadcast Server"); bdl_pkg_omr = nls("bdl_pkg_omr", "Oracle Modelling and Repository"); /*Added by rjclark for new install*/ bdl_pkg_reptool = nls("bdl_pkg_reptool", "Oracle Repository R1.0 - Tools and API Install"); bdl_pkg_obm = nls("bdl_pkg_obm", "JDeveloper UML Install"); bdl_pkg_bpd = nls("bdl_pkg_bpd", "BPD Install"); bdl_pkg_help = nls("bdl_pkg_help", "Oracle Designer/UML Documentation"); bdl_pkg_firstp = nls("bdl_pkg_firstp", "First Practice Installation"); bdl_pkg_bugfix = nls("bdl_pkg_bugfix", "Internal Bug Fix"); bdl_pkg_dmd = nls("bdl_pkg_dmd", "DataMart Designer Packaged Install"); bdl_pkg_custom = nls("bdl_pkg_custom", "Custom Installation/De-Installation"); bdl_pkg_patchset = nls("bdl_pkg_patchset", "Oracle Designer R6.5 Patch Set"); bdl_pkg_patchset2 = nls("bdl_pkg_patchset", "Oracle Repository R1.0 Patch Set"); /* bdl_pkg_des2k = nls("bdl_pkg_des2k", "Oracle Designer + Object Extensions CD"); */ /* bdl_pkg_des2ko = nls("bdl_pkg_des2ko", "Oracle Designer CD (R21 style)"); */ /* bdl_pkg_odd = nls("bdl_pkg_odd", "Oracle Designer Object Extensions CD (R21 Style)"); */ #Define IDs ID3RB1 = 1; ID3RB2 = 2; ID3RB3 = 3; ID3RB4 = 4; ID3RB5 = 5; ID3RB6 = 6; ID3RB7 = 7; ID3RB14 = 8; ID3RB8 = 9; ID3RB9 = 10; ID3RB10 = 11; ID3RB11 = 12; ID3RB12 = 13; ID3RB13 = 14; ID3RB14 = 15; ID3RB15 = 16; /*Added by rjclark for new install*/ ID3RGC1 = 17; ID3LB1 = 18; ID3LB2 = 19; ID3RB2P = 20; ID3RB6P = 21; ID3CB0 = 22; #Define ITEMs ITEM3CB0 = list(ID3CB0, list('UI_CHECKBOX, list( 0, 0, 0, 0), "")); ITEM3LB1 = list(ID3LB1, list('UI_LABEL, list(10 , 10, 460, 20), bdl_pkg_text, 'LEFT_JUSTIFY)); ITEM3RB15 = list(ID3RB15, list('UI_RADIOBUTTON, list(30, 30, 230, 20), bdl_pkg_omr)); /*Added by rjclark for new install*/ ITEM3RB2 = list(ID3RB2, list('UI_RADIOBUTTON, list(30, 50, 230, 20), bdl_pkg_des2k)); ITEM3RB2P = list(ID3RB2P, list('UI_RADIOBUTTON, list(30, 70, 230, 20), bdl_pkg_patchset)); ITEM3RB6 = list(ID3RB6, list('UI_RADIOBUTTON, list(30, 90, 230, 20), bdl_pkg_reptool)); ITEM3RB6P = list(ID3RB6P, list('UI_RADIOBUTTON, list(30, 110, 230, 20), bdl_pkg_patchset2)); ITEM3LB2 = list(ID3LB2, list('UI_LABEL, list(10, 130, 460, 20), bdl_pkg_text2, 'LEFT_JUSTIFY)); ITEM3RB10 = list(ID3RB10, list('UI_RADIOBUTTON, list(30, 150, 230, 20), bdl_pkg_bugfix)); ITEM3RB7 = list(ID3RB7, list('UI_RADIOBUTTON, list(30, 170, 230, 20), bdl_pkg_obm)); ITEM3RB14 = list(ID3RB14, list('UI_RADIOBUTTON, list(30, 190, 230, 20), bdl_pkg_bpd)); ITEM3RB12 = list(ID3RB12, list('UI_RADIOBUTTON, list(30, 210, 230, 20), bdl_pkg_dmd)); ITEM3RB1 = list(ID3RB1, list('UI_RADIOBUTTON, list(30, 230, 230, 20), bdl_pkg_all)); ITEM3RB8 = list(ID3RB8, list('UI_RADIOBUTTON, list(30, 250, 230, 20), bdl_pkg_help)); ITEM3RB9 = list(ID3RB9, list('UI_RADIOBUTTON, list(30, 270, 230, 20), bdl_pkg_firstp)); /* ITEM3RB13 = list(ID3RB13, list('UI_RADIOBUTTON, list(30, 290, 230, 20), bdl_pkg_custom)); */ /* ITEM3RB4 = list(ID3RB4, list('UI_RADIOBUTTON, list(30, 114, 230, 20), bdl_pkg_des2ko)); */ /* ITEM3RB5 = list(ID3RB5, list('UI_RADIOBUTTON, list(30, 140, 230, 20), bdl_pkg_odd)); */ /* ITEM3RB11 = list(ID3RB11, list('UI_RADIOBUTTON, list(30, 222, 230, 20), bdl_pkg_patchset)); */ #Define radio group if (exists("obm2.rel")) { /* default for radio group is obm, see note below */ ITEM3RGC1 = list(ID3RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID3RB15, ID3RB1, ID3RB2, ID3RB3, ID3RB6, ID3RB7, ID3RB14, ID3RB8, ID3RB9, ID3RB10, ID3RB12), 6)); } else { ITEM3RGC1 = list(ID3RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID3RB15, ID3RB2, ID3RB2P, ID3RB6, ID3RB6P, ID3RB10, ID3RB7, ID3RB14, ID3RB12, ID3RB1, ID3RB8, ID3RB9), 0)); } #Create item list /* dialog3_items = list(ITEM3CB0, ITEM3LB1, ITEM3RB1, ITEM3RB2, ITEM3RB3, ITEM3RB4, ITEM3RB5, ITEM3RB6, ITEM3RB7, ITEM3RB14, ITEM3RB8, ITEM3RB9, ITEM3RB10, ITEM3RGC1); */ /* dialog3_items = list(ITEM3CB0, ITEM3LB1, ITEM3LB2, ITEM3RB1, ITEM3RB2, ITEM3RB2P, ITEM3RB6, ITEM3RB6P, ITEM3RB7, ITEM3RB14, ITEM3RB8, ITEM3RB9, ITEM3RB10, ITEM3RB12, ITEM3RGC1); */ dialog3_items = list(ITEM3CB0, ITEM3LB1, ITEM3LB2, ITEM3RB15, ITEM3RB2, ITEM3RB2P, ITEM3RB6, ITEM3RB6P, ITEM3RB10, ITEM3RB7, ITEM3RB14, ITEM3RB12, ITEM3RB1, ITEM3RB8, ITEM3RB9, ITEM3RGC1); #Define relationships rel3ns = list(); if (exists("obm2.rel")) { /* allow an OBM install where the user can choose only OBM packaged or fixes. In the latter case it is important that OBM_RELEASE is set so that the correct dependencies can be set up in user.avf (see end of file) */ REL3N1 = list(ID3CB0, list(ID3RB1, ID3RB2, ID3CB1, ID3RB3, ID3RB6, ID3RB14, ID3RB8, ID3RB9, ID3RB12), 'DISABLED, 'DISABLED); rel3ns = list(REL3N1); set_OBM_FIXES_RELEASE = TRUE; /* provisionally set in case the user chooses to install bug fixes, ignored if not */ } /* check for patchset - will be overwritten if user dialog invoked */ if (exists("patchset.rel")) { set_PATCHSET_RELEASE = TRUE; } /* check for release bundle */ release_bundle_list = list(); if (exists("des2k.rel")) { add(release_bundle_list,bdl_pkg_des2k); } if (exists("cksr.rel")) { add(release_bundle_list,bdl_pkg_cksr); } if (exists("omr.rel")) /*Added by rjclark for new install*/ { add(release_bundle_list,bdl_pkg_omr); } /* if (exists("des2ko.rel")) { add(release_bundle_list,bdl_pkg_des2ko); } if (exists("odd.rel")) { add(release_bundle_list,bdl_pkg_odd); } */ if (exists("repos.rel")) { add(release_bundle_list,bdl_pkg_reptool); } if (exists("obm.rel")) { add(release_bundle_list,bdl_pkg_obm); } if (exists("bpd.rel")) { add(release_bundle_list,bdl_pkg_bpd); } if (exists("des2kh.rel")) { add(release_bundle_list,bdl_pkg_help); } if (exists("firstp.rel")) { add(release_bundle_list,bdl_pkg_firstp); } if (exists("bugfix.rel")) { add(release_bundle_list,bdl_pkg_bugfix); } if (exists("dmd.rel")) { add(release_bundle_list,bdl_pkg_dmd); } if (length(release_bundle_list) > 0) { /* set a default if it all goes wrong */ install_type = install_type_custom; if (length(release_bundle_list) == 1) { release_bundle_choice = first(release_bundle_list); } else { release_bundle_choice = single_selection_dialog(cd_dialog_prompt, release_bundle_list, cd_dialog_content, cd_dialog_help); } if (release_bundle_choice == bdl_pkg_des2k) { install_type = install_type_package; set_DESIGNER_CLIENT_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_omr) /*Added by rjclark for new install*/ { install_type = install_type_package; set_OMR_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_cksr) { install_type = install_type_package; set_DESIGNER_SERVER_RELEASE = TRUE; } /* else if (release_bundle_choice == bdl_pkg_des2ko) { install_type = install_type_package; set_R21_DESIGNER_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_odd) { install_type = install_type_package; set_R21_ODD_RELEASE = TRUE; } */ else if (release_bundle_choice == bdl_pkg_reptool) { install_type = install_type_package; set_REPOSITORY_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_obm) { install_type = install_type_package; set_OBM_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_bpd) { install_type = install_type_package; set_BPD_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_help) { install_type = install_type_package; set_DESIGNER_HELP_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_firstp) { install_type = install_type_package; set_FIRST_PRACTICE_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_bugfix) { install_type = install_type_package; set_BUGFIX_RELEASE = TRUE; } else if (release_bundle_choice == bdl_pkg_dmd) { install_type = install_type_package; set_DATAMART_DESIGNER_RELEASE = TRUE; } } else { result3_list = custom_dialog(dialog3_items, rel3ns, bundle_dialog_content, bundle_dialog_help); value_id3rgc1 = get_ui_value(result3_list, ID3RGC1, 'UI_RADIOGROUP); value_id3rb15 = get_ui_value(result3_list, ID3RB15, 'UI_RADIOBUTTON); value_id3rb1 = get_ui_value(result3_list, ID3RB1, 'UI_RADIOBUTTON); value_id3rb2 = get_ui_value(result3_list, ID3RB2, 'UI_RADIOBUTTON); value_id3rb2p = get_ui_value(result3_list, ID3RB2P, 'UI_RADIOBUTTON); /* value_id3rb4 = get_ui_value(result3_list, ID3RB4, 'UI_RADIOBUTTON); */ /* value_id3rb5 = get_ui_value(result3_list, ID3RB5, 'UI_RADIOBUTTON); */ value_id3rb6 = get_ui_value(result3_list, ID3RB6, 'UI_RADIOBUTTON); value_id3rb6p = get_ui_value(result3_list, ID3RB6P, 'UI_RADIOBUTTON); value_id3rb7 = get_ui_value(result3_list, ID3RB7, 'UI_RADIOBUTTON); value_id3rb14 = get_ui_value(result3_list, ID3RB14, 'UI_RADIOBUTTON); value_id3rb8 = get_ui_value(result3_list, ID3RB8, 'UI_RADIOBUTTON); value_id3rb9 = get_ui_value(result3_list, ID3RB9, 'UI_RADIOBUTTON); value_id3rb10 = get_ui_value(result3_list, ID3RB10, 'UI_RADIOBUTTON); /* value_id3rb11 = get_ui_value(result3_list, ID3RB11, 'UI_RADIOBUTTON); */ value_id3rb12 = get_ui_value(result3_list, ID3RB12, 'UI_RADIOBUTTON); /* value_id3rb13 = get_ui_value(result3_list, ID3RB13, 'UI_RADIOBUTTON); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id3rgc1 == 0) */ if (value_id3rb15 == TRUE) { install_type = install_type_package; set_OMR_RELEASE = TRUE; } else if (value_id3rb1 == TRUE) { install_type = install_type_package; set_DESIGNER_RELEASE = TRUE; } else if (value_id3rb2 == TRUE) { install_type = install_type_package; set_DESIGNER_CLIENT_RELEASE = TRUE; } else if (value_id3rb2p == TRUE) { install_type = install_type_package; set_DESIGNER_CLIENT_RELEASE = TRUE; set_PATCHSET_RELEASE = TRUE; } /* ... else if (value_id3rb4 == TRUE) { install_type = install_type_package; set_R21_DESIGNER_RELEASE = TRUE; } else if (value_id3rb5 == TRUE) { install_type = install_type_package; set_R21_ODD_RELEASE = TRUE; } ... */ else if (value_id3rb6 == TRUE) { install_type = install_type_package; set_REPOSITORY_RELEASE = TRUE; } else if (value_id3rb6p == TRUE) { install_type = install_type_package; set_REPOSITORY_RELEASE = TRUE; set_PATCHSET_RELEASE = TRUE; } else if (value_id3rb7 == TRUE) { install_type = install_type_package; set_OBM_RELEASE = TRUE; } else if (value_id3rb14== TRUE) { install_type = install_type_package; set_BPD_RELEASE = TRUE; } else if (value_id3rb8 == TRUE) { install_type = install_type_package; set_DESIGNER_HELP_RELEASE = TRUE; } else if (value_id3rb9 == TRUE) { install_type = install_type_package; set_FIRST_PRACTICE_RELEASE = TRUE; } else if (value_id3rb10 == TRUE) { install_type = install_type_package; set_BUGFIX_RELEASE = TRUE; } /* ... else if (value_id3rb11 == TRUE) { install_type = install_type_package; set_PATCHSET_RELEASE = TRUE; } ... */ else if (value_id3rb12 == TRUE) { install_type = install_type_package; set_DATAMART_DESIGNER_RELEASE = TRUE; } else { /* the custom option was removed from this dialog because there was no notion of which CD you were emulating - a default of Designer was used (see user.avf) but this was not always appropriate. Thus, you shouldn't really get here anymore. */ install_type = install_type_custom; } } /* mark */ { install_wizard = (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE || set_REPOSITORY_RELEASE || set_DESIGNER_SERVER_RELEASE || set_FIRST_PRACTICE_RELEASE || set_OBM_RELEASE || set_BPD_RELEASE || set_OMR_RELEASE); if (install_wizard) { /* ************************************************** The install wizard dialogs ************************************************** */ autocheck_advanced_options = TRUE; /* ************** */ /* welcome dialog */ /* ************** */ if (set_DESIGNER_RELEASE) { use_intro_dialog_detail = intro1_1_dialog_detail; use_intro_dialog_content = intro1_dialog_content; use_intro_dialog_help = intro1_dialog_help; use_go_dialog_content = go1_dialog_content; use_go_dialog_detail = go1_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go1_dialog_help; use_package_dialog_content = package1_dialog_content; use_package_dialog_help = package1_dialog_help; } else if (set_DESIGNER_CLIENT_RELEASE) { if (set_PATCHSET_RELEASE == FALSE) { use_intro_dialog_detail = intro1_2_dialog_detail; } else { use_intro_dialog_detail = intro1_2_dialog_detailp; } use_intro_dialog_content = intro1_dialog_content; use_intro_dialog_help = intro1_dialog_help; use_go_dialog_content = go1_dialog_content; use_go_dialog_detail = go1_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go1_dialog_help; use_package_dialog_content = package1_dialog_content; use_package_dialog_help = package1_dialog_help; } else if (set_DESIGNER_SERVER_RELEASE) { if (set_PATCHSET_RELEASE == FALSE) { use_intro_dialog_detail = intro1_3_dialog_detail; } else { use_intro_dialog_detail = intro1_3_dialog_detailp; } use_intro_dialog_content = intro1_dialog_content; use_intro_dialog_help = intro1_dialog_help; use_go_dialog_content = go1_dialog_content; use_go_dialog_detail = go1_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go1_dialog_help; use_package_dialog_content = package1_dialog_content; use_package_dialog_help = package1_dialog_help; } else if (set_OMR_RELEASE) /*Added by rjclark for new install*/ { if (set_PATCHSET_RELEASE == FALSE) { use_intro_dialog_detail = intro5_dialog_detail; } else { use_intro_dialog_detail = intro5_dialog_detailp; } use_intro_dialog_content = intro5_dialog_content; use_intro_dialog_help = intro5_dialog_help; use_go_dialog_content = go5_dialog_content; use_go_dialog_detail = go5_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go5_dialog_help; use_package_dialog_content = package5_dialog_content; use_package_dialog_help = package5_dialog_help; } else if (set_REPOSITORY_RELEASE) { if (set_PATCHSET_RELEASE == FALSE) { use_intro_dialog_detail = intro6_dialog_detail; } else { use_intro_dialog_detail = intro6_dialog_detailp; } use_intro_dialog_content = intro6_dialog_content; use_intro_dialog_help = intro6_dialog_help; use_go_dialog_content = go6_dialog_content; use_go_dialog_detail = go6_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go6_dialog_help; use_package_dialog_content = package6_dialog_content; use_package_dialog_help = package6_dialog_help; } else if (set_OBM_RELEASE) { use_intro_dialog_detail = intro7_dialog_detail; use_intro_dialog_content = intro7_dialog_content; use_intro_dialog_help = intro7_dialog_help; use_go_dialog_content = go7_dialog_content; use_go_dialog_detail = go7_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go7_dialog_help; use_package_dialog_content = package7_dialog_content; use_package_dialog_help = package7_dialog_help; } else if (set_FIRST_PRACTICE_RELEASE) { use_intro_dialog_detail = intro9_dialog_detail; use_intro_dialog_content = intro9_dialog_content; use_intro_dialog_help = intro9_dialog_help; use_go_dialog_content = go9_dialog_content; use_go_dialog_detail = go9_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go9_dialog_help; use_package_dialog_content = package9_dialog_content; use_package_dialog_help = package9_dialog_help; } else if (set_BPD_RELEASE) { use_intro_dialog_detail = intro14_dialog_detail; use_intro_dialog_content = intro14_dialog_content; use_intro_dialog_help = intro14_dialog_help; use_go_dialog_content = go14_dialog_content; use_go_dialog_detail = go14_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go14_dialog_help; use_package_dialog_content = package14_dialog_content; use_package_dialog_help = package14_dialog_help; } else /* the default */ { if (set_PATCHSET_RELEASE == FALSE) { use_intro_dialog_detail = intro1_1_dialog_detail2; } else { use_intro_dialog_detail = intro1_1_dialog_detail2p; } use_intro_dialog_content = intro1_dialog_content; use_intro_dialog_help = intro1_dialog_help; use_go_dialog_content = go1_dialog_content; use_go_dialog_detail = go1_dialog_detail; /*Added by RJCLARK*/ use_go_dialog_help = go1_dialog_help; use_package_dialog_content = package1_dialog_content; use_package_dialog_help = package1_dialog_help; } reset_defaults_text = nls("reset_defaults_text", "Reset to default values in all dialogs"); ID11LB1 = 1; ID11LB1a = 2; ID11CB1 = 3; ID11BM1 = 4; ID11CB0 = 5; ID11LB2 = 6; ITEM11LB1 = list(ID11LB1, list('UI_LABEL, list(180, 20, 360, 200), use_intro_dialog_detail, 'LEFT_JUSTIFY)); ITEM11LB1a = list(ID11LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM11LB2 = list(ID11LB2, list('UI_LABEL, list(180, 220, 360, 40), intro1_dialog_os, 'LEFT_JUSTIFY)); ITEM11CB0 = list(ID11CB0, list('UI_CHECKBOX, list(180, 260, 0, 0), "", FALSE)); /* dummy checkbox hidden by being overwritten */ ITEM11CB1 = list(ID11CB1, list('UI_CHECKBOX, list(180, 260, 290, 20), reset_defaults_text, reset_defaults_option)); ITEM11BM1 = list(ID11BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_01.bmp")); if (first_time_through_intro) { REL11N1 = list(ID11CB0, list(ID11CB1), 'DISABLED, 'DISABLED); } else { REL11N1 = list(ID11CB0, list(ID11CB1), 'ENABLED, 'ENABLED); } rel11ns = list(REL11N1); dialog11_items = list(ITEM11CB0, ITEM11LB1, ITEM11LB1a, ITEM11LB2, ITEM11CB1, ITEM11BM1); result11_list = custom_dialog(dialog11_items, rel11ns, use_intro_dialog_content, use_intro_dialog_help, 'NOICON); reset_defaults_option = (get_ui_value(result11_list, ID11CB1, 'UI_CHECKBOX)); /* the defaults for the advanced options dialogs which must be remembered outside the mark groups */ if (reset_defaults_option || first_time_through_intro) { default_id0rgc1_option = 0; if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE) { default_id0cb11_option = TRUE; default_id0cb12_option = TRUE; default_id0cb13_option = TRUE; default_id0cb14_option = FALSE; default_id0cb15_option = FALSE; } else if (set_OMR_RELEASE) /*Added by rjclark for new install*/ { default_id0cb11_option = TRUE; default_id0cb12_option = TRUE; default_id0cb13_option = TRUE; default_id0cb14_option = TRUE; default_id0cb15_option = FALSE; default_id0cb16_option = TRUE; } else if (set_REPOSITORY_RELEASE) { default_id0cb11_option = FALSE; default_id0cb12_option = FALSE; default_id0cb13_option = TRUE; default_id0cb14_option = FALSE; default_id0cb15_option = FALSE; } else if (set_OBM_RELEASE) { /* currently ignored as uses seperate dialog */ default_id0cb11_option = TRUE; default_id0cb12_option = FALSE; default_id0cb13_option = FALSE; default_id0cb14_option = FALSE; default_id0cb15_option = FALSE; } else if (set_BPD_RELEASE) { /* currently ignored as uses seperate dialog */ default_id0cb11_option = TRUE; default_id0cb12_option = FALSE; default_id0cb13_option = FALSE; default_id0cb14_option = FALSE; default_id0cb15_option = FALSE; } else /* if (set_DESIGNER_SERVER_RELEASE) */ { default_id0cb11_option = FALSE; default_id0cb12_option = FALSE; default_id0cb13_option = FALSE; if ((operating_system == "nt") || (assume_nt_operating_system) || (not(seeded_database_nt_only))) { default_id0cb14_option = TRUE; default_id0cb15_option = TRUE; } else { default_id0cb14_option = FALSE; default_id0cb15_option = FALSE; } } if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE) { default_id21cb11_option = TRUE; default_id21cb12_option = TRUE; default_id21cb13_option = TRUE; default_id21cb14_option = TRUE; default_id21cb15_option = FALSE; default_id21cb16_option = FALSE; } else if (set_REPOSITORY_RELEASE) { default_id20cb11_option = TRUE; default_id20cb12_option = TRUE; default_id20cb13_option = FALSE; default_id20cb14_option = TRUE; } else if (set_OMR_RELEASE) /*Added by rjclark for new install*/ { default_id24rg01_option = 1; default_id24cb11_option = TRUE; default_id24cb12_option = TRUE; default_id24cb13_option = TRUE; default_id24cb14_option = TRUE; default_id24cb15_option = FALSE; default_id24cb16_option = TRUE; } else if (set_OBM_RELEASE) { /* currently ignored as uses seperate dialog */ default_id20cb11_option = TRUE; default_id20cb12_option = TRUE; default_id20cb13_option = FALSE; default_id20cb14_option = TRUE; } else if (set_BPD_RELEASE) { /* currently ignored as uses seperate dialog */ default_id20cb11_option = TRUE; default_id20cb12_option = TRUE; default_id20cb13_option = FALSE; default_id20cb14_option = TRUE; } else /* if (set_DESIGNER_SERVER_RELEASE) ??? */ { default_id20cb11_option = FALSE; default_id20cb12_option = FALSE; if ((operating_system == "nt") || (assume_nt_operating_system)) { default_id20cb13_option = FALSE; } else { default_id20cb13_option = FALSE; } default_id21cb14_option = FALSE; default_id21cb11_option = TRUE; default_id21cb12_option = FALSE; default_id21cb13_option = FALSE; } default_id0cb17_option = autocheck_advanced_options; if ((set_PATCHSET_RELEASE == TRUE) || (existing_repository_installation == true) || (existing_designer_installation == true)) { default_id14rgc2_option = 1; /* patch or upgrade installed products */ } else { default_id14rgc2_option = 0; /* package option */ } default_id22cb11_option = TRUE; { windows_sys_dir = windows_system_directory(); windows_dir = windows_directory(); socket2_file = "%windows_sys_dir%\ws2_32.dll"; if (exists(socket2_file)) { socket2_file_exists = TRUE; } else { socket2_file_exists = FALSE; } } ['INVALID_FILE_NAME, 'PERMISSION_DENIED, 'OS_ERROR: socket2_file_exists = FALSE; ] default_id23cb12_option = TRUE; default_id23cb11_option = not(socket2_file_exists); default_id13rgc2_option = 0; default_id16rgc2_option = 0; default_id2rgc1_option = 2; notify_upgrade = TRUE; notify_reinstall = TRUE; notify_new_install = FALSE; notify_down_install = FALSE; verbose = autocheck_additional_messages; set_quick_install = not(autocheck_directory_prompt); show_verified_products = autocheck_show_products; default_id2rgc2_option = 1; /* imp/exp V7/V8 */ reset_defaults_option = FALSE; first_time_through_intro = FALSE; } mark { /* mark custom or package dialog */ repeat_d2k_pkg_dialog = TRUE; while (repeat_d2k_pkg_dialog == TRUE) { /* while (repeat_d2k_pkg_dialog == TRUE) */ repeat_d2k_pkg_dialog = FALSE; /* ********************* */ /* custom or package dialog */ /* ********************* */ if ((set_DESIGNER_SERVER_RELEASE) && (not((operating_system == "nt") || (assume_nt_operating_system))) && (seeded_database_nt_only)) { if (set_PATCHSET_RELEASE == FALSE) { package_dialog_sel = package1_3_dialog_sel; package_dialog_pkg = package1_3_dialog_pkg; package_dialog_update = package1_3_dialog_update; } else { package_dialog_sel = package1_3_dialog_sel; package_dialog_pkg = package1_3_dialog_pkg; package_dialog_update = package1_3_dialog_updatep; } /* no install packages available to default to custom install */ default_id14rgc2_option = 2; /* custom option */ } else if (set_OMR_RELEASE) /*Both install*/ /*Added by rjclark for new install*/ { if (set_PATCHSET_RELEASE == FALSE) { package_dialog_sel = package5_dialog_sel; package_dialog_pkg = package5_dialog_pkg; package_dialog_update = package5_dialog_update; } else { package_dialog_sel = package5_dialog_selp; package_dialog_pkg = package5_dialog_pkg; package_dialog_update = package5_dialog_updatep; } } else if (set_REPOSITORY_RELEASE) /* repository install*/ { if (set_PATCHSET_RELEASE == FALSE) { package_dialog_sel = package6_dialog_sel; package_dialog_pkg = package6_dialog_pkg; package_dialog_update = package6_dialog_update; } else { package_dialog_sel = package6_dialog_selp; package_dialog_pkg = package6_dialog_pkg; package_dialog_update = package6_dialog_updatep; } } else if (set_OBM_RELEASE) { if (set_PATCHSET_RELEASE == FALSE) { package_dialog_sel = package7_dialog_sel; package_dialog_pkg = package7_dialog_pkg; package_dialog_update = package7_dialog_update; } else { package_dialog_sel = package7_dialog_sel; package_dialog_pkg = package7_dialog_pkg; package_dialog_update = package7_dialog_updatep; } } else if (set_FIRST_PRACTICE_RELEASE) { if (set_PATCHSET_RELEASE == FALSE) { package_dialog_sel = package9_dialog_sel; package_dialog_pkg = package9_dialog_pkg; package_dialog_update = package9_dialog_update; } else { package_dialog_sel = package9_dialog_sel; package_dialog_pkg = package9_dialog_pkg; package_dialog_update = package9_dialog_updatep; } } else if (set_BPD_RELEASE) { if (set_PATCHSET_RELEASE == FALSE) { package_dialog_sel = package14_dialog_sel; package_dialog_pkg = package14_dialog_pkg; package_dialog_update = package14_dialog_update; } else { package_dialog_sel = package14_dialog_sel; package_dialog_pkg = package14_dialog_pkg; package_dialog_update = package14_dialog_updatep; } } else /* designer (1_1), designer client (1_2), and default (1_12) */ { if (set_PATCHSET_RELEASE == FALSE) { package_dialog_sel = package1_dialog_sel; package_dialog_pkg = package1_dialog_pkg; package_dialog_update = package1_dialog_update; } else { package_dialog_sel = package1_dialog_selp; package_dialog_pkg = package1_dialog_pkg; package_dialog_update = package1_dialog_updatep; } } #Define IDs ID14LB3 = 1; ID14LB3a = 2; ID14RB4 = 3; ID14RB5 = 4; ID14RB6 = 5; ID14RGC2 = 6; ID14BM1 = 7; ID14CB00 = 8; ITEM14CB00 = list(ID14CB00, list('UI_CHECKBOX, list( 0, 20, 0, 0), "", FALSE)); /* dummy checkbox hidden by being overwritten */ ITEM14BM1 = list(ID14BM1, list('UI_BITMAP, list( 0, 20, 165,260), "des2k_01.bmp")); ITEM14LB3 = list(ID14LB3, list('UI_LABEL, list(180, 20, 360,190), package_dialog_sel, 'LEFT_JUSTIFY)); ITEM14LB3a = list(ID14LB3a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM14RB4 = list(ID14RB4, list('UI_RADIOBUTTON, list(180, 220, 290, 20), package_dialog_pkg)); ITEM14RB5 = list(ID14RB5, list('UI_RADIOBUTTON, list(180, 240, 290, 20), package_dialog_update)); ITEM14RB6 = list(ID14RB6, list('UI_RADIOBUTTON, list(180, 260, 290, 20), pkg_dlg_custom)); #Define radio group ITEM14RGC2 = list(ID14RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID14RB4, ID14RB5, ID14RB6), default_id14rgc2_option)); #Create item list dialog14_items = list(ITEM14CB00, ITEM14BM1, ITEM14LB3, ITEM14LB3a, ITEM14RB4, ITEM14RB5, ITEM14RB6, ITEM14RGC2); #Define relationships if ((set_DESIGNER_SERVER_RELEASE) && (not((operating_system == "nt") || (assume_nt_operating_system))) && (seeded_database_nt_only)) { REL14N1 = list(ID14CB00, list(ID14RB4), 'DISABLED, 'DISABLED); rel14ns = list(REL14N1); } else if (set_FIRST_PRACTICE_RELEASE) { rel14ns = list(); } else /* designer client + preconfigured repository */ { rel14ns = list(); } result14_list = custom_dialog(dialog14_items, rel14ns, use_package_dialog_content, use_package_dialog_help, 'NOICON); value_id14rgc2= get_ui_value(result14_list, ID14RGC2, 'UI_RADIOGROUP); value_id14rb4 = get_ui_value(result14_list, ID14RB4, 'UI_RADIOBUTTON); value_id14rb5 = get_ui_value(result14_list, ID14RB5, 'UI_RADIOBUTTON); value_id14rb6 = get_ui_value(result14_list, ID14RB6, 'UI_RADIOBUTTON); /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id14rgc2 == 0) */ if (value_id14rb4 == TRUE) { install_type = install_type_package; select_refresh_installed_products = FALSE; default_id14rgc2_option = 0; } else if (value_id14rb5 == TRUE) { install_type = install_type_package; select_refresh_installed_products = TRUE; default_id14rgc2_option = 1; } else { install_type = install_type_custom; default_id14rgc2_option = 2; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result0_list, ID0CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* the package install dialog for Designer is now in 2 parts - one for Repository and one for Designer. This causes a problem with the mark/back functionality as 'back' on the following dialog goes back too far and goes to the first of these 2. Trap this and skip this dialog if this situatiion occurs */ if (install_type == install_type_package) mark { /* mark XXX dialog */ if (FALSE && (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE || set_REPOSITORY_RELEASE || set_DESIGNER_SERVER_RELEASE )) { /* ********************************** */ /* The Oracle Designer/Repository/Preconfigured Repository/Broadcast Server/Object Extensions dialog definitions */ /* ********************************** */ /* d2k_pkg_sel0 = nls("d2k_pkg_sel0", "Select either the Oracle Designer Package(s) you wish to install or choose the custom install/deinstall option."); */ d2k_pkg_sel0 = nls("d2k_pkg_sel0", "Select the Oracle Designer Package(s) you wish to install.%carriage_return%%carriage_return%Packages available from this installation:"); d2k_pkg_sel0p = nls("d2k_pkg_sel0p", "Select the Oracle Designer Package(s) you wish to patch.%carriage_return%%carriage_return%Packages available from this installation:"); d2k_pkg_sel0u = nls("d2k_pkg_sel0u", "The currently installed Oracle Designer Products will be updated."); d2k_pkg_sel0pu = nls("d2k_pkg_sel0pu", "The currently installed Oracle Designer Products will be patched."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { d2k_pkg_sel = d2k_pkg_sel0; } else { d2k_pkg_sel = d2k_pkg_sel0p; } } else { if (set_PATCHSET_RELEASE == FALSE) { d2k_pkg_sel = d2k_pkg_sel0u; } else { d2k_pkg_sel = d2k_pkg_sel0pu; } } d2k_pkg_des2k = nls("d2k_pkg_des2k", "Oracle Designer Packaged Install"); d2k_pkg_custom = nls("d2k_pkg_custom", "Custom Installation/De-Installation"); d2k_pkg_despkg = nls("d2k_pkg_despkg", "Analysis, Design, Generation and ROB"); d2k_pkg_devgen = nls("d2k_pkg_devgen", "Generators for Oracle Developer"); /* d2k_pkg_objdes = nls("d2k_pkg_objdes", "Object Extensions"); */ d2k_pkg_repos = nls("d2k_pkg_repos", "Oracle Repository Tools and API"); d2k_pkg_cksr = nls("d2k_pkg_cksr", "Preconfigured Repository (NT Only)"); d2k_pkg_bs = nls("d2k_pkg_bs", "Broadcast Server (NT Only)"); d2k_pkg_advdlg = nls("d2k_pkg_advdlg", "Show Advanced Options Dialog"); d2k_pkg_bytereq = nls("d2k_pkg_bytereq","Recommended Available Free Disk Space"); d2k_pkg_byteins = nls("d2k_pkg_byteins","Number of Bytes to Install"); #Define IDs ID0LB1 = 1; ID0RB1 = 2; ID0LB021 = 3; ID0LB022 = 4; ID0LB011 = 5; ID0LB012 = 6; ID0TG1 = 7; ID0TG1b = 8; ID0TG2 = 9; ID0TG2b = 10; ID0CB11 = 11; ID0CB12 = 12; ID0CB13 = 13; ID0CB14 = 14; ID0CB15 = 15; ID0LB11 = 16; ID0LB12 = 17; ID0LB13 = 18; ID0LB14 = 19; ID0LB14 = 20; ID0LB15 = 21; ID0CB17 = 22; ID0LB17 = 23; ID0RGC = 24; ID0RB2 = 25; ID0BM1 = 26; ID0LB1a = 27; ID0CB00 = 28; ID0LB13a = 29; #Define ITEMs /* the TRUE at the end of checkboxes will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled Also note that text in checkboxes ignores the checkbox size !! */ #define instructions label /* ITEM0LB1 = list(ID0LB1, list('UI_LABEL, list( 10, 20, 530, 40), d2k_pkg_sel, 'LEFT_JUSTIFY)); */ ITEM0BM1 = list(ID0BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_02.bmp")); ITEM0LB1 = list(ID0LB1, list('UI_LABEL, list(180, 20, 360, 60), d2k_pkg_sel, 'LEFT_JUSTIFY)); ITEM0LB1a = list(ID0LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); #define Designer packag radio button /* ITEM0RB1 = list(ID0RB1, list('UI_RADIOBUTTON, list( 10, 70, 230, 20), d2k_pkg_des2k)); */ #define choices checkboxes # the -3 lines the text part of the checkbox with a label of the same y co-ord ITEM0CB00 = list(ID0CB00, list('UI_CHECKBOX, list(180, 95-3, 0, 0), "", FALSE)); /* dummy checkbox hidden by being overwritten */ ITEM0CB13 = list(ID0CB13, list('UI_CHECKBOX, list(180, 95-3, 270, 20), " " default_id0cb13_option)); ITEM0LB13a = list(ID0LB13a, list('UI_LABEL, list(197, 95 , 230, 20), " %d2k_pkg_repos%", 'LEFT_JUSTIFY)); /* Text for greyed CB13 */ ITEM0CB11 = list(ID0CB11, list('UI_CHECKBOX, list(180, 115-3, 270, 20), " %d2k_pkg_despkg%", default_id0cb11_option)); ITEM0CB12 = list(ID0CB12, list('UI_CHECKBOX, list(200, 135-3, 250, 20), " %d2k_pkg_devgen%", default_id0cb12_option)); ITEM0CB14 = list(ID0CB14, list('UI_CHECKBOX, list(180, 155-3, 270, 20), " %d2k_pkg_cksr%", default_id0cb14_option)); ITEM0CB15 = list(ID0CB15, list('UI_CHECKBOX, list(180, 175-3, 270, 20), " %d2k_pkg_bs%", default_id0cb15_option)); #define choices byte size labels ITEM0LB13 = list(ID0LB13, list('UI_LABEL, list(420, 95, 50, 20), "191 MB", 'RIGHT_JUSTIFY)); /* Object Extensions or Oracle Repository */ ITEM0LB11 = list(ID0LB11, list('UI_LABEL, list(420, 115, 50, 20), "265 MB", 'RIGHT_JUSTIFY)); /* Basic Designer */ ITEM0LB12 = list(ID0LB12, list('UI_LABEL, list(420, 135, 50, 20), " 20 MB", 'RIGHT_JUSTIFY)); /* Dev Generators */ ITEM0LB14 = list(ID0LB14, list('UI_LABEL, list(420, 155, 50, 20), "153 MB", 'RIGHT_JUSTIFY)); /* Seeded Database */ ITEM0LB15 = list(ID0LB15, list('UI_LABEL, list(420, 175, 50, 20), " 16 MB", 'RIGHT_JUSTIFY)); /* Broadcast Server */ #define advanced options checkbox and label /* ITEM0CB17 = list(ID0CB17, list('UI_CHECKBOX, list( 20, 190, 280, 20), " %d2k_pkg_advdlg%", default_id0cb17_option)); */ /* ITEM0CB17 = list(ID0CB17, list('UI_CHECKBOX, list(230, 190, 50, 20), "", default_id0cb17_option)); */ /* ITEM0LB17 = list(ID0LB17, list('UI_LABEL, list( 20, 190, 160, 20), d2k_pkg_advdlg, 'RIGHT_JUSTIFY)); */ /* Advanced Options Checkbox*/ #Define "bytes to install" total group ITEM0LB011 = list(ID0LB011, list('UI_LABEL, list(180, 220, 252, 20), "%d2k_pkg_byteins%", 'LEFT_JUSTIFY)); ITEM0LB012 = list(ID0LB012, list('UI_LABEL, list(400, 220, 5, 20), "=", 'LEFT_JUSTIFY)); cval0 = list(ID0CB11, 265); cval2 = list(ID0CB12, 20); cval3 = list(ID0CB13, 191); cval4 = list(ID0CB14, 153); cval5 = list(ID0CB15, 16); /* ITEM0TG1 = list(ID0TG1, list ('UI_TOTALGROUP, list(420,220, 50, 20), list(cval0, cval2, cval3, cval4, cval5), " MB")); */ cval0b = list(ID0CB11, 'GROUP_ID, ID0TG1b); /* sub group 1b */ ITEM0TG1 = list(ID0TG1, list ('UI_TOTALGROUP, list(420,220, 50, 20), list(cval0, cval0b, cval3, cval4, cval5), " MB")); ITEM0TG1b = list(ID0TG1b, list ('UI_TOTALGROUP, list(0, 0, 0, 0), list(cval2))); #Define "free disk space" total group ITEM0LB021 = list(ID0LB021, list('UI_LABEL, list(180, 240, 252, 20), "%d2k_pkg_bytereq%", 'LEFT_JUSTIFY)); ITEM0LB022 = list(ID0LB022, list('UI_LABEL, list(400, 240, 5, 20), "=", 'LEFT_JUSTIFY)); #FAT cluster sizes mean that the actual disk space required may be greater #so add 20% to all figures cval0t = list(ID0CB11, 318); cval2t = list(ID0CB12, 24); cval3t = list(ID0CB13, 229); cval4t = list(ID0CB14, 183); cval5t = list(ID0CB15, 19); /* ITEM0TG2 = list(ID0TG2 , list ('UI_TOTALGROUP, list(420,240, 50, 20), list(cval0t, cval2t, cval3t, cval4t, cval5t), " MB")); */ cval2b = list(ID0CB11, 'GROUP_ID, ID0TG2b); /* sub group 1b */ ITEM0TG2 = list(ID0TG2, list ('UI_TOTALGROUP, list(420,240, 50, 20), list(cval0t, cval2b, cval3t, cval4t, cval5t), " MB")); ITEM0TG2b = list(ID0TG2b, list ('UI_TOTALGROUP, list( 0, 0, 0, 0), list(cval2t))); #define custom radio button /* ITEM0RB2 = list(ID0RB2, list('UI_RADIOBUTTON, list( 10, 270, 230, 20), d2k_pkg_custom)); */ #Define radio group /* ITEM0RGC = list(ID0RGC, list('UI_RADIOGROUP, list( 0, 0, 0, 0), list(ID0RB1, ID0RB2), default_id0rgc1_option)); */ #Create item list dialog0_items = list( ITEM0BM1, ITEM0LB1, ITEM0LB1a, ITEM0CB00, /* ITEM0RB1, */ ITEM0LB021, ITEM0LB022, ITEM0TG2 , ITEM0TG2b, ITEM0LB011, ITEM0LB012, ITEM0TG1, ITEM0TG1b, ITEM0CB11, ITEM0LB11, ITEM0CB12, ITEM0LB12, ITEM0CB13, ITEM0LB13, ITEM0LB13a, ITEM0CB14, ITEM0LB14, ITEM0CB15, ITEM0LB15, /* ITEM0LB17, ITEM0CB17, */ /* ITEM0RB2, */ /* ITEM0RGC */ ); #Define relationships #Relationship between choices checkbox and choices size label REL0N1 = list(ID0CB11, list(ID0LB11), 'DISABLED, 'ENABLED); /* Basic Designer */ REL0N2 = list(ID0CB12, list(ID0LB12), 'DISABLED, 'ENABLED); /* Dev Generators */ REL0N3 = list(ID0CB13, list(ID0LB13), 'DISABLED, 'ENABLED); /* Object Extensions or Oracle Repository */ REL0N4 = list(ID0CB14, list(ID0LB14), 'DISABLED, 'ENABLED); /* Repository */ REL0N5 = list(ID0CB15, list(ID0LB15), 'DISABLED, 'ENABLED); /* Broadcast Server */ #Relationship between Designer package RB and Basic Designer/Adv Options CBs and Total1 and Total2 /* REL0N01 = list(ID0RB1, list(ID0CB11, ID0CB17, ID0TG1, ID0TG2 ), 'DISABLED, 'ENABLED); */ /* REL0N01 = list(ID0RB1, list(ID0CB11, ID0TG1, ID0TG2 ), 'DISABLED, 'ENABLED); */ #Relationship between Designer package RB and Seeded Repos CB if ((operating_system == "nt") || (assume_nt_operating_system) || (not(seeded_database_nt_only))) { /* ID0CB13 is always checked and disabled - ie always install repos */ if (set_DESIGNER_RELEASE) { /* REL0N02 = list(ID0RB1, list(ID0CB14, ID0CB15), 'DISABLED, 'ENABLED); */ /* this one not really needed as the default for CBs is always enabled REL0N02 = list(ID0CB00, list(ID0CB14, ID0CB15), 'ENABLED, 'ENABLED); */ /* Do NOT grey REPOS out if all products LAN install as you may only want the seeded database */ /* REL0N02 = list(ID0CB00, list(ID0CB13), 'DISABLED, 'DISABLED); */ REL0N02 = list(ID0CB00, list(ID0CB13), 'ENABLED, 'ENABLED); } else if (set_DESIGNER_CLIENT_RELEASE) { REL0N02 = list(ID0CB00, list(ID0CB13, ID0CB14), 'DISABLED, 'DISABLED); } else if (set_DESIGNER_SERVER_RELEASE) { REL0N02 = list(ID0CB00, list(ID0CB11, ID0CB13), 'DISABLED, 'DISABLED); } else /* if (set_REPOSITORY_RELEASE) */ { REL0N02 = list(ID0CB00, list(ID0CB13, ID0CB11, ID0CB14), 'DISABLED, 'DISABLED); } } else { /* ID0CB13 is always checked and disabled - ie always install repos */ if (set_DESIGNER_RELEASE) { /* REL0N02 = list(ID0RB1, list(ID0CB14, ID0CB15), 'DISABLED, 'DISABLED); */ /* Do NOT grey REPOS if all products LAN install as you may only want the seeded database */ REL0N02 = list(ID0CB00, list(ID0CB14, ID0CB15), 'DISABLED, 'DISABLED); } else if (set_DESIGNER_CLIENT_RELEASE) { REL0N02 = list(ID0CB00, list(ID0CB13, ID0CB14, ID0CB15), 'DISABLED, 'DISABLED); } else if (set_DESIGNER_SERVER_RELEASE) { REL0N02 = list(ID0CB00, list(ID0CB11, ID0CB13, ID0CB14, ID0CB15), 'DISABLED, 'DISABLED); } else /* if (set_REPOSITORY_RELEASE) */ { REL0N02 = list(ID0CB00, list(ID0CB13, ID0CB11, ID0CB14, ID0CB15), 'DISABLED, 'DISABLED); } } #Relationship between Basic Designer and DevGen and Object Extensions CBs /* REL0N10 = list(ID0CB11, list(ID0CB12, ID0CB13), 'DISABLED, 'ENABLED); */ #Relationship between Basic Designer and DevGen CB REL0N10 = list(ID0CB11, list(ID0CB12), 'DISABLED, 'ENABLED); if (select_refresh_installed_products == FALSE) { rel0ns = list(/* REL0N01, */ REL0N02, REL0N1, REL0N2, /* REL0N3, */ REL0N4, REL0N5, REL0N10); } else { REL0N00 = list(ID0CB00, list(ID0LB13a, ID0CB11, ID0CB12, ID0CB13, ID0CB14, ID0CB15, ID0LB11, ID0LB12, ID0LB13, ID0LB14, ID0LB15), 'DISABLED, 'DISABLED); rel0ns = list(REL0N00); } result0_list = custom_dialog(dialog0_items, rel0ns, designer_dialog_content, designer_dialog_help, 'NOICON); /* this dialog no longer uses the radio buttons to select package or custom install */ /* value_id0rgc = get_ui_value(result0_list, ID0RGC, 'UI_RADIOGROUP); value_id0rb1 = get_ui_value(result0_list, ID0RB1, 'UI_RADIOBUTTON); value_id0rb2 = get_ui_value(result0_list, ID0RB2, 'UI_RADIOBUTTON); */ value_id0rgc = 0; value_id0rb1 = TRUE; value_id0rb2 = FALSE; /* information_dialog(" value_id0rgc=%value_id0rgc% value_id0rb1=%value_id0rb1% value_id0rb2=%value_id0rb2% "); /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ if (value_id0rb1) { default_id0rgc1 = 0; } else { default_id0rgc1 = 1; } default_id0cb11_option = (get_ui_value(result0_list, ID0CB11, 'UI_CHECKBOX)); default_id0cb12_option = (get_ui_value(result0_list, ID0CB12, 'UI_CHECKBOX)); default_id0cb13_option = (get_ui_value(result0_list, ID0CB13, 'UI_CHECKBOX)); default_id0cb14_option = (get_ui_value(result0_list, ID0CB14, 'UI_CHECKBOX)); default_id0cb15_option = (get_ui_value(result0_list, ID0CB15, 'UI_CHECKBOX)); /* default_id0cb17_option = (get_ui_value(result0_list, ID0CB17, 'UI_CHECKBOX)); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id0rgc == 0) */ if (value_id0rb1 == TRUE) { value_id0cb11 = get_ui_value(result0_list, ID0CB11, 'UI_CHECKBOX); value_id0cb13 = get_ui_value(result0_list, ID0CB13, 'UI_CHECKBOX); value_id0cb14 = get_ui_value(result0_list, ID0CB14, 'UI_CHECKBOX); value_id0cb15 = get_ui_value(result0_list, ID0CB15, 'UI_CHECKBOX); if ((value_id0cb11 == TRUE) || (value_id0cb13 == TRUE) || (value_id0cb14 == TRUE) || (value_id0cb15 == TRUE)) { install_type = install_type_package; } else { /* revert back to custom if no packages selected */ /* install_type = install_type_custom; */ /* no - repeat the dialog */ install_type = install_type_package; no_info = nls("no_info", "You must either select some products to install or choose to go to the custom menu"); information_dialog(no_info); repeat_d2k_pkg_dialog = TRUE; } } else { install_type = install_type_custom; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result0_list, ID0CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* **************************************** */ /* End - The Oracle Designer/Repository/Preconfigured Repository/Broadcast Server/Object Extensions dialog definitions */ /* **************************************** */ } else if (set_OMR_RELEASE) /* Added by rjclark for new install */ { /* ************************************************************* */ /* The Oracle Modelling And Repository client dialog definitions */ /* ************************************************************* */ des2kc_pkg_sel24 = nls("des2kc_pkg_sel24", "Select the Oracle Package(s) you wish to install."); des2kc_pkg_sel24p = nls("des2kc_pkg_sel24p", "Select the Oracle Package(s) you wish to patch."); des2kc_pkg_sel24u = nls("des2kc_pkg_sel24u", "Only currently installed Oracle Repository and/or Designer Products will be updated."); des2kc_pkg_sel24pu = nls("des2kc_pkg_sel24pu", "Only currently installed Oracle Repository and/or Designer Products will be patched."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { des2kc_pkg_sel = des2kc_pkg_sel24; } else { des2kc_pkg_sel = des2kc_pkg_sel24p; } } else { if (set_PATCHSET_RELEASE == FALSE) { des2kc_pkg_sel = des2kc_pkg_sel24u; } else { des2kc_pkg_sel = des2kc_pkg_sel24pu; } } des2kc_pkg_client = nls("des2kc_pkg_client", "Client Tools"); des2kc_pkg_admin = nls("des2kc_pkg_admin", "Administrator Tools"); des2kc_pkg_cktl = nls("des2kc_pkg_cktl", "Repository Command Line Tool"); des2kc_pkg_despkg = nls("des2kc_pkg_despkg", "Analysis, Design, Generation and ROB"); des2kc_pkg_devgen = nls("des2kc_pkg_devgen", "Generators for Oracle Developer"); des2kc_pkg_gui = nls("des2kc_pkg_gui", "Repository GUI Tools"); des2kc_pkg_bs = nls("des2kc_pkg_bs", "Broadcast Server (NT Only)"); des2kc_pkg_ss = nls("des2kc_pkg_ss", "Repository Installation Scripts"); des2kc_pkg_designer_rb = nls("des2kc_pkg_designer_rb", "Oracle Designer and Oracle Repository"); /*changed by rjclark to fix bug 1383601*/ des2kc_pkg_repos_rb = nls("des2kc_pkg_repos_rb", "Oracle Repository"); #Define IDs ID24RG1 = 1; /*Added by rjclark for new install*/ ID24RB1 = 2; /*Added by rjclark for new install*/ ID24RB2 = 3; /*Added by rjclark for new install*/ ID24CB11 = 4; ID24CB12 = 5; ID24CB13 = 6; ID24CB14 = 7; ID24CB15 = 8; ID24CB16 = 9; ID24LB1 = 10; ID24LB1a = 11; ID24BM1 = 12; ID24CB00 = 13; ID24LB2 = 14; ID24LB3 = 15; #Define ITEMs /* the TRUE at the end of checkboxes will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled Also note that text in checkboxes ignores the checkbox size !! */ #define instructions label ITEM24BM1 = list(ID24BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_04.bmp")); ITEM24LB1 = list(ID24LB1, list('UI_LABEL, list(180, 20, 360, 40), des2kc_pkg_sel, 'LEFT_JUSTIFY)); ITEM24LB1a = list(ID24LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM24CB00 = list(ID24CB00, list('UI_CHECKBOX, list( 0, 0, 0, 0), "", FALSE)); /* dummy checkbox */ #define choices checkboxes # the -3 lines the text part of the checkbox with a label of the same y co-ord ITEM24RG1 = list(ID24RG1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID24RB1, ID24RB2), default_id24rg01_option)); /*Added by rjclark for new install*/ ITEM24RB1 = list(ID24RB1, list('UI_RADIOBUTTON, list(190, 70, 260, 20), des2kc_pkg_repos_rb)); /*Added by rjclark for new install*/ ITEM24RB2 = list(ID24RB2, list('UI_RADIOBUTTON, list(190, 90, 260, 20), des2kc_pkg_designer_rb)); /*Added by rjclark for new install*/ ITEM24LB2 = list(ID24LB2, list('UI_LABEL, list(180, 115, 290, 20), des2kc_pkg_client, 'LEFT_JUSTIFY)); ITEM24CB11 = list(ID24CB11, list('UI_CHECKBOX, list(190, 135, 260, 20), " %des2kc_pkg_cktl%", default_id24cb11_option)); ITEM24CB12 = list(ID24CB12, list('UI_CHECKBOX, list(190, 155, 260, 20), " %des2kc_pkg_gui%", default_id24cb12_option)); ITEM24CB13 = list(ID24CB13, list('UI_CHECKBOX, list(190, 175, 260, 20), " %des2kc_pkg_despkg%", default_id24cb13_option)); ITEM24CB14 = list(ID24CB14, list('UI_CHECKBOX, list(190, 195, 260, 20), " %des2kc_pkg_devgen%", default_id24cb14_option)); ITEM24LB3 = list(ID24LB3, list('UI_LABEL, list(180, 220, 290, 20), des2kc_pkg_admin, 'LEFT_JUSTIFY)); ITEM24CB15 = list(ID24CB15, list('UI_CHECKBOX, list(190, 240, 260, 20), " %des2kc_pkg_bs%", default_id24cb15_option)); ITEM24CB16 = list(ID24CB16, list('UI_CHECKBOX, list(190, 260, 260, 20), " %des2kc_pkg_ss%", default_id24cb16_option)); #Create item list dialog24_items = list( ITEM24RG1, ITEM24RB1, ITEM24RB2, ITEM24CB11, ITEM24CB12, ITEM24CB13, ITEM24CB14, ITEM24CB15, ITEM24CB16, ITEM24BM1, ITEM24CB00, ITEM24LB1, ITEM24LB2, ITEM24LB3, ITEM24LB1a ); #Define relationships if (select_refresh_installed_products == FALSE) { #Relationship between Repository and Designer CBs rel24ns = list(); if ((operating_system == "nt") || (assume_nt_operating_system)) { if (existing_designer_installation == true) { /* REL24N04 = list(ID24CB00, list(ID24RB1), 'HIDDEN, 'HIDDEN); */ REL24N04 = list(ID24CB00, list(ID24RB1), 'DISABLED, 'HIDDEN); add(rel24ns,REL24N04); } /*REL24N02 = list(ID24CB13, list(ID24CB14), 'HIDDEN, 'ENABLED);*/ REL24N03 = list(ID24RB2, list(ID24CB13, ID24CB14), 'HIDDEN, 'ENABLED); add(rel24ns,REL24N03); } else { if (existing_designer_installation == true) { /* REL24N04 = list(ID24CB00, list(ID24RB1), 'HIDDEN, 'HIDDEN); */ REL24N04 = list(ID24CB00, list(ID24RB1), 'DISABLED, 'HIDDEN); add(rel24ns,REL24N04); } REL24N01 = list(ID24CB00, list(ID24CB15), 'DISABLED, 'DISABLED); add(rel24ns,REL24N01); /*REL24N02 = list(ID24CB13, list(ID24CB14), 'HIDDEN, 'ENABLED);*/ REL24N03 = list(ID24RB2, list(ID24CB13, ID24CB14), 'HIDDEN, 'ENABLED); add(rel24ns,REL24N03); } } else { /* REL24N01 = list(ID24CB00, list(ID24RB1, ID24RB2, ID24CB11, ID24CB12, ID24CB13, ID24CB14, ID24CB15, ID24CB16), 'DISABLED, 'DISABLED); */ /* rel24ns = list(REL24N01); */ REL24N01 = list(ID24CB00, list(ID24CB11, ID24CB12, ID24CB13, ID24CB14, ID24CB15, ID24CB16), 'DISABLED, 'DISABLED); /* can not seem to hide the radio buttons, and when disabled (the preferred option) they can still be clicked on !! */ /* REL24N02 = list(ID24CB00, list(ID24RB1, ID24RB2), 'HIDDEN, 'HIDDEN); */ REL24N02 = list(ID24CB00, list(ID24RB1, ID24RB2), 'DISABLED, 'DISABLED); rel24ns = list(REL24N01, REL24N02); } result24_list = custom_dialog(dialog24_items, rel24ns, omr24_dialog_content, omr24_dialog_help, 'NOICON); default_id24rg01_option = (get_ui_value(result24_list, ID24RG1, 'UI_RADIOGROUP)); /*Added by rjclark for new install*/ default_id24cb11_option = (get_ui_value(result24_list, ID24CB11, 'UI_CHECKBOX)); default_id24cb12_option = (get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX)); default_id24cb13_option = (get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)); default_id24cb14_option = (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX)); default_id24cb15_option = (get_ui_value(result24_list, ID24CB15, 'UI_CHECKBOX)); default_id24cb16_option = (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX)); value_id24cb11 = get_ui_value(result24_list, ID24CB11, 'UI_CHECKBOX); value_id24cb12 = get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX); value_id24cb13 = get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX); value_id24cb14 = get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX); value_id24cb15 = get_ui_value(result24_list, ID24CB15, 'UI_CHECKBOX); value_id24cb16 = get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX); value_id24rb1 = get_ui_value(result24_list, ID24RB1, 'UI_RADIOBUTTON); value_id24rb2 = get_ui_value(result24_list, ID24RB2, 'UI_RADIOBUTTON); if ((value_id24rb1 == true) && (existing_designer_installation == true)) { /* option for Repository only should be disabled so we should not be here anyway. Disabling does not seem work so hide it. Just in case reset radio button defaults */ default_id24rg01_option = 1; /* Repository Only selected but Designer already installed */ des_not_upgraded = nls("des_not_upgraded","Warning! You have selected to install/upgrade your Oracle Repository client installation and have not selected to upgrade the installed version of Oracle Designer. The installed version of Oracle Designer may fail to work. We recommend that you use the 'back' button and select the Oracle Designer products as well."); information_dialog(des_not_upgraded,'NO_CANCEL); } if ((value_id24cb11 == TRUE) || (value_id24cb12 == TRUE) || (value_id24cb13 == TRUE) || (value_id24cb14 == TRUE) || (value_id24cb15 == TRUE) || (value_id24cb16 == TRUE)) { install_type = install_type_package; } else { /* At one time we did... */ /* revert back to custom if no packages selected */ /* install_type = install_type_custom; */ /* and then we did... */ /* check and repeat the dialog */ /* install_type = install_type_package; */ /* no_info = nls("no_info", "You must either select some products to install or choose to go to the custom menu"); */ /* information_dialog(no_info); */ /* repeat_des2k_pkg_dialog = TRUE; */ /* but because we are in the middle of a set of pages of packaged options we can't tell, so just carry on. */ install_type = install_type_package; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result24_list, ID24CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* ******************************************************************* */ /* End - The Oracle Modelling And Repository client dialog definitions */ /* ******************************************************************* */ } else if (set_REPOSITORY_RELEASE) { /* ********************************** */ /* The Oracle Repository client dialog definitions */ /* ********************************** */ reposc_pkg_sel20 = nls("reposc_pkg_sel20", "Select the Oracle Repository Package(s) you wish to install.%carriage_return%%carriage_return%Packages available from this installation:"); reposc_pkg_sel20p = nls("reposc_pkg_sel20p", "Select the Oracle Repoitory Package(s) you wish to patch.%carriage_return%%carriage_return%Packages available from this installation:"); reposc_pkg_sel20u = nls("reposc_pkg_sel20u", "Only currently installed Oracle Repository Products will be updated."); reposc_pkg_sel20pu = nls("reposc_pkg_sel20pu", "Only currently installed Oracle Repository Products will be patched."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { reposc_pkg_sel = reposc_pkg_sel20; } else { reposc_pkg_sel = reposc_pkg_sel20p; } } else { if (set_PATCHSET_RELEASE == FALSE) { reposc_pkg_sel = reposc_pkg_sel20u; } else { reposc_pkg_sel = reposc_pkg_sel20pu; } } reposc_pkg_client = nls("reposc_pkg_client", "Client Tools"); reposc_pkg_admin = nls("reposc_pkg_admin", "Administrator Tools"); reposc_pkg_cktl = nls("reposc_pkg_cktl", "Repository Command Line Tool"); reposc_pkg_gui = nls("reposc_pkg_gui", "Repository GUI Tools"); reposc_pkg_bs = nls("reposc_pkg_bs", "Broadcast Server (NT Only)"); reposc_pkg_ss = nls("reposc_pkg_ss", "Repository Installation Scripts"); #Define IDs ID20LB1 = 1; ID20LB1a = 2; ID20BM1 = 3; ID20CB00 = 4; ID20CB11 = 5; ID20CB12 = 6; ID20CB13 = 7; ID20CB14 = 8; ID20LB2 = 9; ID20LB3 = 10; #Define ITEMs /* the TRUE at the end of checkboxes will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled Also note that text in checkboxes ignores the checkbox size !! */ #define instructions label ITEM20BM1 = list(ID20BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_04.bmp")); ITEM20LB1 = list(ID20LB1, list('UI_LABEL, list(180, 20, 360, 60), reposc_pkg_sel, 'LEFT_JUSTIFY)); ITEM20LB1a = list(ID20LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); #define choices checkboxes # the -3 lines the text part of the checkbox with a label of the same y co-ord ITEM20LB2 = list(ID20LB2, list('UI_LABEL, list(180, 85, 290, 60), reposc_pkg_client, 'LEFT_JUSTIFY)); ITEM20CB00 = list(ID20CB00, list('UI_CHECKBOX, list(190, 110-3, 260, 20), "", FALSE)); /* dummy checkbox */ ITEM20CB11 = list(ID20CB11, list('UI_CHECKBOX, list(190, 110-3, 260, 20), " %reposc_pkg_cktl%", default_id20cb11_option)); ITEM20CB12 = list(ID20CB12, list('UI_CHECKBOX, list(190, 140-3, 260, 20), " %reposc_pkg_gui%", default_id20cb12_option)); ITEM20LB3 = list(ID20LB3, list('UI_LABEL, list(180, 175, 290, 60), reposc_pkg_admin, 'LEFT_JUSTIFY)); ITEM20CB13 = list(ID20CB13, list('UI_CHECKBOX, list(190, 200-3, 260, 20), " %reposc_pkg_bs%", default_id20cb13_option)); ITEM20CB14 = list(ID20CB14, list('UI_CHECKBOX, list(190, 230-3, 260, 20), " %reposc_pkg_ss%", default_id20cb14_option)); #Create item list dialog20_items = list( ITEM20BM1, ITEM20LB1, ITEM20LB2, ITEM20LB3, ITEM20LB1a, ITEM20CB00, ITEM20CB11, ITEM20CB12, ITEM20CB13, ITEM20CB14, ); #Define relationships if (select_refresh_installed_products == FALSE) { #Relationship between Repository and Broadcast Server CB if ((operating_system == "nt") || (assume_nt_operating_system)) { REL20N01 = list(ID20CB00, list(ID20CB13), 'ENABLED, 'ENABLED); } else { REL20N01 = list(ID20CB00, list(ID20CB13), 'DISABLED, 'DISABLED); } } else { REL20N01 = list(ID20CB00, list(ID20CB11, ID20CB12, ID20CB13, ID20CB14), 'DISABLED, 'DISABLED); } rel20ns = list(REL20N01); result20_list = custom_dialog(dialog20_items, rel20ns, repository20_dialog_content, repository20_dialog_help, 'NOICON); default_id20cb11_option = (get_ui_value(result20_list, ID20CB11, 'UI_CHECKBOX)); default_id20cb12_option = (get_ui_value(result20_list, ID20CB12, 'UI_CHECKBOX)); default_id20cb13_option = (get_ui_value(result20_list, ID20CB13, 'UI_CHECKBOX)); default_id20cb14_option = (get_ui_value(result20_list, ID20CB14, 'UI_CHECKBOX)); value_id20cb11 = get_ui_value(result20_list, ID20CB11, 'UI_CHECKBOX); value_id20cb12 = get_ui_value(result20_list, ID20CB12, 'UI_CHECKBOX); value_id20cb13 = get_ui_value(result20_list, ID20CB13, 'UI_CHECKBOX); value_id20cb14 = get_ui_value(result20_list, ID20CB14, 'UI_CHECKBOX); if ((value_id20cb11 == TRUE) || (value_id20cb12 == TRUE) || (value_id20cb13 == TRUE) || (value_id20cb14 == TRUE)) { install_type = install_type_package; } else { /* At one time we did... */ /* revert back to custom if no packages selected */ /* install_type = install_type_custom; */ /* and then we did... */ /* check and repeat the dialog */ /* install_type = install_type_package; */ /* no_info = nls("no_info", "You must either select some products to install or choose to go to the custom menu"); */ /* information_dialog(no_info); */ /* repeat_des2k_pkg_dialog = TRUE; */ /* but because we are in the middle of a set of pages of packaged options we can't tell, so just carry on. */ install_type = install_type_package; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result20_list, ID20CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* **************************************** */ /* End - The Oracle Repository client dialog definitions */ /* **************************************** */ } else if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE) { /* ********************************** */ /* The Oracle Designer & Repository client dialog definitions */ /* ********************************** */ des2kc_pkg_sel21 = nls("des2kc_pkg_sel21", "Select the Oracle Designer Package(s) you wish to install.%carriage_return%%carriage_return%Packages available from this installation:"); des2kc_pkg_sel21p = nls("des2kc_pkg_sel21p", "Select the Oracle Designer Package(s) you wish to patch.%carriage_return%%carriage_return%Packages available from this installation:"); des2kc_pkg_sel21u = nls("des2kc_pkg_sel21u", "The currently installed Oracle Designer Products will be updated."); des2kc_pkg_sel21pu = nls("des2kc_pkg_sel21pu", "The currently installed Oracle Designer Products will be patched."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { des2kc_pkg_sel = des2kc_pkg_sel21; } else { des2kc_pkg_sel = des2kc_pkg_sel21p; } } else { if (set_PATCHSET_RELEASE == FALSE) { des2kc_pkg_sel = des2kc_pkg_sel21u; } else { des2kc_pkg_sel = des2kc_pkg_sel21pu; } } des2kc_pkg_client = nls("des2kc_pkg_client", "Client Tools"); des2kc_pkg_admin = nls("des2kc_pkg_admin", "Administrator Tools"); des2kc_pkg_cktl = nls("des2kc_pkg_cktl", "Repository Command Line Tool"); des2kc_pkg_despkg = nls("des2kc_pkg_despkg", "Analysis, Design, Generation and ROB"); des2kc_pkg_devgen = nls("des2kc_pkg_devgen", "Generators for Oracle Developer"); des2kc_pkg_gui = nls("des2kc_pkg_gui", "Repository GUI Tools"); des2kc_pkg_bs = nls("des2kc_pkg_bs", "Broadcast Server (NT Only)"); des2kc_pkg_ss = nls("des2kc_pkg_ss", "Repository Installation Scripts"); #Define IDs ID21LB1 = 1; ID21LB1a = 2; ID21BM1 = 3; ID21CB00 = 4; ID21CB11 = 5; ID21CB12 = 6; ID21CB13 = 7; ID21CB14 = 8; ID21CB15 = 9; ID21CB16 = 10; ID21LB2 = 11; ID21LB3 = 12; #Define ITEMs /* the TRUE at the end of checkboxes will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled Also note that text in checkboxes ignores the checkbox size !! */ #define instructions label ITEM21BM1 = list(ID21BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_04.bmp")); ITEM21LB1 = list(ID21LB1, list('UI_LABEL, list(180, 20, 360, 60), des2kc_pkg_sel, 'LEFT_JUSTIFY)); ITEM21LB1a = list(ID21LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); #define choices checkboxes # the -3 lines the text part of the checkbox with a label of the same y co-ord ITEM21LB2 = list(ID21LB2, list('UI_LABEL, list(180, 85, 290, 60), des2kc_pkg_client, 'LEFT_JUSTIFY)); ITEM21CB00 = list(ID21CB00, list('UI_CHECKBOX, list(190, 110-3, 260, 20), "", FALSE)); /* dummy checkbox */ ITEM21CB11 = list(ID21CB11, list('UI_CHECKBOX, list(190, 110-3, 260, 20), " %des2kc_pkg_cktl%", default_id21cb11_option)); ITEM21CB12 = list(ID21CB12, list('UI_CHECKBOX, list(190, 135-3, 260, 20), " %des2kc_pkg_gui%", default_id21cb12_option)); ITEM21CB13 = list(ID21CB13, list('UI_CHECKBOX, list(190, 160-3, 260, 20), " %des2kc_pkg_despkg%", default_id21cb13_option)); ITEM21CB14 = list(ID21CB14, list('UI_CHECKBOX, list(190, 185-3, 260, 20), " %des2kc_pkg_devgen%", default_id21cb14_option)); ITEM21LB3 = list(ID21LB3, list('UI_LABEL, list(180, 210, 290, 60), des2kc_pkg_admin, 'LEFT_JUSTIFY)); ITEM21CB15 = list(ID21CB15, list('UI_CHECKBOX, list(190, 235-3, 260, 20), " %des2kc_pkg_bs%", default_id21cb15_option)); ITEM21CB16 = list(ID21CB16, list('UI_CHECKBOX, list(190, 260-3, 260, 20), " %des2kc_pkg_ss%", default_id21cb16_option)); #Create item list dialog21_items = list( ITEM21BM1, ITEM21LB1, ITEM21LB2, ITEM21LB3, ITEM21LB1a, ITEM21CB00, ITEM21CB11, ITEM21CB12, ITEM21CB13, ITEM21CB14, ITEM21CB15, ITEM21CB16, ); #Define relationships if (select_refresh_installed_products == FALSE) { #Relationship between Repository and Designer CBs if ((operating_system == "nt") || (assume_nt_operating_system)) { REL21N01 = list(ID21CB00, list(ID21CB15), 'ENABLED, 'ENABLED); REL21N02 = list(ID21CB13, list(ID21CB14), 'DISABLED, 'ENABLED); rel21ns = list(REL21N01, REL21N02); } else { REL21N01 = list(ID21CB00, list(ID21CB15), 'DISABLED, 'DISABLED); REL21N02 = list(ID21CB13, list(ID21CB14), 'DISABLED, 'ENABLED); rel21ns = list(REL21N01, REL21N02); } } else { REL21N01 = list(ID21CB00, list(ID21CB11, ID21CB12, ID21CB13, ID21CB14, ID21CB15, ID21CB16), 'DISABLED, 'DISABLED); rel21ns = list(REL21N01); } result21_list = custom_dialog(dialog21_items, rel21ns, designer21_dialog_content, designer21_dialog_help, 'NOICON); default_id21cb11_option = (get_ui_value(result21_list, ID21CB11, 'UI_CHECKBOX)); default_id21cb12_option = (get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX)); default_id21cb13_option = (get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)); default_id21cb14_option = (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX)); default_id21cb15_option = (get_ui_value(result21_list, ID21CB15, 'UI_CHECKBOX)); default_id21cb16_option = (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX)); value_id21cb11 = get_ui_value(result21_list, ID21CB11, 'UI_CHECKBOX); value_id21cb12 = get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX); value_id21cb13 = get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX); value_id21cb14 = get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX); value_id21cb15 = get_ui_value(result21_list, ID21CB15, 'UI_CHECKBOX); value_id21cb16 = get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX); if ((value_id21cb11 == TRUE) || (value_id21cb12 == TRUE) || (value_id21cb13 == TRUE) || (value_id21cb14 == TRUE) || (value_id21cb15 == TRUE) || (value_id21cb16 == TRUE)) { install_type = install_type_package; } else { /* At one time we did... */ /* revert back to custom if no packages selected */ /* install_type = install_type_custom; */ /* and then we did... */ /* check and repeat the dialog */ /* install_type = install_type_package; */ /* no_info = nls("no_info", "You must either select some products to install or choose to go to the custom menu"); */ /* information_dialog(no_info); */ /* repeat_des2k_pkg_dialog = TRUE; */ /* but because we are in the middle of a set of pages of packaged options we can't tell, so just carry on. */ install_type = install_type_package; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result21_list, ID21CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* **************************************** */ /* End - The Oracle Designer client dialog definitions */ /* **************************************** */ } else if (set_DESIGNER_SERVER_RELEASE) { /* ************************** */ /* server only package dialog */ /* ************************** */ svr_pkg_sel0 = nls("svr_pkg_sel0", "Select either the Oracle Designer Package(s) you wish to install or choose the custom install/deinstall option."); /* svr_pkg_sel0 = nls("svr_pkg_sel0", "Select the Oracle Designer Package(s) you wish to install."); */ svr_pkg_sel0p = nls("svr_pkg_sel0p", "Select the First Practice Package(s) you wish to patch or choose the custom install/deinstall option.%carriage_return%%carriage_return%Packages available from this installation:"); svr_pkg_sel0u = nls("svr_pkg_sel0u", "The currently installed Oracle Designer Products will be updated. Alternatively choose the custom install/deinstall option."); svr_pkg_sel0pu = nls("svr_pkg_sel0pu", "The currently installed Oracle Designer Products will be patched. Alternatively choose the custom install/deinstall option."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { svr_pkg_sel = svr_pkg_sel0; } else { svr_pkg_sel = svr_pkg_sel0p; } } else { if (set_PATCHSET_RELEASE == FALSE) { svr_pkg_sel = svr_pkg_sel0u; } else { svr_pkg_sel = svr_pkg_sel0pu; } } svr_pkg_cksr = nls("svr_pkg_cksr", "Oracle Preconfigured Repository"); svr_pkg_custom = nls("svr_pkg_custom", "Custom Installation/De-Installation"); #Define IDs ID13LB3 = 1; ID13LB3a = 2; ID13RB4 = 3; ID13RB5 = 4; ID13RGC2 = 5; ID13BM1 = 6; ITEM13BM1 = list(ID13BM1, list('UI_BITMAP, list( 0, 20, 165,260), "des2k_02.bmp")); /* ITEM13LB3 = list(ID13LB3, list('UI_LABEL, list( 10, 10, 530, 40), svr_pkg_sel0, 'LEFT_JUSTIFY)); */ ITEM13LB3 = list(ID13LB3, list('UI_LABEL, list(180, 20, 360, 80), svr_pkg_sel0, 'LEFT_JUSTIFY)); ITEM13LB3a = list(ID13LB3a, list('UI_LABEL, list( 10, 300, 530, 21), "", 'LEFT_JUSTIFY)); /* ITEM13RB4 = list(ID13RB4, list('UI_RADIOBUTTON, list( 30, 100, 370, 20), svr_pkg_cksr)); */ /* ITEM13RB5 = list(ID13RB5, list('UI_RADIOBUTTON, list( 30, 130, 370, 20), svr_pkg_custom)); */ ITEM13RB4 = list(ID13RB4, list('UI_RADIOBUTTON, list(180, 120, 290, 40), svr_pkg_cksr)); ITEM13RB5 = list(ID13RB5, list('UI_RADIOBUTTON, list(180, 160, 290, 40), svr_pkg_custom)); #Define radio group ITEM13RGC2 = list(ID13RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID13RB4, ID13RB5), default_id13rgc2_option)); #Create item list dialog13_items = list(ITEM13BM1, ITEM13LB3, ITEM13LB3a, ITEM13RB4, ITEM13RB5, ITEM13RGC2); #Define relationships rel13ns = list(); result13_list = custom_dialog(dialog13_items, rel13ns, dessvr_dialog_content, dessvr_dialog_help, 'NOICON); value_id13rgc2= get_ui_value(result13_list, ID13RGC2, 'UI_RADIOGROUP); value_id13rb4 = get_ui_value(result13_list, ID13RB4, 'UI_RADIOBUTTON); value_id13rb5 = get_ui_value(result13_list, ID13RB5, 'UI_RADIOBUTTON); /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id13rgc2 == 0) */ if (value_id13rb4 == TRUE) { install_type = install_type_package; } else { install_type = install_type_custom; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result0_list, ID0CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } } else if (set_FIRST_PRACTICE_RELEASE) { /* ***************************** */ /* first practice package dialog */ /* ***************************** */ firstp_pkg_sel0 = nls("firstp_pkg_sel0", "Select the First Practice Packages that you wish to install."); firstp_pkg_sel0p = nls("firstp_pkg_sel0p", "Select the First Practice Package(s) you wish to patch.%carriage_return%%carriage_return%Packages available from this installation:"); firstp_pkg_sel0u = nls("firstp_pkg_sel0u", "The currently installed Oracle Designer Products will be updated."); firstp_pkg_sel0pu = nls("firstp_pkg_sel0pu", "The currently installed Oracle Designer Products will be patched."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { firstp_pkg_sel = firstp_pkg_sel0; } else { firstp_pkg_sel = firstp_pkg_sel0p; } } else { if (set_PATCHSET_RELEASE == FALSE) { firstp_pkg_sel = firstp_pkg_sel0u; } else { firstp_pkg_sel = firstp_pkg_sel0pu; } } firstp_pkg_firstp = nls("firstp_pkg_firstp", "First Practice"); firstp_pkg_unit1 = nls("firstp_pkg_unit1", "Unit 1"); firstp_pkg_unit2 = nls("firstp_pkg_unit2", "Unit 2"); firstp_pkg_unit3 = nls("firstp_pkg_unit3", "Unit 3"); firstp_pkg_custom = nls("firstp_pkg_custom", "Custom Installation/De-Installation"); #Define IDs ID16LB1 = 1; ID16LB1a = 2; ID16CB00 = 3; ID16CB1 = 4; ID16LB2 = 5; ID16CB2 = 6; ID16LB3 = 7; ID16CB3 = 8; ID16LB4 = 9; ID16CB4 = 10; ID16BM1 = 11; ITEM16BM1 = list(ID16BM1, list('UI_BITMAP, list( 0, 20, 165,260), "des2k_02.bmp")); ITEM16LB1 = list(ID16LB1, list('UI_LABEL, list(180, 20, 360, 80), firstp_pkg_sel, 'LEFT_JUSTIFY)); ITEM16LB1a = list(ID16LB1a, list('UI_LABEL, list( 10, 300, 530, 21), "", 'LEFT_JUSTIFY)); ITEM16CB00 = list(ID16CB00, list('UI_CHECKBOX, list(180, 110, 0, 0), "", FALSE)); /* dummy checkbox hidden by being overwritten */ ITEM16CB1 = list(ID16CB1, list('UI_CHECKBOX, list(180, 110, 290, 30), firstp_pkg_firstp, TRUE)); ITEM16LB2 = list(ID16LB2, list('UI_LABEL, list(220, 148, 250, 30), firstp_pkg_unit1, 'LEFT_JUSTIFY)); ITEM16CB2 = list(ID16CB2, list('UI_CHECKBOX, list(200, 140, 20, 30), "",TRUE)); ITEM16LB3 = list(ID16LB3, list('UI_LABEL, list(220, 178, 250, 30), firstp_pkg_unit2, 'LEFT_JUSTIFY)); ITEM16CB3 = list(ID16CB3, list('UI_CHECKBOX, list(200, 170, 20, 30), "",TRUE)); ITEM16LB4 = list(ID16LB4, list('UI_LABEL, list(220, 208, 250, 30), firstp_pkg_unit3, 'LEFT_JUSTIFY)); ITEM16CB4 = list(ID16CB4, list('UI_CHECKBOX, list(200, 200, 20, 30), "",TRUE)); #Define radio group /* ITEM16RGC2 = list(ID16RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID16RB4, ID16RB5), default_id16rgc2_option)); */ #Create item list dialog16_items = list(ITEM16BM1, ITEM16LB1, ITEM16LB1a, ITEM16CB00, ITEM16CB1, ITEM16LB2, ITEM16CB2, ITEM16LB3, ITEM16CB3, ITEM16LB4, ITEM16CB4); #Define relationships REL16N1 = list(ID16CB1, list(ID16CB2, ID16CB3, ID16CB4), 'DISABLED, 'DISABLED); if (select_refresh_installed_products == FALSE) { rel16ns = list(REL16N1); } else { REL16N00 = list(ID16CB00, list(ID16CB1, ID16CB2, ID16CB3, ID16CB4), 'DISABLED, 'DISABLED); rel16ns = list(REL16N00); } result16_list = custom_dialog(dialog16_items, rel16ns, firstp_dialog_content, firstp_dialog_help, 'NOICON); /* this dialog no longer uses the radio buttons to select package or custom install */ /* value_id16rgc = get_ui_value(result16_list, ID16RGC, 'UI_RADIOGROUP); value_id16rb1 = get_ui_value(result16_list, ID16RB1, 'UI_RADIOBUTTON); value_id16rb2 = get_ui_value(result16_list, ID16RB2, 'UI_RADIOBUTTON); */ value_id16rgc = 0; value_id16rb1 = TRUE; value_id16rb2 = FALSE; /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ if (value_id16rb1) { default_id16rgc1 = 0; } else { default_id16rgc1 = 1; } /* if (value_id16rgc == 0) */ if (value_id16rb1 == TRUE) { value_id16cb1 = get_ui_value(result16_list, ID16CB1, 'UI_CHECKBOX); value_id16cb2 = get_ui_value(result16_list, ID16CB2, 'UI_CHECKBOX); value_id16cb3 = get_ui_value(result16_list, ID16CB3, 'UI_CHECKBOX); value_id16cb4 = get_ui_value(result16_list, ID16CB4, 'UI_CHECKBOX); if (value_id16cb1 == TRUE) { install_type = install_type_package; } else { /* revert back to custom if no packages selected */ /* install_type = install_type_custom; */ /* no - repeat the dialog */ install_type = install_type_package; no_info = nls("no_info", "You must either select some products to install or choose to go to the custom menu"); information_dialog(no_info); repeat_d2k_pkg_dialog = TRUE; } } else { install_type = install_type_custom; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result0_list, ID0CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* *********************************** */ /* End - first practice package dialog */ /* *********************************** */ } else if (set_OBM_RELEASE) { /* ***************************** */ /* OBM package dialog */ /* ***************************** */ obm_pkg_sel0 = nls("obm_pkg_sel0", "Select the UML Packages that you wish to install."); obm_pkg_sel0p = nls("obm_pkg_sel0p", "Select the UML Package(s) you wish to patch.%carriage_return%%carriage_return%Packages available from this installation:"); obm_pkg_sel0u = nls("obm_pkg_sel0u", "The currently installed Oracle Designer Products will be updated."); obm_pkg_sel0pu = nls("obm_pkg_sel0pu", "The currently installed Oracle Designer Products will be patched."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { obm_pkg_sel = obm_pkg_sel0; } else { obm_pkg_sel = obm_pkg_sel0p; } } else { if (set_PATCHSET_RELEASE == FALSE) { obm_pkg_sel = obm_pkg_sel0u; } else { obm_pkg_sel = obm_pkg_sel0pu; } } obm_pkg_repos = nls("obm_pkg_repos", "Oracle Repository only"); obm_pkg_obm = nls("obm_pkg_obm", "UML Modelers (includes required Repository Client Side Tools)"); obm_pkg_custom = nls("obm_pkg_custom", "Custom Installation/De-Installation"); #Define IDs ID18LB1 = 1; ID18LB1a = 2; ID18CB00 = 3; ID18CB1 = 4; ID18CB2 = 5; ID18BM1 = 10; ITEM18BM1 = list(ID18BM1, list('UI_BITMAP, list( 0, 20, 185,260), "des2k_02.bmp")); ITEM18LB1 = list(ID18LB1, list('UI_LABEL, list(180, 20, 360, 80), obm_pkg_sel, 'LEFT_JUSTIFY)); ITEM18LB1a = list(ID18LB1a, list('UI_LABEL, list( 10, 300, 530, 21), "", 'LEFT_JUSTIFY)); ITEM18CB00 = list(ID18CB00, list('UI_CHECKBOX, list(180, 110, 0, 0), "", FALSE)); /* dummy checkbox hidden by being overwritten */ ITEM18CB1 = list(ID18CB1, list('UI_CHECKBOX, list(180, 110, 290, 30), obm_pkg_repos, TRUE)); ITEM18CB2 = list(ID18CB2, list('UI_CHECKBOX, list(180, 140, 290, 30), obm_pkg_obm, TRUE)); #Define radio group /* ITEM18RGC2 = list(ID18RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID18RB4, ID18RB5), default_id18rgc2_option)); */ #Create item list dialog18_items = list(ITEM18BM1, ITEM18LB1, ITEM18LB1a, ITEM18CB00, ITEM18CB1, ITEM18CB2); #Define relationships /* REL18N1 = list(ID18CB1, list(ID18CB2, ID18CB3, ID18CB4), 'DISABLED, 'DISABLED); */ /* rel18ns = list(REL18N1); */ if (select_refresh_installed_products == FALSE) { rel18ns = list(); } else { REL18N00 = list(ID18CB00, list(ID18CB1, ID18CB2), 'DISABLED, 'DISABLED); rel18ns = list(REL18N00); } result18_list = custom_dialog(dialog18_items, rel18ns, obm_dialog_content, obm_dialog_help, 'NOICON); /* this dialog no longer uses the radio buttons to select package or custom install */ /* value_id18rgc = get_ui_value(result18_list, ID18RGC, 'UI_RADIOGROUP); value_id18rb1 = get_ui_value(result18_list, ID18RB1, 'UI_RADIOBUTTON); value_id18rb2 = get_ui_value(result18_list, ID18RB2, 'UI_RADIOBUTTON); */ value_id18rgc = 0; value_id18rb1 = TRUE; value_id18rb2 = FALSE; /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ if (value_id18rb1) { default_id18rgc1 = 0; } else { default_id18rgc1 = 1; } /* if (value_id18rgc == 0) */ if (value_id18rb1 == TRUE) { value_id18cb1 = get_ui_value(result18_list, ID18CB1, 'UI_CHECKBOX); value_id18cb2 = get_ui_value(result18_list, ID18CB2, 'UI_CHECKBOX); if (value_id18cb1 == TRUE) { install_type = install_type_package; } else if (value_id18cb2 == TRUE) { install_type = install_type_package; } else { /* revert back to custom if no packages selected */ /* install_type = install_type_custom; */ /* no - repeat the dialog */ install_type = install_type_package; no_info = nls("no_info", "You must either select some products to install or choose to go to the custom menu"); information_dialog(no_info); repeat_d2k_pkg_dialog = TRUE; } } else { install_type = install_type_custom; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result0_list, ID0CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* *********************************** */ /* End - OBM package dialog */ /* *********************************** */ } else if (set_BPD_RELEASE) { /* ***************************** */ /* BPD package dialog */ /* ***************************** */ bpd_pkg_sel0 = nls("bpd_pkg_sel0", "Select the BPD Packages that you wish to install."); bpd_pkg_sel0p = nls("bpd_pkg_sel0p", "Select the BPD Package(s) you wish to patch.%carriage_return%%carriage_return%Packages available from this installation:"); bpd_pkg_sel0u = nls("bpd_pkg_sel0u", "The currently installed Oracle Designer Products will be updated."); bpd_pkg_sel0pu = nls("bpd_pkg_sel0pu", "The currently installed Oracle Designer Products will be patched."); if (select_refresh_installed_products == FALSE) { if (set_PATCHSET_RELEASE == FALSE) { bpd_pkg_sel = bpd_pkg_sel0; } else { bpd_pkg_sel = bpd_pkg_sel0p; } } else { if (set_PATCHSET_RELEASE == FALSE) { bpd_pkg_sel = bpd_pkg_sel0u; } else { bpd_pkg_sel = bpd_pkg_sel0pu; } } bpd_pkg_repos = nls("bpd_pkg_repos", "Oracle Repository only"); bpd_pkg_bpd = nls("bpd_pkg_bpd", "BPD Modelers (includes required Repository Client Side Tools)"); bpd_pkg_custom = nls("bpd_pkg_custom", "Custom Installation/De-Installation"); #Define IDs ID19LB1 = 1; ID19LB1a = 2; ID19CB00 = 3; ID19CB1 = 4; ID19CB2 = 5; ID19BM1 = 10; ITEM19BM1 = list(ID19BM1, list('UI_BITMAP, list( 0, 20, 185,260), "des2k_02.bmp")); ITEM19LB1 = list(ID19LB1, list('UI_LABEL, list(180, 20, 360, 80), bpd_pkg_sel, 'LEFT_JUSTIFY)); ITEM19LB1a = list(ID19LB1a, list('UI_LABEL, list( 10, 300, 530, 21), "", 'LEFT_JUSTIFY)); ITEM19CB00 = list(ID19CB00, list('UI_CHECKBOX, list(180, 110, 0, 0), "", FALSE)); /* dummy checkbox hidden by being overwritten */ ITEM19CB1 = list(ID19CB1, list('UI_CHECKBOX, list(180, 110, 290, 30), bpd_pkg_repos, TRUE)); ITEM19CB2 = list(ID19CB2, list('UI_CHECKBOX, list(180, 140, 290, 30), bpd_pkg_bpd, TRUE)); #Define radio group /* ITEM19RGC2 = list(ID19RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID19RB4, ID19RB5), default_id19rgc2_option)); */ #Create item list dialog19_items = list(ITEM19BM1, ITEM19LB1, ITEM19LB1a, ITEM19CB00, ITEM19CB1, ITEM19CB2); #Define relationships /* REL19N1 = list(ID19CB1, list(ID19CB2, ID19CB3, ID19CB4), 'DISABLED, 'DISABLED); */ /* rel19ns = list(REL19N1); */ if (select_refresh_installed_products == FALSE) { rel19ns = list(); } else { REL19N00 = list(ID19CB00, list(ID19CB1, ID19CB2), 'DISABLED, 'DISABLED); rel19ns = list(REL19N00); } result19_list = custom_dialog(dialog19_items, rel19ns, bpd_dialog_content, bpd_dialog_help, 'NOICON); /* this dialog no longer uses the radio buttons to select package or custom install */ /* value_id19rgc = get_ui_value(result19_list, ID19RGC, 'UI_RADIOGROUP); value_id19rb1 = get_ui_value(result19_list, ID19RB1, 'UI_RADIOBUTTON); value_id19rb2 = get_ui_value(result19_list, ID19RB2, 'UI_RADIOBUTTON); */ value_id19rgc = 0; value_id19rb1 = TRUE; value_id19rb2 = FALSE; /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ if (value_id19rb1) { default_id19rgc1 = 0; } else { default_id19rgc1 = 1; } /* if (value_id19rgc == 0) */ if (value_id19rb1 == TRUE) { value_id19cb1 = get_ui_value(result19_list, ID19CB1, 'UI_CHECKBOX); value_id19cb2 = get_ui_value(result19_list, ID19CB2, 'UI_CHECKBOX); if (value_id19cb1 == TRUE) { install_type = install_type_package; } else if (value_id19cb2 == TRUE) { install_type = install_type_package; } else { /* revert back to custom if no packages selected */ /* install_type = install_type_custom; */ /* no - repeat the dialog */ install_type = install_type_package; no_info = nls("no_info", "You must either select some products to install or choose to go to the custom menu"); information_dialog(no_info); repeat_d2k_pkg_dialog = TRUE; } } else { install_type = install_type_custom; } if (install_type == install_type_package) { if (call_advanced_dialog) { /* the advanced dialog at the end has been replaced by smaller dialogs here, set flag to false so the original does not get called */ /* call_advanced_dialog = (get_ui_value(result0_list, ID0CB17, 'UI_CHECKBOX)); */ call_advanced_dialog = FALSE; } } else { call_advanced_dialog = FALSE; } /* *********************************** */ /* End - BPD package dialog */ /* *********************************** */ } else { information_dialog("internal error - no package selected"); } if (repeat_d2k_pkg_dialog == FALSE) { if (install_type == install_type_package) { /* options (1) */ adv_pkg_spec = nls("adv_pkg_spec", "Specify behaviour when Installing over Existing Products:"); adv_pkg_new = nls("adv_pkg_new", "Only Install New or Updated Products"); adv_pkg_reinst = nls("adv_pkg_reinst", "Force Install of All Selected Products"); adv_pkg_reinst2 = nls("adv_pkg_reinst2", "(Caution - may downgrade existing products!!)"); adv_pkg_each = nls("adv_pkg_each", "Notification for Each Selected Product"); adv_pkg_not = nls("adv_pkg_not", "Notify when Upgrading product"); adv_pkg_notrei = nls("adv_pkg_notrei", "Notify when Re-Installing product"); adv_pkg_notnew = nls("adv_pkg_notnew", "Notify when Installing new product"); adv_pkg_notdown = nls("adv_pkg_notdown", "Notify when Downgrading product"); adv_pkg_notdown2 = nls("adv_pkg_notdown2", "(if unchecked product will not be downgraded)"); /* options (2) */ adv_pkg_opt = nls("adv_pkg_opt", "Customization options (turn all options off for quiet installation):"); adv_pkg_msgs = nls("adv_pkg_msgs", "Display Additional Messages"); adv_pkg_dir = nls("adv_pkg_dir", "Prompt for Install Directories"); adv_pkg_list = nls("adv_pkg_list", "Show List of Products to be Installed"); /* options (3) */ adv_pkg_database_choose = nls("adv_pkg_database_choose", "THIS DIALOG SHOULD BE REMOVED AS IT IS REDUNDANT%carriage_return%Select default Import/Export and SQL*Plus Version:"); adv_pkg_database_o7 = nls("adv_pkg_database_o7", "Import/Export V7.3 and SQL*Plus V3.3"); adv_pkg_database_o7x = nls("adv_pkg_database_o7x", "(Oracle7 Tools)"); adv_pkg_database_o8 = nls("adv_pkg_database_o8", "Import/Export V8.0 and SQL*Plus V8.0"); adv_pkg_database_o8x = nls("adv_pkg_database_o8x", "(Oracle8 Tools)"); #Define IDs ID2RB1 = 1; ID2RB2 = 2; ID2RB3 = 3; ID2CB31 = 4; ID2CB32 = 5; ID2CB33 = 6; ID2CB4 = 7; ID2CB5 = 8; ID2CB6 = 9; ID2RGC1 = 10; ID2LB1 = 11; ID2LB2 = 12; ID2LB3 = 13; ID2RB4 = 14; ID2RB5 = 15; ID2RGC2 = 16; ID2LB1a = 17; ID2LB2a = 18; ID2LB3a = 19; ID2BM1 = 20; ID2BM2 = 21; ID2BM3 = 22; ID2LB4 = 23; ID2LB5 = 24; ID2CB34 = 25; ID2LB6 = 26; ID2LB34b = 27; mark { /* mark options (1) dialog */ /* ****************** */ /* options (1) dialog */ /* ****************** */ #Define ITEMs /* ITEM2LB1 = list(ID2LB1, list('UI_LABEL, list( 10, 10, 370, 20), adv_pkg_spec, 'LEFT_JUSTIFY)); */ ITEM2LB1 = list(ID2LB1, list('UI_LABEL, list(180, 20, 360, 40), adv_pkg_spec, 'LEFT_JUSTIFY)); ITEM2LB1a = list(ID2LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM2BM1 = list(ID2BM1, list('UI_BITMAP, list( 0, 20, 165,260), "des2k_02.bmp")); ITEM2RB1 = list(ID2RB1, list('UI_RADIOBUTTON, list(180, 50, 290, 20), adv_pkg_new)); ITEM2RB3 = list(ID2RB3, list('UI_RADIOBUTTON, list(180, 80, 290, 20), adv_pkg_each)); /* TRUE at the end will bring the checkbox up checked */ ITEM2CB31 = list(ID2CB31, list('UI_CHECKBOX, list(200, 110, 310, 20), " %adv_pkg_not%", notify_upgrade)); ITEM2CB32 = list(ID2CB32, list('UI_CHECKBOX, list(200, 140, 310, 20), " %adv_pkg_notrei%", notify_reinstall)); ITEM2CB33 = list(ID2CB33, list('UI_CHECKBOX, list(200, 170, 310, 20), " %adv_pkg_notnew%", notify_new_install)); ITEM2CB34 = list(ID2CB34, list('UI_CHECKBOX, list(200, 200, 310, 20), " %adv_pkg_notdown%", notify_down_install)); ITEM2LB34b= list(ID2LB34b,list('UI_LABEL, list(220, 220, 290, 20), adv_pkg_notdown2, 'LEFT_JUSTIFY)); ITEM2RB2 = list(ID2RB2, list('UI_RADIOBUTTON, list(180, 250, 330, 20), adv_pkg_reinst)); ITEM2LB6 = list(ID2LB6, list('UI_LABEL, list(197, 270, 290, 20), adv_pkg_reinst2, 'LEFT_JUSTIFY)); #Define radio group ITEM2RGC1 = list(ID2RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID2RB1, ID2RB2, ID2RB3), default_id2rgc1_option)); #Create item list dialog2_items = list(ITEM2BM1, ITEM2LB1, ITEM2LB1a, ITEM2RB1, ITEM2RB2, ITEM2RB3, ITEM2CB31, ITEM2CB32, ITEM2CB33, ITEM2CB34, ITEM2LB6, ITEM2LB34b, ITEM2RGC1); #Define relationships REL2N1 = list(ID2RB3, list(ID2CB31, ID2CB32, ID2CB33, ID2CB34), 'DISABLED, 'ENABLED); REL2N2 = list(ID2RB3, list(ID2CB4), 'ENABLED, 'DISABLED); /* rel2ns = list(REL2N1, REL2N2); */ rel2ns = list(REL2N1); result2_1_list = custom_dialog(dialog2_items, rel2ns, advanced1_dialog_content, advanced1_dialog_help, 'NOICON); { value_id2rgc1= get_ui_value(result2_1_list, ID2RGC1, 'UI_RADIOGROUP); value_id2rb1 = get_ui_value(result2_1_list, ID2RB1, 'UI_RADIOBUTTON); value_id2rb2 = get_ui_value(result2_1_list, ID2RB2, 'UI_RADIOBUTTON); value_id2rb3 = get_ui_value(result2_1_list, ID2RB3, 'UI_RADIOBUTTON); /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id2rgc1 == 0) */ if (value_id2rb1 == TRUE) { always_upgrade = TRUE; always_reinstall = FALSE; never_reinstall = TRUE; notify_upgrade = FALSE; notify_reinstall = FALSE; notify_new_install = FALSE; notify_down_install = FALSE; default_id2rgc1_option = 0; } /* else if (value_id2rgc1 == 1) */ else if (value_id2rb2 == TRUE) { always_upgrade = TRUE; always_reinstall = TRUE; never_reinstall = FALSE; notify_upgrade = FALSE; notify_reinstall = FALSE; notify_new_install = FALSE; notify_down_install = FALSE; default_id2rgc1_option = 1; } else { always_upgrade = FALSE; always_reinstall = FALSE; never_reinstall = FALSE; notify_upgrade = (get_ui_value(result2_1_list, ID2CB31, 'UI_CHECKBOX)); notify_reinstall = (get_ui_value(result2_1_list, ID2CB32, 'UI_CHECKBOX)); notify_new_install = (get_ui_value(result2_1_list, ID2CB33, 'UI_CHECKBOX)); notify_down_install = (get_ui_value(result2_1_list, ID2CB34, 'UI_CHECKBOX)); default_id2rgc1_option = 2; } } /* ****************** */ /* options (2) dialog */ /* ****************** */ mark { /* mark mark options (2) dialog */ #Define ITEMs /* M2LB2 = list(ID2LB2, list('UI_LABEL, list( 10, 150, 370, 20), adv_pkg_opt, 'LEFT_JUSTIFY)); */ ITEM2LB2 = list(ID2LB2, list('UI_LABEL, list(180, 20, 360, 40), adv_pkg_opt, 'LEFT_JUSTIFY)); ITEM2LB2a = list(ID2LB2a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM2BM2 = list(ID2BM2, list('UI_BITMAP, list( 0, 20, 165,260), "des2k_02.bmp")); /* TRUE at the end will bring the checkbox up checked */ ITEM2CB4 = list(ID2CB4, list('UI_CHECKBOX, list(180, 110, 290, 20), " %adv_pkg_msgs%", verbose)); ITEM2CB5 = list(ID2CB5, list('UI_CHECKBOX, list(180, 140, 290, 20), " %adv_pkg_dir%", not(set_quick_install))); ITEM2CB6 = list(ID2CB6, list('UI_CHECKBOX, list(180, 170, 290, 20), " %adv_pkg_list%", show_verified_products)); #Define radio group ITEM2RGC1 = list(); #Create item list dialog2_items = list(ITEM2BM2, ITEM2LB2, ITEM2LB2a, ITEM2CB4, ITEM2CB5, ITEM2CB6); #Define relationships rel2ns = list(); result2_2_list = custom_dialog(dialog2_items, rel2ns, advanced2_dialog_content, advanced2_dialog_help, 'NOICON); { verbose = (get_ui_value(result2_2_list, ID2CB4, 'UI_CHECKBOX)); set_quick_install = not(get_ui_value(result2_2_list, ID2CB5, 'UI_CHECKBOX)); show_verified_products = (get_ui_value(result2_2_list, ID2CB6, 'UI_CHECKBOX)); } /* ****************** */ /* options (3) dialog */ /* ****************** */ mark { /* mark options (3) dialog */ /* the Oracle7/Oracle8 dialog now removed... */ if (FALSE) { /* oracle7/8 */ #Define ITEMs /* ITEM2LB3 = list(ID2LB3, list('UI_LABEL, list(10, 230, 370, 20), adv_pkg_database_choose, 'LEFT_JUSTIFY)); */ ITEM2LB3 = list(ID2LB3, list('UI_LABEL, list(180, 20, 360, 40), adv_pkg_database_choose, 'LEFT_JUSTIFY)); ITEM2LB3a = list(ID2LB3a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM2RB4 = list(ID2RB4, list('UI_RADIOBUTTON, list(180, 120, 290, 20), adv_pkg_database_o7)); ITEM2LB4 = list(ID2LB4, list('UI_LABEL, list(200, 140, 270, 20), adv_pkg_database_o7x)); ITEM2RB5 = list(ID2RB5, list('UI_RADIOBUTTON, list(180, 170, 290, 20), adv_pkg_database_o8)); ITEM2LB5 = list(ID2LB5, list('UI_LABEL, list(200, 190, 270, 20), adv_pkg_database_o8x)); ITEM2BM3 = list(ID2BM3, list('UI_BITMAP, list( 0, 20, 165,260), "des2k_02.bmp")); #Define radio group ITEM2RGC2 = list(ID2RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID2RB4, ID2RB5), default_id2rgc2_option)); #Create item list dialog2_items = list(ITEM2BM3, ITEM2LB3, ITEM2LB3a, ITEM2RB4, ITEM2LB4, ITEM2RB5, ITEM2LB5, ITEM2RGC2); #Define relationships rel2ns = list(); result2_3_list = custom_dialog(dialog2_items, rel2ns, advanced3_dialog_content, advanced3_dialog_help, 'NOICON); /* import/export sql*plus choice */ value_id2rgc2= get_ui_value(result2_3_list, ID2RGC2, 'UI_RADIOGROUP); value_id2rb4 = get_ui_value(result2_3_list, ID2RB4, 'UI_RADIOBUTTON); value_id2rb5 = get_ui_value(result2_3_list, ID2RB5, 'UI_RADIOBUTTON); if (value_id2rb4 == TRUE) { set_designer_execute_impexp = 'IMPEXP73; set_designer_execute_sql = 'PLUS33; /* added later... if (not(member(selected_products,"w32util73"))) add(selected_products,"w32util73"); if (not(member(selected_products,"w32plus33"))) add(selected_products,"w32plus33"); default_id2rgc2_option = 0; } else { set_designer_execute_impexp = 'IMPEXP80; set_designer_execute_sql = 'PLUS80; /* added later... if (not(member(selected_products,"w32util80"))) add(selected_products,"w32util80"); if (not(member(selected_products,"w32plus80"))) add(selected_products,"w32plus80"); ... */ default_id2rgc2_option = 1; } } /* if FALSE - oracle7/8 */ /* ...but replaced by 8.1 import/export*/ imp_exp_msg = nls("imp_exp_msg", "Installing or migrating repository data requires you to have the Oracle8i client import and export tools installed on your client machine. Installing the Repository 6i Import and Export Tools product will do this.%carriage_return%%carriage_return%Oracle8i client import and export tools must be installed into a different Oracle Home from the one into which you are installing Oracle Repository (i.e using a Multiple Oracle Home environment). Installing the Repository 6i Import and Export Tools product will also set registry entries so that the Oracle Repository client knows which Oracle Home was used.%carriage_return%%carriage_return%Mark the checkbox to run the installer for the Repository 6i Import and Export Tools product at the end of this installation and supply a value for the Oracle Repository 6i Import and Export Tools product Oracle Home directory."); imp_exp_content = nls("imp_exp_content","Oracle Repository 6i Import and Export Tools"); imp_exp_help1 = nls("imp_exp_help1", "Oracle Repository requires an Oracle8i server which stores some datatypes in a different way to Oracle 8.0. This change means that you cannot use import and export from an 8.0 client to connect to an 8i server when handling LOB data. Oracle Repository (an 8.0 based toolset) therefore uses import and export from an 8.1 client when connecting to the Repository. The Import and Export Tools from an 8i client must therefore be installed. Because of a conflict between the 8.1 RSFs needed by these tools and the 8.0 RSFs needed by Oracle Designer, the import and export tools must be installed into a different Oracle Home from the one into which Oracle Designer is installed (click on Multiple Oracle Homes in the index window to learn more about installing products into different Oracle Homes.)"); imp_exp_help2 = nls("imp_exp_help2", "It is recommended that you run the associated Oracle Universal Installer to install 8i based import and export. This will amend the registry entries that Designer uses so that it can pick up these installed utilities. If you choose to use import and export installed as part of another 8i client install then Designer will use the system path variable when trying to invoke them. If this fails then you may need to amend the registry settings for Oracle Repository (client) and Oracle Designer."); imp_exp_help3 = nls("imp_exp_help3", "If you choose not to install these tools now then ensure that you have made alternative arrangements and that you check the value of the following registry settings: under \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\REPOS61 EXECUTE_IMPORT EXECUTE_GUI_IMPORT EXECUTE_EXPORT EXECUTE_GUI_EXPORT In addition you may wish to use the LOCAL or TNS_ADMIN registry variables under both \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE (for Designer/Repository) and \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ (where HOMExx is the Oracle Home Key for the installation of the Import and Export Tools from the 8.1 client) to save having to maintain multiple copies of your TNSNAMES.ORA file. %carriage_return%[result22] "); imp_exp_help = "%imp_exp_help1%%carriage_return%%imp_exp_help2%%carriage_return%%imp_exp_help3%"; /* imp_exp_help = nls("imp_exp_help", "Oracle Repository requires an Oracle8i server which stores some datatypes in a different way to Oracle 8.0. This change means that you cannot use import and export from an 8.0 client to connect to an 8i server when handling LOB data. Oracle Repository (an 8.0 based toolset) therefore uses import and export from an 8.1 client when connecting to the Repository. The Import and Export Tools from an 8i client must therefore be installed. Because of a conflict between the 8.1 RSFs needed by these tools and the 8.0 RSFs needed by Oracle Designer, the import and export tools must be installed into a different Oracle Home from the one into which Oracle Designer is installed (click on Multiple Oracle Homes in the index window to learn more about installing products into different Oracle Homes.)%carriage_return% It is recommended that you run the associated Oracle Universal Installer to install 8i based import and export. This will amend the registry entries that Designer uses so that it can pick up these installed utilities. If you choose to use import and export installed as part of another 8i client install then Designer will use the system path variable when trying to invoke them. If this fails then you may need to amend the registry settings for Oracle Repository (client) and Oracle Designer.%carriage_return% If you choose not to install these tools now then ensure that you have made alternative arrangements and that you check the value of the following registry settings: under \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\REPOS61 EXECUTE_IMPORT EXECUTE_GUI_IMPORT EXECUTE_EXPORT EXECUTE_GUI_EXPORT In addition you may wish to use the LOCAL or TNS_ADMIN registry variables under both \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE (for Designer/Repository) and \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ (where HOMExx is the Oracle Home Key for the installation of the Import and Export Tools from the 8.1 client) to save having to maintain multiple copies of your TNSNAMES.ORA file. %carriage_return%[result22] "); */ impexpc_pkg_impexp = nls("impexpc_pkg_impexp", "Install Repository 6i Import and Export Tools"); if (false) { /* see which homes impexp is installed into already */ home_list = all_homes(); imp_exp_homes_list = list(); while(not(empty(home_list))) { hm = first(home_list); { hm_name = home_name(hm); hm_path = home_path(hm); hm_key = home_key(hm); /* no way of telling if this is an impexp install !! */ /* look for a tns_admin variable */ translate_key = "HKEY_LOCAL_MACHINE"; translate_subkey = "SOFTWARE\ORACLE\%hm_key%"; translate_variable = "impexp"; translate_value = win32_get_value(translate_key, translate_subkey, translate_variable); add(imp_exp_homes_list,hm_name); } ['FILE_NOT_FOUND, 'HOME_NOT_FOUND: continue();] home_list = rest(home_list); } /* now present list of homes for user to choose from rather than directory */ } /* if false */ #Define IDs ID22LB1 = 1; ID22LB1a = 2; ID22BM1 = 3; ID22CB00 = 4; ID22CB11 = 5; ID22CB11 = 5; ID22TE1 = 6; #Define ITEMs /* the TRUE at the end of checkboxes will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled Also note that text in checkboxes ignores the checkbox size !! */ #define instructions label ITEM22BM1 = list(ID22BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_05.bmp")); ITEM22LB1 = list(ID22LB1, list('UI_LABEL, list(180, 20, 360, 210), imp_exp_msg, 'LEFT_JUSTIFY)); ITEM22LB1a = list(ID22LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); #define choices checkboxes # the -3 lines the text part of the checkbox with a label of the same y co-ord ITEM22CB00 = list(ID22CB00, list('UI_CHECKBOX, list(180 , 20, 270, 20), "", FALSE)); /* dummy checkbox */ ITEM22CB11 = list(ID22CB11, list('UI_CHECKBOX, list(180, 240-3, 270, 20), " %impexpc_pkg_impexp%", default_id22cb11_option)); ITEM22TE1 = list(ID22TE1, list('UI_ENTRY, list(180, 270-3, 270, 20), imp_exp_oracle_home, 'DIRECTORY_BROWSE )); #Create item list dialog22_items = list( ITEM22BM1, ITEM22LB1, ITEM22LB1a, /* ITEM22CB00, */ ITEM22CB11, ITEM22TE1 ); #Define relationships rel22ns = list(); repeat_imp_exp_dialog = TRUE; while (repeat_imp_exp_dialog == TRUE) { result22_list = custom_dialog(dialog22_items, rel22ns, imp_exp_content, imp_exp_help, 'NOICON); default_id22cb11_option = (get_ui_value(result22_list, ID22CB11, 'UI_CHECKBOX)); value_id22cb11 = get_ui_value(result22_list, ID22CB11, 'UI_CHECKBOX); value_id22te1 = (get_ui_value(result22_list, ID22TE1, 'UI_ENTRY)); install_imp_exp = value_id22cb11; if (install_imp_exp) { if (value_id22te1 == oracle_home) { impexp_home_invalid = nls("impexp_home_invalid","You can not not install the Repository 6i Import and Export Tools into the Oracle Home %value_id22te1% as this is the Oracle Home for the Repository and Designer 6i Products.%carriage_return%%carriage_return%Please click on OK and re-enter an appropriate value."); information_dialog(impexp_home_invalid, 'NOCANCEL); } else { repeat_imp_exp_dialog = FALSE; } } else { repeat_imp_exp_dialog = FALSE; } } /* construct a (default) home name based on the directory path */ imp_exp_oracle_home = value_id22te1; /* get the last bit in the import export oracle home directory path. Eg orant */ dir_separator = "\"; ieo1 = imp_exp_oracle_home; ieo1_list = explode(ieo1,dir_separator); ieo2_list = reverse(ieo1_list,'NOMUTATE); ieo3 = first(ieo2_list); if (ieo3 == "") ieo3 = first(ieo1_list); imp_exp_oracle_home_name = "%ieo3%_home"; /* see if the impexp directory path is an existing home and if it has tns_admin defined */ home_list = all_homes(); imp_exp_homes_list = list(); number_of_homes = length(home_list); id_NN = number_of_homes; while(not(empty(home_list))) { hm = first(home_list); id_NN = id_NN - 1; { hm_name = home_name(hm); length_hm_name = length(hm_name); if ((hm_name == "%%SGVD%%") || (length_hm_name == 0)) { information_dialog("Corrupt ORACLE HOME registry settings. Possible corruption or missing ORACLE HOME information at ID=ID%id_NN%. Skipping this ORACLE HOME entry."); signal('HOME_NOT_FOUND); } hm_path = home_path(hm); hm_key = home_key(hm); /* information_dialog("debug user.stp hm_name = %hm_name% hm_path = %hm_path% hm_key = %hm_key% id = ID%id_NN% "); */ if (hm_path == imp_exp_oracle_home) { /* get the real home name (overrride the default) */ { translate_key = "HKEY_LOCAL_MACHINE"; translate_subkey = "SOFTWARE\ORACLE\%hm_key%"; translate_variable = "ORACLE_HOME_NAME"; translate_value = win32_get_value(translate_key, translate_subkey, translate_variable); if (not(translate_value == "")) { imp_exp_oracle_home_name = translate_value; } } ['FILE_NOT_FOUND: continue();] /* look for a tns_admin variable */ { translate_key = "HKEY_LOCAL_MACHINE"; translate_subkey = "SOFTWARE\ORACLE\%hm_key%"; translate_variable = "TNS_ADMIN"; translate_value = win32_get_value(translate_key, translate_subkey, translate_variable); if (not(translate_value == "")) { IMP_EXP_TNS_ADMIN = translate_value; } } ['FILE_NOT_FOUND: continue();] } } ['HOME_NOT_FOUND: continue();] home_list = rest(home_list); } if (install_imp_exp) { {instantiate_file("impexp.rsp", "%oracle_home%\impexp.rsp");} ['INVALID_FILE_NAME, 'FILE_NOT_FOUND, 'READ_ERROR, 'WRITE_ERROR: continue();] {instantiate_file("impexpq.rsp", "%oracle_home%\impexpq.rsp");} ['INVALID_FILE_NAME, 'FILE_NOT_FOUND, 'READ_ERROR, 'WRITE_ERROR: continue();] } /* ****************** */ /* socket dialog */ /* ****************** */ mark { /* mark socket2 dialog */ socket2_msg1_nt = nls("socket2_msg1_nt", "Oracle TCP/IP support for Windows uses the Windows Sockets 2 interfaces. If you wish to use Oracle TCP/IP support for SQL*Net then a suitable Socket 2 interface must be installed on your machine."); socket2_msg2_nt = nls("socket2_msg2_nt", "This interface comes as standard on NT, therefore no further action is required."); socket2_msg1_win95 = nls("socket2_msg1_win95", "Oracle TCP/IP support for Windows 95/98 uses the Windows Sockets 2 interfaces. If you wish to use Oracle TCP/IP support for SQL*Net then you must install the Windows Socket 2 Update for Windows on your machine."); socket2_msg2a_win95 = nls("socket2_msg2a_win95", "The required file has not been detected on your machine. Failure to install this interface will mean that you can not use Oracle TCP/IP support for connecting to your server but must instead use a different network protocol. Do you wish to install this Microsoft DLL at the end of this Oracle installation?"); socket2_msg2b_win95 = nls("socket2_msg2b_win95", "The required file has been detected on your machine. Do you wish to re-install this Microsoft DLL at the end of this Oracle installation?"); socket2_content = nls("socket2_content", "Oracle TCP/IP Support for Windows"); socket2_help = nls("socket2_help", "The installation and configuration of SQL*Net for TCP/IP requires the installation of the Socket2 API. This install can run a utility from Microsoft to install this API for you. %carriage_return%[result23] "); comctl_msg1 = nls("comctl_msg1", "The Microsoft Common Control DLL (comctl32.dll) is required by Oracle Repository and Oracle Designer. Do you wish the installation to check that this file is up to date?"); comctl_msg2 = nls("comctl_msg2", "Check that comctl32.dll is up to date"); if (operating_system == "NT") { socket2_msg1 = socket2_msg1_nt; socket2_msg2 = socket2_msg2_nt; } else if (socket2_file_exists) { socket2_msg1 = socket2_msg1_win95; socket2_msg2 = socket2_msg2b_win95; } else { socket2_msg1 = socket2_msg1_win95; socket2_msg2 = socket2_msg2a_win95; } socket2c_pkg_socket2 = nls("socket2c_pkg_socket2", "Install Socket2 Interface"); #Define IDs ID23LB1 = 1; ID23LB2 = 2; ID23LB1a = 3; ID23BM1 = 4; ID23CB00 = 5; ID23CB11 = 6; ID23LB3 = 7; ID23CB12 = 8; #Define ITEMs /* the TRUE at the end of checkboxes will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled Also note that text in checkboxes ignores the checkbox size !! */ #define instructions label ITEM23BM1 = list(ID23BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_06.bmp")); ITEM23LB1a = list(ID23LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM23LB1 = list(ID23LB1, list('UI_LABEL, list(180, 20, 360, 80), socket2_msg1, 'LEFT_JUSTIFY)); ITEM23LB2 = list(ID23LB2, list('UI_LABEL, list(180, 100, 360, 50), socket2_msg2, 'LEFT_JUSTIFY)); #define choices checkboxes # the -3 lines the text part of the checkbox with a label of the same y co-ord ITEM23CB00 = list(ID23CB00, list('UI_CHECKBOX, list(180, 170-3, 290, 20), "", FALSE)); /* dummy checkbox */ ITEM23CB11 = list(ID23CB11, list('UI_CHECKBOX, list(180, 170-3, 290, 20), " %socket2c_pkg_socket2%", default_id23cb11_option)); ITEM23LB3 = list(ID23LB3, list('UI_LABEL, list(180, 190, 360, 40), comctl_msg1, 'LEFT_JUSTIFY)); ITEM23CB12 = list(ID23CB12, list('UI_CHECKBOX, list(180, 250-3, 270, 20), " %comctl_msg2%", TRUE)); #Create item list dialog23_items = list( ITEM23BM1, ITEM23LB1, ITEM23LB2, ITEM23LB1a, ITEM23CB00, ITEM23CB11 ITEM23LB3, ITEM23CB12 ); #Define relationships REL23N2 = list(ID23CB00, list(ID23LB3, ID23CB12), 'HIDDEN, 'HIDDEN); if (operating_system == "NT") { REL23N1 = list(ID23CB00, list(ID23CB11), 'DISABLED, 'DISABLED); rel23ns = list(REL23N1,REL23N2); } else { rel23ns = list(REL23N2); /* rel23ns = list(); */ } result23_list = custom_dialog(dialog23_items, rel23ns, socket2_content, socket2_help, 'NOICON); default_id23cb11_option = (get_ui_value(result23_list, ID23CB11, 'UI_CHECKBOX)); default_id23cb12_option = (get_ui_value(result23_list, ID23CB12, 'UI_CHECKBOX)); value_id23cb11 = get_ui_value(result23_list, ID23CB11, 'UI_CHECKBOX); value_id23cb12 = get_ui_value(result23_list, ID23CB12, 'UI_CHECKBOX); {install_socket2 = value_id23cb11;} if (value_id23cb12 == FALSE) { set("install_common_control",FALSE,'GLOBAL); } /* ********************************** */ /* finish dialog details - used later */ /* ********************************** */ /*if (set_DESIGNER_RELEASE) { use_go_dialog_detail = go1_dialog_detail; } else if (set_DESIGNER_CLIENT_RELEASE) { use_go_dialog_detail = go1_dialog_detail; } else if (set_DESIGNER_SERVER_RELEASE) { use_go_dialog_detail = go1_dialog_detail; } else if (set_OMR_RELEASE) { use_go_dialog_detail = go5_dialog_detail; } else if (set_REPOSITORY_RELEASE) { use_go_dialog_detail = go6_dialog_detail; } else if (set_OBM_RELEASE) { use_go_dialog_detail = go7_dialog_detail; } if (set_FIRST_PRACTICE_RELEASE) { use_go_dialog_detail = go9_dialog_detail; } else if (set_BPD_RELEASE) { use_go_dialog_detail = go14_dialog_detail; } else { use_go_dialog_detail = go1_dialog_detail; }*/ ID12LB1 = 1; ID12LB1a = 2; ID12BM1 = 3; ID12LB2 = 4; ITEM12LB1 = list(ID12LB1, list('UI_LABEL, list(180, 20, 360, 210), use_go_dialog_detail, 'LEFT_JUSTIFY)); ITEM12LB1a = list(ID12LB1a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM12BM1 = list(ID12BM1, list('UI_BITMAP, list( 0, 20, 165, 260), "des2k_03.bmp")); ITEM12LB2 = list(ID12LB1, list('UI_LABEL, list(180, 240, 290, 40), go_dialog_detail2, 'LEFT_JUSTIFY)); rel12ns = list(); dialog12_items = list(ITEM12LB1, ITEM12LB1a, ITEM12BM1, ITEM12LB2); /* if first practice put up additional finish dialog as well */ if (set_FIRST_PRACTICE_RELEASE) { /* First Practice finish dialog */ mark { /* mark first practice dialog */ firstp_user_info = nls("firstp_user_info", "Welcome to Oracle Designer: First Practice. We have designed First Practice to help you, in your own time, go through a carefully designed set of practice exercises, using actual software, and to match your efforts with sample solutions.%carriage_return%%carriage_return%The practices are cumulative; you must complete each practice before you can start on the next practice. However there are 'rescue' applications available throughout the practices. You will need to follow the instructions on 'Rescue Application Setup', found in the 'About First Practice' page.%carriage_return%%carriage_return%A few exercises require access to a configured WebServer account. The configuration requirements are also listed in the 'Rescue Application Setup' section on the 'About First Practice' page."); firstp_user_content = nls("firstp_user_content", "First Practice Welcome"); firstp_user_help = nls("firstp_user_help", "For more information on configuration requirements see 'Rescue Application Setup' section on the 'About First Practice' page. %carriage_return%[result17] "); #Define ITEMs ID17LB3 = 1; ID17LB3a = 2; ID17BM3 = 3; ITEM17LB3 = list(ID17LB3, list('UI_LABEL, list(180, 20, 360,260), firstp_user_info, 'LEFT_JUSTIFY)); ITEM17LB3a = list(ID17LB3a, list('UI_LABEL, list( 10, 300, 530, 10), "", 'LEFT_JUSTIFY)); ITEM17BM3 = list(ID17BM3, list('UI_BITMAP, list( 0, 20, 165,260), "des2k_02.bmp")); #Define radio group /* ITEM17RGC2 = list(ID17RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID17RB4, ID17RB5), default_id2rgc2_option)); */ #Create item list dialog17_items = list(ITEM17BM3, ITEM17LB3, ITEM17LB3a); #Define relationships rel2ns = list(); result17_list = custom_dialog(dialog17_items, rel2ns, firstp_user_content, firstp_user_help, 'NOICON); mark { /* ************* */ /* finish dialog */ /* ************* */ result12_list = custom_dialog(dialog12_items, rel12ns, use_go_dialog_content, use_go_dialog_help, 'NOICON); } /* mark */ } /* mark first practice dialog */ } /* if First Practice finish dialog */ else { /* standard finish dialog */ mark { /* mark mark finish dialog */ /* ************* */ /* finish dialog */ /* ************* */ result12_list = custom_dialog(dialog12_items, rel12ns, use_go_dialog_content, use_go_dialog_help, 'NOICON); } /* mark finish dialog */ } /* standard finish dialog */ } /* mark socket2 dialog */ } /* mark options (3) dialog */ } /* mark options (2) dialog */ } /* mark mark options (1) dialog */ } /* if install_type == install_type_package */ } /* if (repeat_d2k_pkg_dialog == FALSE) */ } /* mark XXX dialog */ } /* while (repeat_d2k_pkg_dialog == TRUE) */ } /* mark custom or package dialog */ /* ************************************************** End of The install wizard dialogs ************************************************** */ } else { /* ************************************************** Non install wizard installs ************************************************** */ /* ************************************************** the Oracle Designer Only package dialog definitions ************************************************** */ if (set_R21_DESIGNER_RELEASE) { des_pkg_sel0 = nls("des_pkg_sel0", "You are about to install Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset. Select either the Oracle Designer Package(s) you wish to install or choose the custom install/deinstall option."); des_pkg_des2k = nls("des_pkg_des2k", "Oracle Designer Packaged Install"); des_pkg_custom = nls("des_pkg_custom", "Custom Installation/De-Installation"); des_pkg_impexp = nls("des_pkg_impexp", "Import/Export Utilities and SQL*Net"); des_pkg_sysdes = nls("des_pkg_sysdes", "Designing and Generating, Repository Tools"); des_pkg_sysmod = nls("des_pkg_sysmod", "Modeling Systems Requirements and Default Design"); des_pkg_sysgen = nls("des_pkg_sysgen", "Server Side Generators"); des_pkg_leg = nls("des_pkg_leg", "Generators for third party products"); des_pkg_devgen = nls("des_pkg_devgen", "Generators for Oracle Developer"); des_pkg_cksr = nls("des_pkg_cksr", "Oracle Designer and ODD Preconfigured Repository (NT Only)"); des_pkg_advdlg = nls("des_pkg_advdlg", "Show Advanced Options Dialog"); des_pkg_bs = nls("des_pkg_bs", "Oracle Designer Broadcast Server (NT Only)"); des_pkg_bytereq = nls("des_pkg_bytereq","Recommended Available Free Disk Space"); des_pkg_byteins = nls("des_pkg_byteins","Number of Bytes to Install"); #Define IDs ID1RB1 = 1; ID1RB2 = 2; ID1LB1 = 3; ID1CB11 = 5; ID1CB12 = 6; ID1CB13 = 7; ID1CB14 = 8; ID1CB15 = 9; ID1CB16 = 10; ID1CB17 = 11; ID1LB11 = 13; ID1LB111 = 14; ID1LB12 = 15; ID1LB13 = 16; ID1LB14 = 17; ID1LB15 = 18; ID1LB16 = 19; ID1LB17 = 20; ID1TG1 = 21; ID1TG1b = 22; ID1TG2 = 23; ID1TG2b = 24; ID1RGC = 25; ID1LB011 = 26; ID1LB012 = 27; ID1LB021 = 28; ID1LB022 = 29; ID1CB10 = 30; ID1LB10 = 31; ID1LB101 = 32; ID1CB18 = 12; ID1LB18 = 33; #Define ITEMs ITEM1LB1 = list(ID1LB1, list('UI_LABEL, list(10 , 10, 530, 50), des_pkg_sel0, 'LEFT_JUSTIFY)); ITEM1RB1 = list(ID1RB1, list('UI_RADIOBUTTON, list(10, 70, 230, 20), des_pkg_des2k)); ITEM1RB2 = list(ID1RB2, list('UI_RADIOBUTTON, list(10, 310, 230, 20), des_pkg_custom)); /* the TRUE at the end will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled (see Relation 2 and 2a) */ ITEM1CB11 = list(ID1CB11, list('UI_CHECKBOX, list(30 ,130, 270, 20), " %des_pkg_sysdes%", TRUE)); /* ITEM1CB10 = list(ID1CB10, list('UI_CHECKBOX, list(50 ,150, 210, 20), " %des_pkg_impexp%",TRUE)); */ ITEM1CB10 = list(ID1CB10, list('UI_CHECKBOX, list(50 ,150, 20, 20), "",TRUE)); ITEM1LB101 = list(ID1LB101, list('UI_LABEL, list(70 ,150, 270, 20), " %des_pkg_impexp%", 'LEFT_JUSTIFY)); ITEM1CB12 = list(ID1CB12, list('UI_CHECKBOX, list(50, 170, 250, 20), " %des_pkg_sysmod%", TRUE)); ITEM1CB13 = list(ID1CB13, list('UI_CHECKBOX, list(50, 190, 250, 20), " %des_pkg_sysgen%", TRUE)); ITEM1CB14 = list(ID1CB14, list('UI_CHECKBOX, list(50, 210, 250, 20), " %des_pkg_leg%", TRUE)); ITEM1CB15 = list(ID1CB15, list('UI_CHECKBOX, list(50, 230, 250, 20), " %des_pkg_devgen%", TRUE)); ITEM1CB16 = list(ID1CB16, list('UI_CHECKBOX, list(30, 250, 250, 20), " %des_pkg_cksr%", FALSE)); ITEM1CB18 = list(ID1CB18, list('UI_CHECKBOX, list(30, 270, 250, 20), " %des_pkg_bs%", FALSE)); /* ITEM1CB17 = list(ID1CB17, list('UI_CHECKBOX, list(20, 290, 280, 20), " %des_pkg_advdlg%", autocheck_advanced_options)); */ ITEM1CB17 = list(ID1CB17, list('UI_CHECKBOX, list(230,290, 50, 20), "", autocheck_advanced_options)); #dEFINE LABELS FOR CHECKBOXES AND RADIO BUTTONS TOTALS ITEM1LB11 = list(ID1LB11, list('UI_LABEL, list(420, 130, 50, 20), "150 MB", 'RIGHT_JUSTIFY)); /* Systems Design */ ITEM1LB10 = list(ID1LB10, list('UI_LABEL, list(420, 150, 50, 20), "130 MB", 'RIGHT_JUSTIFY)); /* Utilities, and SQL*Net */ ITEM1LB12 = list(ID1LB12, list('UI_LABEL, list(420, 170, 50, 20), " 10 MB", 'RIGHT_JUSTIFY)); /* Systems Requirement Modeling */ ITEM1LB13 = list(ID1LB13, list('UI_LABEL, list(420, 190, 50, 20), " 5 MB", 'RIGHT_JUSTIFY)); /* Server Side Generators */ ITEM1LB14 = list(ID1LB14, list('UI_LABEL, list(420, 210, 50, 20), " 3 MB", 'RIGHT_JUSTIFY)); /* Generators for third party products */ ITEM1LB15 = list(ID1LB15, list('UI_LABEL, list(420, 230, 50, 20), " 20 MB", 'RIGHT_JUSTIFY)); /* Generators for Oracle Developer */ ITEM1LB16 = list(ID1LB16, list('UI_LABEL, list(420, 250, 50, 20), "153 MB", 'RIGHT_JUSTIFY)); /* Oracle Repository */ ITEM1LB18 = list(ID1LB18, list('UI_LABEL, list(420, 270, 50, 20), " 16 MB", 'RIGHT_JUSTIFY)); /* Broadcast Server */ ITEM1LB17 = list(ID1LB17, list('UI_LABEL, list( 20, 290,160, 20), des_pkg_advdlg, 'RIGHT_JUSTIFY)); /* Advanced Options Checkbox*/ #Define checkbox values for total group cval0 = list(ID1CB10, 130); cval1 = list(ID1CB11, 150); cval2 = list(ID1CB12, 10); cval3 = list(ID1CB13, 5); cval4 = list(ID1CB14, 3); cval5 = list(ID1CB15, 20); cval6 = list(ID1CB16, 153); cval8 = list(ID1CB18, 16); /* ITEM1TG1 = list(ID1TG1, list ('UI_TOTALGROUP, list(420,110, 50, 20), list(cval1, cval2, cval3, cval4, cval5, cval6), " MB")); */ cval1b = list(ID1CB11, 'GROUP_ID, ID1TG1b); /* sub group 1b */ ITEM1TG1 = list(ID1TG1, list ('UI_TOTALGROUP, list(420,110, 50, 20), list(cval1, cval1b, cval6, cval8), " MB")); ITEM1TG1b = list(ID1TG1b, list ('UI_TOTALGROUP, list(0, 0, 0, 0), list(cval0, cval2, cval3, cval4, cval5))); ITEM1LB011 = list(ID1LB011, list('UI_LABEL, list(30, 110, 260, 20), "%des_pkg_byteins%", 'LEFT_JUSTIFY)); ITEM1LB012 = list(ID1LB012, list('UI_LABEL, list(400,110, 5, 20), "=", 'LEFT_JUSTIFY)); #FAT cluster sizes mean that the actual disk space required may be greater #so add 20% to all figures #Define checkbox values for FAT allocation total group cval0t = list(ID1CB10, 156); cval1t = list(ID1CB11, 180); cval2t = list(ID1CB12, 12); cval3t = list(ID1CB13, 6); cval4t = list(ID1CB14, 4); cval5t = list(ID1CB15, 24); cval6t = list(ID1CB16, 183); cval8t = list(ID1CB18, 19); /* ITEM1TG2 = list(ID1TG2 , list ('UI_TOTALGROUP, list(420, 90, 50, 20), list(cval1t, cval2t, cval3t, cval4t, cval5t, cval6t), " MB")); */ cval2b = list(ID1CB11, 'GROUP_ID, ID1TG2b); /* sub group 1b */ ITEM1TG2 = list(ID1TG2, list ('UI_TOTALGROUP, list(420, 90, 50, 20), list(cval1t, cval2b, cval6t, cval8t), " MB")); ITEM1TG2b = list(ID1TG2b, list ('UI_TOTALGROUP, list(0, 0, 0, 0), list(cval0t, cval2t, cval3t, cval4t, cval5t))); ITEM1LB021 = list(ID1LB021, list('UI_LABEL, list(30, 90, 260, 20), "%des_pkg_bytereq%", 'LEFT_JUSTIFY)); ITEM1LB022 = list(ID1LB022, list('UI_LABEL, list(400, 90, 5, 20), "=", 'LEFT_JUSTIFY)); #Define radio group ITEM1RGC = list(ID1RGC, list('UI_RADIOGROUP, list(0,0,0,0), list(ID1RB1, ID1RB2), 0)); #Create item list dialog1_items = list(ITEM1RB1, ITEM1RB2, ITEM1LB1, ITEM1CB10, ITEM1CB11, ITEM1CB12, ITEM1CB13, ITEM1CB14, ITEM1CB15, ITEM1CB16, ITEM1CB17, ITEM1CB18, ITEM1TG1, ITEM1TG1b, ITEM1TG2 , ITEM1TG2b, ITEM1RGC, ITEM1LB011, ITEM1LB012, ITEM1LB021, ITEM1LB022, ITEM1LB10, ITEM1LB101, ITEM1LB11, ITEM1LB12, ITEM1LB13, ITEM1LB14, ITEM1LB15, ITEM1LB16 ITEM1LB17, ITEM1LB18 ); #Define relationships REL1N1 = list(ID1CB11, list(ID1LB11), 'DISABLED, 'ENABLED); /* Systems Design size field */ REL1N2 = list(ID1CB12, list(ID1LB12), 'DISABLED, 'ENABLED); /* System Requirements Modeler size field */ REL1N3 = list(ID1CB13, list(ID1LB13), 'DISABLED, 'ENABLED); /* Server Side Generators size field */ REL1N4 = list(ID1CB14, list(ID1LB14), 'DISABLED, 'ENABLED); /* Third Party Generators size field */ REL1N5 = list(ID1CB15, list(ID1LB15), 'DISABLED, 'ENABLED); /* Developer Generators size field */ REL1N6 = list(ID1CB16, list(ID1LB16), 'DISABLED, 'ENABLED); /* Repository */ REL1N8 = list(ID1CB18, list(ID1LB18), 'DISABLED, 'ENABLED); /* Broadcast Server */ /* REL1N00 = list(ID1RB1, list(ID1CB11, ID1CB12, ID1CB13, ID1CB14, ID1CB15, ID1CB16, ID1CB17, ID1TG1, ID1TG2 ), 'DISABLED, 'ENABLED); */ REL1N00 = list(ID1RB1, list(ID1CB11, ID1CB16, ID1CB17, ID1CB18, ID1TG1, ID1TG2 ), 'DISABLED, 'ENABLED); REL1N7 = list(ID1CB11, list(ID1CB12, ID1CB13, ID1CB14, ID1CB15, ID1LB101, ID1LB10), 'DISABLED, 'ENABLED); REL1N0 = list(ID1RB1, list(ID1LB10, ID1LB101), 'DISABLED, 'ENABLED); /* Util size field */ REL1N10 = list(ID1RB1, list(ID1CB10), 'DISABLED, 'DISABLED); if ((operating_system == "nt") || (not(seeded_database_nt_only))) { rel1ns = list(REL1N10, REL1N7, REL1N00, REL1N0, REL1N1, REL1N2, REL1N3, REL1N4, REL1N5, REL1N6, REL1N8); rel1ns = list(REL1N10, REL1N7, REL1N00, REL1N1, REL1N2, REL1N3, REL1N4, REL1N5, REL1N6, REL1N8); } else { REL1N00 = list(ID1RB1, list(ID1CB11, ID1CB17, ID1TG1, ID1TG2 ), 'DISABLED, 'ENABLED); REL1N01 = list(ID1RB1, list(ID1CB16, ID1CB18), 'DISABLED, 'DISABLED); rel1ns = list(REL1N10, REL1N7, REL1N00, REL1N01, REL1N0, REL1N1, REL1N2, REL1N3, REL1N4, REL1N5, REL1N6, REL1N8); rel1ns = list(REL1N10, REL1N7, REL1N00, REL1N01, REL1N1, REL1N2, REL1N3, REL1N4, REL1N5, REL1N6, REL1N8); } /* call the Oracle Designer package dialog */ result1_list = custom_dialog(dialog1_items, rel1ns, des2ko_dialog_content, des2ko_dialog_help); value_id1rgc = get_ui_value(result1_list, ID1RGC, 'UI_RADIOGROUP); value_id1rb1 = get_ui_value(result1_list, ID1RB1, 'UI_RADIOBUTTON); value_id1rb2 = get_ui_value(result1_list, ID1RB2, 'UI_RADIOBUTTON); /* information_dialog(" value_id1rgc=%value_id1rgc% value_id1rb1=%value_id1rb1% value_id1rb2=%value_id1rb2% "); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id1rgc == 0) */ if (value_id1rb1 == TRUE) { /* revert back to custom if no packages selected */ value_id1cb11 = get_ui_value(result1_list, ID1CB11, 'UI_CHECKBOX); value_id1cb16 = get_ui_value(result1_list, ID1CB16, 'UI_CHECKBOX); value_id1cb18 = get_ui_value(result1_list, ID1CB18, 'UI_CHECKBOX); if ((value_id1cb11 == TRUE) || (value_id1cb16 == TRUE) || (value_id1cb18 == TRUE)) install_type = install_type_package; else install_type = install_type_custom; } else { install_type = install_type_custom; } call_advanced_dialog = (get_ui_value(result1_list, ID1CB17, 'UI_CHECKBOX)); } /* ************************************************** the ODD dialog definitions ************************************************** */ if (set_R21_ODD_RELEASE) { odd_pkg_sel0 = nls("odd_pkg_sel0", "You are about to install Oracle Designer, Oracle's highly successful, award winning client-server and web applications modeling and generation toolset. Select either the Oracle Designer Package(s) you wish to install or choose the custom install/deinstall option."); odd_pkg_help = nls("odd_pkg_help", "Oracle Designer Object Extensions Packaged Install"); odd_pkg_custom = nls("odd_pkg_custom", "Custom Installation/De-Installation"); odd_pkg_cksr = nls("odd_pkg_cksr", "with Preconfigured Repository (NT only)"); odd_pkg_rau = nls("odd_pkg_rau", "with Repository Administration Utility"); odd_pkg_client = nls("odd_pkg_client", "Client Only"); odd_pkg_advdlg = nls("odd_pkg_advdlg", "Show Advanced Options Dialog"); odd_pkg_bs = nls("odd_pkg_bs", "Broadcast Server (NT Only)"); #Define IDs ID4RB1 = 1; ID4RB2 = 2; ID4LB1 = 3; ID4RB11 = 7; ID4RB12 = 8; ID4RB13 = 9; ID4CB17 = 10; ID4RGC1 = 11; ID4RGC2 = 12; #Define ITEMs ITEM4LB1 = list(ID4LB1, list('UI_LABEL, list(10 , 10, 530, 50), odd_pkg_sel0, 'LEFT_JUSTIFY)); ITEM4RB1 = list(ID4RB1, list('UI_RADIOBUTTON, list(50, 60, 230, 20), odd_pkg_help)); ITEM4RB2 = list(ID4RB2, list('UI_RADIOBUTTON, list(50, 160, 230, 20), odd_pkg_custom)); /* the TRUE at the end will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled (see Relation 2 and 2a) */ ITEM4RB11 = list(ID4RB11, list('UI_RADIOBUTTON, list(70, 80, 230, 20), "%odd_pkg_cksr%")); ITEM4RB12 = list(ID4RB12, list('UI_RADIOBUTTON, list(70, 100, 230, 20), "%odd_pkg_rau%")); ITEM4RB13 = list(ID4RB13, list('UI_RADIOBUTTON, list(70, 120, 230, 20), "%odd_pkg_client%")); ITEM4CB17 = list(ID4CB17, list('UI_CHECKBOX, list(60, 140, 220, 20), " %odd_pkg_advdlg%", autocheck_advanced_options)); #Define radio group ITEM4RGC1 = list(ID4RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID4RB1, ID4RB2), 0)); if ((operating_system == "nt") || (not(seeded_database_nt_only))) { ITEM4RGC2 = list(ID4RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID4RB11,ID4RB12, ID4RB13), 0)); } else { ITEM4RGC2 = list(ID4RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID4RB12, ID4RB13), 0)); } #Create item list dialog4_items = list(ITEM4RB1, ITEM4RB2, ITEM4LB1, ITEM4RB11, ITEM4RB12, ITEM4RB13, ITEM4CB17, ITEM4RGC1, ITEM4RGC2); #Define relationships # The list of all the child products for ID4RB1 if ((operating_system == "nt") || (not(seeded_database_nt_only))) { REL4N1 = list(ID4RB1, list(ID4RB11, ID4RB12, ID4RB13, ID4CB17), 'DISABLED, 'ENABLED); rel4ns = list(REL4N1); } else { REL4N1 = list(ID4RB1, list(ID4RB12, ID4RB13, ID4CB17), 'DISABLED, 'ENABLED); REL4N2 = list(ID4RB1, list(ID4RB11), 'DISABLED, 'DISABLED); rel4ns = list(REL4N1,REL4N2); } /* call the ODD package dialog */ result4_list = custom_dialog(dialog4_items, rel4ns, odd_dialog_content, odd_dialog_help); value_id4rgc1 = get_ui_value(result4_list, ID4RGC1, 'UI_RADIOGROUP); value_id4rb1 = get_ui_value(result4_list, ID4RB1, 'UI_RADIOBUTTON); value_id4rb2 = get_ui_value(result4_list, ID4RB2, 'UI_RADIOBUTTON); /* information_dialog(" value_id4rgc1=%value_id4rgc% value_id4rb1=%value_id4rb1% value_id4rb2=%value_id4rb2% "); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id4rgc1 == 0) */ if (value_id4rb1 == TRUE) { install_type = install_type_package; } else { install_type = install_type_custom; } call_advanced_dialog = (get_ui_value(result4_list, ID4CB17, 'UI_CHECKBOX)); } /* ************************************************** the DataMart Dialog definitions ************************************************** */ if (set_DATAMART_DESIGNER_RELEASE) { dmd_pkg_sel0 = nls("dmd_pkg_sel0", "Select the DataMart Designer package option or choose the custom install/deinstall option if you require a non-standard setup (experienced users only)"); dmd_pkg_dmd = nls("dmd_pkg_dmd", "DataMart Designer Packaged Install"); dmd_pkg_custom = nls("dmd_pkg_custom", "Custom Installation/De-Installation"); dmd_pkg_advdlg = nls("dmd_pkg_advdlg", "Show Advanced Options Dialog"); #Define IDs ID6RB1 = 1; ID6RB2 = 2; ID6LB1 = 3; ID6CB17 = 10; ID6RGC1 = 11; #Define ITEMs ITEM6LB1 = list(ID6LB1, list('UI_LABEL, list(10 , 10, 530, 45), dmd_pkg_sel0, 'LEFT_JUSTIFY)); ITEM6RB1 = list(ID6RB1, list('UI_RADIOBUTTON, list(10, 60, 230, 20), dmd_pkg_dmd)); ITEM6RB2 = list(ID6RB2, list('UI_RADIOBUTTON, list(10, 110, 230, 20), dmd_pkg_custom)); /* the TRUE at the end will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled (see Relation 2 and 2a) */ ITEM6CB17 = list(ID6CB17, list('UI_CHECKBOX, list(20, 80, 220, 20), " %dmd_pkg_advdlg%", autocheck_advanced_options)); #Define radio group ITEM6RGC1 = list(ID6RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID6RB1, ID6RB2), 0)); #Create item list dialog6_items = list(ITEM6RB1, ITEM6RB2, ITEM6LB1, ITEM6CB17, ITEM6RGC1); #Define relationships # The list of all the child products for ID6RB1 REL6N1 = list(ID6RB1, list(ID6CB17), 'DISABLED, 'ENABLED); rel6ns = list(REL6N1); /* call the DataMartDesigner package dialog */ result6_list = custom_dialog(dialog6_items, rel6ns, dmd_dialog_content, dmd_dialog_help); value_id6rgc1 = get_ui_value(result6_list, ID6RGC1, 'UI_RADIOGROUP); value_id6rb1 = get_ui_value(result6_list, ID6RB1, 'UI_RADIOBUTTON); value_id6rb2 = get_ui_value(result6_list, ID6RB2, 'UI_RADIOBUTTON); /* information_dialog(" value_id6rgc1=%value_id6rgc% value_id6rb1=%value_id6rb1% value_id6rb2=%value_id6rb2% "); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id6rgc1 == 0) */ if (value_id6rb1 == TRUE) { install_type = install_type_package; } else { install_type = install_type_custom; } call_advanced_dialog = (get_ui_value(result6_list, ID6CB17, 'UI_CHECKBOX)); } /* ************************************************** the Seeded Repository Dialog definitions ************************************************** */ if (set_R21_SEEDED_REPOSITORY_RELEASE) { cksr_pkg_sel0 = nls("cksr_pkg_sel0", "Select the Oracle Preconfigured Repository package option or choose the custom install/deinstall option."); cksr_pkg_dmd = nls("cksr_pkg_dmd", "Oracle Preconfigured Repository Packaged Install"); cksr_pkg_custom = nls("cksr_pkg_custom", "Custom Installation/De-Installation"); cksr_pkg_advdlg = nls("cksr_pkg_advdlg", "Show Advanced Options Dialog"); #Define IDs ID10RB1 = 1; ID10RB2 = 2; ID10LB1 = 3; ID10CB17 = 10; ID10RGC1 = 11; #Define ITEMs ITEM10LB1 = list(ID10LB1, list('UI_LABEL, list(10 , 10, 530, 45), cksr_pkg_sel0, 'LEFT_JUSTIFY)); ITEM10RB1 = list(ID10RB1, list('UI_RADIOBUTTON, list(10, 60, 230, 20), cksr_pkg_dmd)); ITEM10RB2 = list(ID10RB2, list('UI_RADIOBUTTON, list(10, 110, 230, 20), cksr_pkg_custom)); /* the TRUE at the end will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled (see Relation 2 and 2a) */ ITEM10CB17 = list(ID10CB17, list('UI_CHECKBOX, list(20, 80, 220, 20), " %cksr_pkg_advdlg%", autocheck_advanced_options)); #Define radio group ITEM10RGC1 = list(ID10RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID10RB1, ID10RB2), 0)); #Create item list dialog10_items = list(ITEM10RB1, ITEM10RB2, ITEM10LB1, ITEM10CB17, ITEM10RGC1); #Define relationships # The list of all the child products for ID10RB1 REL10N1 = list(ID10RB1, list(ID10CB17), 'DISABLED, 'ENABLED); rel10ns = list(REL10N1); /* call the DataMartDesigner package dialog */ result10_list = custom_dialog(dialog10_items, rel10ns, cksr_dialog_content, cksr_dialog_help); value_id10rgc1 = get_ui_value(result10_list, ID10RGC1, 'UI_RADIOGROUP); value_id10rb1 = get_ui_value(result10_list, ID10RB1, 'UI_RADIOBUTTON); value_id10rb2 = get_ui_value(result10_list, ID10RB2, 'UI_RADIOBUTTON); /* information_dialog(" value_id10rgc1=%value_id10rgc% value_id10rb1=%value_id10rb1% value_id10rb2=%value_id10rb2% "); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id10rgc1 == 0) */ if (value_id10rb1 == TRUE) { install_type = install_type_package; } else { install_type = install_type_custom; } call_advanced_dialog = (get_ui_value(result10_list, ID10CB17, 'UI_CHECKBOX)); } /* ************************************************** the Designer Help Dialog definitions ************************************************** */ if (set_DESIGNER_HELP_RELEASE) { hlp_pkg_sel0 = nls("hlp_pkg_sel0", "Select the Designer Help package option or choose the custom install/deinstall option if you require a non-standard setup (experienced users only)"); hlp_pkg_hlp = nls("hlp_pkg_hlp", "Designer Help Packaged Install"); hlp_pkg_custom = nls("hlp_pkg_custom", "Custom Installation/De-Installation"); hlp_pkg_advdlg = nls("hlp_pkg_advdlg", "Show Advanced Options Dialog"); #Define IDs ID7RB1 = 1; ID7RB2 = 2; ID7LB1 = 3; ID7CB17 = 10; ID7RGC1 = 11; #Define ITEMs ITEM7LB1 = list(ID7LB1, list('UI_LABEL, list(10 , 10, 530, 45), hlp_pkg_sel0, 'LEFT_JUSTIFY)); ITEM7RB1 = list(ID7RB1, list('UI_RADIOBUTTON, list(10, 60, 230, 20), hlp_pkg_hlp)); ITEM7RB2 = list(ID7RB2, list('UI_RADIOBUTTON, list(10, 110, 230, 20), hlp_pkg_custom)); /* the TRUE at the end will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled (see Relation 2 and 2a) */ ITEM7CB17 = list(ID7CB17, list('UI_CHECKBOX, list(20, 80, 220, 20), " %hlp_pkg_advdlg%", autocheck_advanced_options)); #Define radio group ITEM7RGC1 = list(ID7RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID7RB1, ID7RB2), 0)); #Create item list dialog7_items = list(ITEM7RB1, ITEM7RB2, ITEM7LB1, ITEM7CB17, ITEM7RGC1); #Define relationships # The list of all the child products for ID7RB1 REL7N1 = list(ID7RB1, list(ID7CB17), 'DISABLED, 'ENABLED); rel7ns = list(REL7N1); /* call the Designer HelpDesigner package dialog */ result7_list = custom_dialog(dialog7_items, rel7ns, deshlp_dialog_content, deshlp_dialog_help); value_id7rgc1 = get_ui_value(result7_list, ID7RGC1, 'UI_RADIOGROUP); value_id7rb1 = get_ui_value(result7_list, ID7RB1, 'UI_RADIOBUTTON); value_id7rb2 = get_ui_value(result7_list, ID7RB2, 'UI_RADIOBUTTON); /* information_dialog(" value_id7rgc1=%value_id7rgc% value_id7rb1=%value_id7rb1% value_id7rb2=%value_id7rb2% "); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id7rgc1 == 0) */ if (value_id7rb1 == TRUE) { install_type = install_type_package; } else { install_type = install_type_custom; } call_advanced_dialog = (get_ui_value(result7_list, ID7CB17, 'UI_CHECKBOX)); } /* ************************************************** the First Practice Dialog definitions ************************************************** */ if (set_R21_FIRST_PRACTICE_RELEASE) { firstp_pkg_sel0 = nls("firstp_pkg_sel0", "Select the First Practice package option or choose the custom install/deinstall option if you require a non-standard setup (experienced users only)"); firstp_pkg_hlp = nls("firstp_pkg_hlp", "First Practice Packaged Install"); firstp_pkg_custom = nls("firstp_pkg_custom", "Custom Installation/De-Installation"); firstp_pkg_advdlg = nls("firstp_pkg_advdlg", "Show Advanced Options Dialog"); #Define IDs ID15RB1 = 1; ID15RB2 = 2; ID15LB1 = 3; ID15CB17 = 10; ID15RGC1 = 11; #Define ITEMs ITEM15LB1 = list(ID15LB1, list('UI_LABEL, list(10 , 10, 530, 45), firstp_pkg_sel0, 'LEFT_JUSTIFY)); ITEM15RB1 = list(ID15RB1, list('UI_RADIOBUTTON, list(10, 60, 230, 20), firstp_pkg_hlp)); ITEM15RB2 = list(ID15RB2, list('UI_RADIOBUTTON, list(10, 110, 230, 20), firstp_pkg_custom)); /* the TRUE at the end will bring the checkbox up checked, the 'DISABLED does not seem to bring the checkbox disabled (see Relation 2 and 2a) */ ITEM15CB17 = list(ID15CB17, list('UI_CHECKBOX, list(20, 80, 220, 20), " %firstp_pkg_advdlg%", autocheck_advanced_options)); #Define radio group ITEM15RGC1 = list(ID15RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID15RB1, ID15RB2), 0)); #Create item list dialog15_items = list(ITEM15RB1, ITEM15RB2, ITEM15LB1, ITEM15CB17, ITEM15RGC1); #Define relationships # The list of all the child products for ID15RB1 REL15N1 = list(ID15RB1, list(ID15CB17), 'DISABLED, 'ENABLED); rel15ns = list(REL15N1); /* call the Designer HelpDesigner package dialog */ result15_list = custom_dialog(dialog15_items, rel15ns, firstp_dialog_content, firstp_dialog_help); value_id15rgc1 = get_ui_value(result15_list, ID15RGC1, 'UI_RADIOGROUP); value_id15rb1 = get_ui_value(result15_list, ID15RB1, 'UI_RADIOBUTTON); value_id15rb2 = get_ui_value(result15_list, ID15RB2, 'UI_RADIOBUTTON); /* information_dialog(" value_id15rgc1=%value_id15rgc% value_id15rb1=%value_id15rb1% value_id15rb2=%value_id15rb2% "); */ /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id15rgc1 == 0) */ if (value_id15rb1 == TRUE) { install_type = install_type_package; } else { install_type = install_type_custom; } call_advanced_dialog = (get_ui_value(result15_list, ID15CB17, 'UI_CHECKBOX)); } /* ************************************************** the Designer BugFix Dialog definitions ************************************************** */ if (set_BUGFIX_RELEASE) { ID8LB1 = 1; ID8LB2 = 2; ID8LB3 = 3; ID8LB4 = 4; ID8LB5 = 5; ID8LB6 = 6; ID8CB1 = 7; ID8LB8 = 8; ID8RB1 = 9; ID8RB2 = 10; ID8RGC1 = 11; ID8CB11 = 12; ID8CB12 = 13; ID8CB21 = 14; bugfix_pkg_msg1 = nls("bugfix_pkg_msg1", "You are about to apply all the released fixes to your client installation."); bugfix_pkg_msg2 = nls("bugfix_pkg_msg2", "Files that are part of a product that has not been installed will be ignored."); bugfix_pkg_msg3 = nls("bugfix_pkg_msg3", "Select OK to contine with the installation of the fixes."); bugfix_pkg_msg4 = nls("bugfix_pkg_msg4", "Select CANCEL to enter the Software Asset Mananger dialogue"); bugfix_pkg_msg8 = nls("bugfix_pkg_msg8", "Select your type of installation"); bugfix_pkg_msg9 = nls("bugfix_pkg_msg9", "RELEASE mode bug fixes"); bugfix_pkg_msg10 = nls("bugfix_pkg_msg10", "include symbol files for bug fixes"); bugfix_pkg_msg11 = nls("bugfix_pkg_msg11", "include symbol file for entire product suite as well as for bug fixes"); bugfix_pkg_msg12 = nls("bugfix_pkg_msg12", "DEBUG mode bug fixes"); bugfix_pkg_msg13 = nls("bugfix_pkg_msg13", "include debug files for entire product suite as well as for bug fixes"); bugfix_pkg_msg7 = nls("bugfix_pkg_msg7", "View and select individual fixes"); bug_fix_installation = nls("bug_fix_installation", "Bug Fix Installation..."); ITEM8LB1 = list(ID8LB1, list('UI_LABEL, list(10 , 10, 400, 15), bugfix_pkg_msg1, 'LEFT_JUSTIFY)); ITEM8LB2 = list(ID8LB2, list('UI_LABEL, list(10 , 25, 400, 15), bugfix_pkg_msg2, 'LEFT_JUSTIFY)); ITEM8LB3 = list(ID8LB3, list('UI_LABEL, list(10 , 55, 400, 15), bugfix_pkg_msg3, 'LEFT_JUSTIFY)); ITEM8LB4 = list(ID8LB4, list('UI_LABEL, list(10 , 70, 400, 15), bugfix_pkg_msg4, 'LEFT_JUSTIFY)); ITEM8LB8 = list(ID8LB8, list('UI_LABEL, list(10 ,100, 400, 20), bugfix_pkg_msg8, 'LEFT_JUSTIFY)); ITEM8RB1 = list(ID8RB1, list('UI_RADIOBUTTON, list(10, 120, 400, 20), bugfix_pkg_msg9)); ITEM8CB11 = list(ID8CB11, list('UI_CHECKBOX, list(20 ,140, 400, 20), bugfix_pkg_msg10, FALSE)); ITEM8CB12 = list(ID8CB12, list('UI_CHECKBOX, list(20 ,160, 400, 20), bugfix_pkg_msg11, FALSE)); ITEM8RB2 = list(ID8RB2, list('UI_RADIOBUTTON, list(10, 180, 400, 20), bugfix_pkg_msg12)); ITEM8CB21 = list(ID8CB21, list('UI_CHECKBOX, list(20 ,200, 400, 20), bugfix_pkg_msg13, FALSE)); ITEM8CB1 = list(ID8CB1, list('UI_CHECKBOX, list(10 ,230, 400, 20), bugfix_pkg_msg7, FALSE)); #Define radio group ITEM8RGC1 = list(ID8RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID8RB1, ID8RB2), 0)); #Create item list dialog8_items = list(ITEM8LB1, ITEM8LB2, ITEM8LB3, ITEM8LB4, ITEM8LB8, ITEM8CB1, ITEM8RGC1, ITEM8RB1, ITEM8RB2, ITEM8CB11, ITEM8CB12, ITEM8CB21); REL8N1 = list(ID8RB1, list(ID8CB12), 'DISABLED, 'ENABLED); REL8N2 = list(ID8CB12, list(ID8CB11), 'ENABLED, 'DISABLED); REL8N3 = list(ID8RB2, list(ID8CB21), 'DISABLED, 'ENABLED); rel8ns = list(); rel8ns = list(REL8N1, REL8N2, REL8N3); /* call the Designer Bug Fix package dialog */ ui_action(instantiate(bug_fix_installation)); { result8_list = custom_dialog(dialog8_items, rel8ns); install_type = install_type_package; } ['CANCEL: { install_type = install_type_custom; } ] } /* ************************************************** the Designer Patch Set Dialog definitions ************************************************** */ /* the patchset install no longer requires a patchset dialog as a patchset release is a qualifier on a Designer (for example) release and each Designer product checks to see if it is a Patchset release and installs only the patchset files */ if (FALSE) if (set_PATCHSET_RELEASE) { ID9LB1 = 1; ID9LB2 = 2; ID9LB3 = 3; ID9LB4 = 4; ID9LB5 = 5; ID9LB6 = 6; ID9CB1 = 7; ID9LB8 = 8; ID9RB1 = 9; ID9RB2 = 10; ID9RGC1 = 11; patchset_pkg_msg1 = nls("patchset_pkg_msg1", "You are about to apply all the files from Oracle Designer Patch Set 1 to your client installation."); patchset_pkg_msg2 = nls("patchset_pkg_msg2", "Files that are part of a product that has not been installed will be ignored."); patchset_pkg_msg3 = nls("patchset_pkg_msg3", "Select OK to contine with the installation of the patchset."); patchset_pkg_msg4 = nls("patchset_pkg_msg4", "Select CANCEL to enter the Software Asset Mananger dialogue"); patchset_pkg_msg7 = nls("patchset_pkg_msg7", "View installed products to be patched"); patch_set_installation = nls("patch_set_installation", "Patch Set Installation..."); ITEM9LB1 = list(ID9LB1, list('UI_LABEL, list(10 , 10, 400, 15), patchset_pkg_msg1, 'LEFT_JUSTIFY)); ITEM9LB2 = list(ID9LB2, list('UI_LABEL, list(10 , 25, 400, 15), patchset_pkg_msg2, 'LEFT_JUSTIFY)); ITEM9LB3 = list(ID9LB3, list('UI_LABEL, list(10 , 55, 400, 15), patchset_pkg_msg3, 'LEFT_JUSTIFY)); ITEM9LB4 = list(ID9LB4, list('UI_LABEL, list(10 , 70, 400, 15), patchset_pkg_msg4, 'LEFT_JUSTIFY)); ITEM9CB1 = list(ID9CB1, list('UI_CHECKBOX, list(10 ,110, 400, 20), patchset_pkg_msg7, FALSE)); rel9ns = list(); #Create item list dialog9_items = list(ITEM9LB1, ITEM9LB2, ITEM9LB3, ITEM9LB4, ITEM9CB1); /* call the Designer Patch Set package dialog */ ui_action(instantiate(patch_set_installation)); { result9_list = custom_dialog(dialog9_items, rel9ns); install_type = install_type_package; } ['CANCEL: { install_type = install_type_custom; } ] } /*************************************************** the advanced installation options dialog definitions ************************************************** */ { /* options (4) */ adv4_pkg_spec = nls("adv4_pkg_spec", "Specify the behaviour when Installing over Existing Products:"); adv4_pkg_new = nls("adv4_pkg_new", "Only Install New or Out of Date Products"); adv4_pkg_reinst = nls("adv4_pkg_reinst", "Re-Install All Products (even if up to date)"); adv4_pkg_each = nls("adv4_pkg_each", "Notification for Each Selected Product"); adv4_pkg_not = nls("adv4_pkg_not", "Notify when Upgrading product"); adv4_pkg_notrei = nls("adv4_pkg_notrei", "Notify when Re-Installing product"); adv4_pkg_notnew = nls("adv4_pkg_notnew", "Notify when Installing new product"); adv4_pkg_opt = nls("adv4_pkg_opt", "Customization options (turn all options off for quiet installation):"); adv4_pkg_msgs = nls("adv4_pkg_msgs", "Display Additional Messages"); adv4_pkg_dir = nls("adv4_pkg_dir", "Prompt for Install Directories"); adv4_pkg_list = nls("adv4_pkg_list", "Show List of Products to be Installed"); adv4_pkg_database_choose = nls("adv4_pkg_database_choose", "Select default Import/Export and SQL*Plus Version:"); adv4_pkg_database_o7 = nls("adv4_pkg_database_o7", "Import/Export V7.3 and SQL*Plus V3.3 (Oracle7 Tools)"); adv4_pkg_database_o8 = nls("adv4_pkg_database_o8", "Import/Export V8.0 and SQL*Plus V8.0 (Oracle8 Tools)"); if (set_DATAMART_DESIGNER_RELEASE) { default_id2rgc1_option = 0; autocheck_additional_messages = FALSE; autocheck_directory_prompt = FALSE; autocheck_show_products = FALSE; } else { default_id2rgc1_option = 2; } if (set_R21_DESIGNER_RELEASE) { default_id2rgc2_option = 0; } else { default_id2rgc2_option = 1; } #Define IDs ID2RB1 = 1; ID2RB2 = 2; ID2RB3 = 3; ID2CB31 = 4; ID2CB32 = 5; ID2CB33 = 6; ID2CB4 = 7; ID2CB5 = 8; ID2CB6 = 9; ID2RGC1 = 10; ID2LB1 = 11; ID2LB2 = 12; ID2LB3 = 13; ID2RB4 = 14; ID2RB5 = 15; ID2RGC2 = 10; #Define ITEMs ITEM2LB1 = list(ID2LB1, list('UI_LABEL, list(10, 10, 530, 20), adv4_pkg_spec, 'LEFT_JUSTIFY)); ITEM2LB1 = list(ID2LB1, list('UI_LABEL, list(10, 10, 530, 20), adv4_pkg_spec, 'LEFT_JUSTIFY)); ITEM2RB1 = list(ID2RB1, list('UI_RADIOBUTTON, list(30, 30, 370, 20), adv4_pkg_new)); ITEM2RB2 = list(ID2RB2, list('UI_RADIOBUTTON, list(30, 50, 370, 20), adv4_pkg_reinst)); ITEM2RB3 = list(ID2RB3, list('UI_RADIOBUTTON, list(30, 70, 370, 20), adv4_pkg_each)); /* TRUE at the end will bring the checkbox up checked */ ITEM2CB31 = list(ID2CB31, list('UI_CHECKBOX, list(50, 90, 350, 20), " %adv4_pkg_not%", TRUE)); ITEM2CB32 = list(ID2CB32, list('UI_CHECKBOX, list(50, 110, 350, 20), " %adv4_pkg_notrei%", TRUE)); ITEM2CB33 = list(ID2CB33, list('UI_CHECKBOX, list(50, 130, 350, 20), " %adv4_pkg_notnew%", FALSE)); ITEM2LB2 = list(ID2LB2, list('UI_LABEL, list(10, 150, 370, 20), adv4_pkg_opt, 'LEFT_JUSTIFY)); /* TRUE at the end will bring the checkbox up checked */ ITEM2CB4 = list(ID2CB4, list('UI_CHECKBOX, list(30, 170, 370, 20), " %adv4_pkg_msgs%", autocheck_additional_messages)); ITEM2CB5 = list(ID2CB5, list('UI_CHECKBOX, list(30, 190, 370, 20), " %adv4_pkg_dir%", autocheck_directory_prompt)); ITEM2CB6 = list(ID2CB6, list('UI_CHECKBOX, list(30, 210, 380, 20), " %adv4_pkg_list%", autocheck_show_products)); ITEM2LB3 = list(ID2LB3, list('UI_LABEL, list(10, 230, 370, 20), adv4_pkg_database_choose, 'LEFT_JUSTIFY)); ITEM2RB4 = list(ID2RB4, list('UI_RADIOBUTTON, list(30, 250, 370, 20), adv4_pkg_database_o7)); ITEM2RB5 = list(ID2RB5, list('UI_RADIOBUTTON, list(30, 270, 370, 20), adv4_pkg_database_o8)); #Define radio group ITEM2RGC1 = list(ID2RGC1, list('UI_RADIOGROUP, list(0,0,0,0), list(ID2RB1, ID2RB2, ID2RB3), default_id2rgc1_option)); ITEM2RGC2 = list(ID2RGC2, list('UI_RADIOGROUP, list(0,0,0,0), list(ID2RB4, ID2RB5), default_id2rgc2_option)); #Create item list, dialog2_items = list(ITEM2LB1, ITEM2LB2, ITEM2RB1, ITEM2RB2, ITEM2RB3, ITEM2CB31, ITEM2CB32, ITEM2CB33, ITEM2CB4, ITEM2CB5, ITEM2CB6, ITEM2RGC1 ITEM2LB3, ITEM2RB4, ITEM2RB5, ITEM2RGC2); #Define relationships REL2N1 = list(ID2RB3, list(ID2CB31, ID2CB32, ID2CB33), 'DISABLED, 'ENABLED); REL2N2 = list(ID2RB3, list(ID2CB4), 'ENABLED, 'DISABLED); /* rel2ns = list(REL2N1, REL2N2); */ rel2ns = list(REL2N1); if (set_DATAMART_DESIGNER_RELEASE) { /* relationship can be against any other CB or RB */ REL2N3 = list(ID2CB6, list(ID2RB4), 'DISABLED, 'DISABLED); rel2ns = list(REL2N1, REL2N3); } if ((set_DESIGNER_HELP_RELEASE) || (set_R21_FIRST_PRACTICE_RELEASE)) { /* relationship can be against any other CB or RB */ /* disallow O7/O8 selection as not meaningful */ REL2N3 = list(ID2CB6, list(ID2RB4, ID2RB5), 'DISABLED, 'DISABLED); rel2ns = list(REL2N1, REL2N3); } if (install_type == install_type_package) { if (call_advanced_dialog) { /* call the advanced installation options dialog */ result2_list = custom_dialog(dialog2_items, rel2ns, advanced4_dialog_content, advanced4_dialog_help); } } else { call_advanced_dialog = FALSE; } } /* ************************************************** End non install wizard installs ************************************************** */ } /* ************************************************** the debug dialog definitions ************************************************** */ { /* set the key HKEY_CURRENT_USER\SOFTWARE\ORACLE\des2_72\set_designer_products_moh to the DWORD value 1 to turn on this option *** THIS IS NOT MOH COMPLIANT *** */ translate_key = "HKEY_CURRENT_USER"; translate_subkey = "SOFTWARE\ORACLE\des2_72"; translate_variable = "set_designer_products_moh"; translate_value = win32_get_value(translate_key, translate_subkey, translate_variable); if (translate_value == 1) { set_designer_products_moh = TRUE; } } ['FILE_NOT_FOUND: continue();] if (install_type == install_type_custom) { allow_debug_options = FALSE; } else { { /* set the key HKEY_CURRENT_USER\SOFTWARE\ORACLE\des2_72\allow_debug_options to the DWORD value 1 to turn on this option *** THIS IS NOT MOH COMPLIANT *** */ translate_key = "HKEY_CURRENT_USER"; translate_subkey = "SOFTWARE\ORACLE\des2_72"; translate_variable = "allow_debug_options"; translate_value = win32_get_value(translate_key, translate_subkey, translate_variable); if (translate_value == 1) { allow_debug_options = TRUE; } } ['FILE_NOT_FOUND: continue();] } dbg_pkg_header = nls("dbg_pkg_header", "THIS DIALOG IS FOR INTERNAL DIAGNOSTICS ONLY"); dbg_pkg_suggest = nls("dbg_pkg_suggest", "(You may wish to go 'back' a dialog and select 'Re-Install All Products from the advanced options dialog to ensure that all the required Oracle Designer products are 'registry' installed. Click on HELP for more details.)"); dbg_pkg_reg = nls("dbg_pkg_reg", "Install Registry/Installation scripts only"); dbg_pkg_net = nls("dbg_pkg_net", "Install SQL*Net and SQL*Plus Dependencies"); dbg_pkg_dbtool = nls("dbg_pkg_dbtool", "Install Database Tools Dependencies"); dbg_pkg_runtime = nls("dbg_pkg_runtime", "Install Oracle Developer Run Time Dependencies"); dbg_pkg_design = nls("dbg_pkg_design", "Install Oracle Developer Design Time Dependencies"); dbg_pkg_moh = nls("dbg_pkg_moh", "Perform an MOH install"); dbg_pkg_81 = nls("dbg_pkg_81", "Install 8.1 dependencies (currently deselects 8.0 dependencies)"); #Define IDs ID5CB1 = 1; ID5CB2 = 2; ID5CB3 = 3; ID5CB4 = 4; ID5CB5 = 5; ID5CB6 = 6; ID5CB7 = 7; ID5LB1 = 8; ID5LB2 = 9; #Define ITEMs /* TRUE at the end will bring the checkbox up checked */ ITEM5CB1 = list(ID5CB1, list('UI_CHECKBOX, list(10, 30, 330, 20), " %dbg_pkg_reg%")); ITEM5CB2 = list(ID5CB2, list('UI_CHECKBOX, list(10, 90, 330, 20), " %dbg_pkg_net%", TRUE)); ITEM5CB3 = list(ID5CB3, list('UI_CHECKBOX, list(10, 110, 330, 20), " %dbg_pkg_dbtool%", TRUE)); ITEM5CB4 = list(ID5CB4, list('UI_CHECKBOX, list(10, 130, 330, 20), " %dbg_pkg_runtime%", TRUE)); ITEM5CB5 = list(ID5CB5, list('UI_CHECKBOX, list(10, 150, 330, 20), " %dbg_pkg_design%", FALSE)); ITEM5CB6 = list(ID5CB6, list('UI_CHECKBOX, list(10, 170, 330, 20), " %dbg_pkg_moh%", set_designer_products_moh)); ITEM5CB7 = list(ID5CB7, list('UI_CHECKBOX, list(10, 190, 330, 20), " %dbg_pkg_81%", FALSE)); ITEM5LB1 = list(ID5LB1, list('UI_LABEL, list(10, 10, 330, 20), dbg_pkg_header, 'LEFT_JUSTIFY)); ITEM5LB2 = list(ID5LB2, list('UI_LABEL, list(28, 50, 362, 40), dbg_pkg_suggest, 'LEFT_JUSTIFY)); #Create item list dialog5_items = list(ITEM5LB1, ITEM5CB1, ITEM5LB2, ITEM5CB2, ITEM5CB3, ITEM5CB4, ITEM5CB5, ITEM5CB6, ITEM5CB7); #Define relationships REL5N1 = list(ID5CB1, list(ID5CB2, ID5CB3, ID5CB4, ID5CB6, ID5CB7), 'ENABLED, 'DISABLED); REL5N2 = list(ID5CB1, list(ID5CB5), 'DISABLED, 'DISABLED); rel5ns = list(REL5N1,REL5N2); if (allow_debug_options) { /* call the debug dialog */ result5_list = custom_dialog(dialog5_items, rel5ns, debug_dialog_content, debug_dialog_help); set_registry_install = (get_ui_value(result5_list, ID5CB1, 'UI_CHECKBOX)); } else { set_registry_install = FALSE; } /* ************************************************** set the type of installation ************************************************** */ if (install_type == install_type_custom) { bootstrap = FALSE; notify_reinstall = unbound_variable(); } else { bootstrap = TRUE; } if (install_type == install_type_package) { /* ************************************************** Read the values of the dialogs ************************************************** */ /* ************************************************** Read the values of the Debug dialog ************************************************** */ set_install_net_dependencies = TRUE; set_install_dev2000_runtime_dependencies = FALSE; set_install_dev2000_dependencies = FALSE; set_install_dbtool_dependencies = TRUE; set_install_81_dependencies = FALSE; if (allow_debug_options) { /* get values from debug dialog */ /* set_registry_install already read and set */ if (set_registry_install) { /* set_install_dev2000_runtime_dependencies = TRUE; why this value here ??? */ set_install_dev2000_runtime_dependencies = FALSE; set_install_dev2000_dependencies = FALSE; set_install_dbtool_dependencies = FALSE; } else { set_install_net_dependencies = (get_ui_value(result5_list, ID5CB2, 'UI_CHECKBOX)); set_install_dbtool_dependencies = (get_ui_value(result5_list, ID5CB3, 'UI_CHECKBOX)); set_install_dev2000_runtime_dependencies = (get_ui_value(result5_list, ID5CB4, 'UI_CHECKBOX)); set_install_dev2000_dependencies = (get_ui_value(result5_list, ID5CB5, 'UI_CHECKBOX)); set_designer_products_moh = (get_ui_value(result5_list, ID5CB6, 'UI_CHECKBOX)); set_install_81_dependencies = (get_ui_value(result5_list, ID5CB7, 'UI_CHECKBOX)); if (set_install_dev2000_dependencies) set_install_dev2000_runtime_dependencies = TRUE; if (set_install_dev2000_runtime_dependencies) set_install_net_dependencies = TRUE; if (set_install_dbtool_dependencies) set_install_net_dependencies = TRUE; if (set_install_81_dependencies) { set_install_net_dependencies = FALSE; set_install_dev2000_runtime_dependencies = FALSE; set_install_dev2000_dependencies = FALSE; set_install_dbtool_dependencies = FALSE; } } } /* ************************************************** Set up lists of the external dependencies ************************************************** */ /* set the selected_products list and case_selected_products_list */ /* creating lists added in later */ /* create some useful lists */ selected_install_products = list(); selected_v7_products = list(); selected_v8_products = list(); if ((set_registry_install == FALSE) && (set_PATCHSET_RELEASE == FALSE)) { /* add in installer */ if (operating_system == "win95") add(selected_install_products,"w95install"); if (operating_system == "win98") add(selected_install_products,"w95install"); if (operating_system == "nt") add(selected_install_products,"ntinstall"); if (installation_mode == 'shared) { if (operating_system == "win95") { add(selected_install_products,"win95sharora"); add(selected_install_products,"win95sharadm"); } else if (operating_system == "win98") { add(selected_install_products,"win95sharora"); add(selected_install_products,"win95sharadm"); } else if (operating_system == "nt") { add(selected_install_products,"ntsharora"); add(selected_install_products,"ntsharadm"); } } if (set_install_net_dependencies) { /* add in Sql*Net V2.3 */ if (operating_system == "win95") add(selected_v7_products,"w32netclt23"); if (operating_system == "win98") add(selected_v7_products,"w32netclt23"); if (operating_system == "nt") add(selected_v7_products,"w32netclt23"); /* add in Sql*Plus V3.3 */ if (operating_system == "win95") add(selected_v7_products,"w32plus33"); if (operating_system == "win98") add(selected_v7_products,"w32plus33"); if (operating_system == "nt") add(selected_v7_products,"w32plus33"); /* add in V7.3 Command Line utilities */ /*... if (operating_system == "win95") add(selected_v7_products,"w32util73"); if (operating_system == "win98") add(selected_v7_products,"w32util73"); if (operating_system == "nt") add(selected_v7_products,"w32util73"); ...*/ /* add in V7.3 GUI utilities */ /*... if (operating_system == "win95") add(selected_v7_products,"ntdm10"); if (operating_system == "win98") add(selected_v7_products,"ntdm10"); if (operating_system == "nt") add(selected_v7_products,"ntdm10"); ...*/ /* add in Sql*Net V8.0 */ if (operating_system == "win95") add(selected_v8_products,"w32netclt80"); if (operating_system == "win98") add(selected_v8_products,"w32netclt80"); if (operating_system == "nt") add(selected_v8_products,"w32netclt80"); /* add in Net8 Assistant */ if (operating_system == "win95") add(selected_v8_products,"w32net8a80"); if (operating_system == "win98") add(selected_v8_products,"w32net8a80"); if (operating_system == "nt") add(selected_v8_products,"w32net8a80"); } if (set_install_net_dependencies) { /* add in Sql*Plus V8.0 */ if (operating_system == "win95") add(selected_v8_products,"w32plus80"); if (operating_system == "win98") add(selected_v8_products,"w32plus80"); if (operating_system == "nt") add(selected_v8_products,"w32plus80"); /* add in V8.0 Command Line utilities */ /* ... if (operating_system == "win95") add(selected_v8_products,"w32util80"); if (operating_system == "win98") add(selected_v8_products,"w32util80"); if (operating_system == "nt") add(selected_v8_products,"w32util80"); ... */ /* add in V8.0 GUI utilities */ /* ... if (operating_system == "win95") add(selected_v8_products,"w32oemapp"); if (operating_system == "win98") add(selected_v8_products,"w32oemapp"); if (operating_system == "nt") add(selected_v8_products,"w32oemapp"); ... */ /* ... if (operating_system == "win95") add(selected_v8_products,"w32oem10"); if (operating_system == "win98") add(selected_v8_products,"w32oem10"); if (operating_system == "nt") add(selected_v8_products,"w32oem10"); ... */ } } /* ************************************************** Read the values of the Oracle Designer/Repository/Preconfigured Repository/Broadcast Server/Object Extensions dialog ************************************************** */ if (FALSE && (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE || set_REPOSITORY_RELEASE || set_DESIGNER_SERVER_RELEASE || set_OMR_RELEASE )) { /* result0 dialog superceded by one for each individual product - see else clause */ if (select_refresh_installed_products == FALSE) { /* imp/exp sql*plus etc */ union(selected_products, selected_install_products); /* union(selected_products, selected_v7_products); */ union(selected_products, selected_v8_products); /* if Repository Tools & API selected or if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result0_list, ID0CB13, 'UI_CHECKBOX)) || (get_ui_value(result0_list, ID0CB11, 'UI_CHECKBOX))) { /* Help */ /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE) { add(selected_products, "W32DESHLP72"); /* add(selected_products, "W32BPDHLP72"); */ /* add(case_selected_products, "W32ODDHLP10"); */ } add(selected_products, "W32CDOC72"); add(case_selected_products, "W32CTUT72"); } /* if Repository Tools & API selected or Broadcast Server selected*/ if ((get_ui_value(result0_list, ID0CB13, 'UI_CHECKBOX)) || (get_ui_value(result0_list, ID0CB15, 'UI_CHECKBOX)) ) { /* repos parent */ add(selected_products, "W32REPOS61"); /* Oracle Repository Utilities */ add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32CKTL61"); add(case_selected_products, "W32REPCOM61"); add(case_selected_products, "W32REPICO61"); add(case_selected_products, "W32CGENRX61"); } /* if Repository Tools & API selected */ if (get_ui_value(result0_list, ID0CB13, 'UI_CHECKBOX)) { if (set_REPOSITORY_RELEASE) { /* Repository Product */ add(selected_products, "W32OREPOS10"); } /* repos parent */ /* added above -- add(selected_products, "W32REPOS61"); */ /* Oracle Repository Utilities */ /* added above -- add(case_selected_products, "W32CREQ72"); */ /* added above -- add(case_selected_products, "W32CKTL61"); */ /* added above -- add(case_selected_products, "W32REPCOM61"); */ /* added above -- add(case_selected_products, "W32REPICO61"); */ /* added above -- add(case_selected_products, "W32CGENRX61"); */ add(case_selected_products, "W32REPADM61"); add(case_selected_products, "W32REPMAN61"); if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE) { add(case_selected_products, "W32RSSISA61"); add(case_selected_products, "W32RSSISB61"); /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* add(case_selected_products, "W32RSSISE61"); */ add(case_selected_products, "W32RSSISF61"); } else if (set_REPOSITORY_RELEASE) { add(case_selected_products, "W32RSSISA61"); /* add(case_selected_products, "W32RSSISB61"); */ /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* add(case_selected_products, "W32RSSISE61"); */ /* add(case_selected_products, "W32RSSISF61"); */ } /* Oracle UML bits (for REM) */ /* add(case_selected_products, "W32OBM10"); */ /* add(case_selected_products, "W32BMMT65"); */ /* add(case_selected_products, "W32UMLT10"); */ /* add(case_selected_products, "W32REPREM61"); */ } /* if Designer (Analysis, Design, Generation & ROB) selected */ if (get_ui_value(result0_list, ID0CB11, 'UI_CHECKBOX)) { if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE) { /* Designer Product */ add(selected_products, "W32ODES65"); } /* Designer parent */ add(selected_products, "W32DES2_72"); /* Oracle Designer Utilities */ add(case_selected_products, "W32DESCOM61"); add(case_selected_products, "W32DESFP61"); add(case_selected_products, "W32ROB61"); add(case_selected_products, "W32SYSDES61"); add(case_selected_products, "W32CMNDE61"); add(case_selected_products, "W32DWFDE61"); add(case_selected_products, "W32REPRPT61"); /* Systems Requirements Modeling */ add(case_selected_products, "W32SYSMOD61"); add(case_selected_products, "W32CGENT61"); add(case_selected_products, "W32PMOD61"); /* Generator Parent */ /* adding the product to case_selected_products does not imply that all children will be installed. Children must be in the list as well. */ add(case_selected_products, "W32CGEN72"); /* Server Side Generators */ add(case_selected_products, "W32CGENS72"); add(case_selected_products, "W32CGENW61"); /* Generators for Third Party Products */ add(case_selected_products, "W32CGENV61"); add(case_selected_products, "W32CGENH61"); /* add(case_selected_products, "W32CGENP20"); */ /* if Designer (Generators for Oracle Developer) selected */ if (get_ui_value(result0_list, ID0CB12, 'UI_CHECKBOX)) { /* add(case_selected_products, "W32CGENG30"); */ add(case_selected_products, "W32CGENF61"); add(case_selected_products, "W32CGENR61"); /* add(case_selected_products, "W32CGENQ30"); */ add(case_selected_products, "W32CGENL61"); add(case_selected_products, "W32CTUTX72"); } /* First Practice parent */ if (not(set_PATCHSET_RELEASE)) { add(selected_products, "W32FIRSTP61"); } } if (FALSE) { /* odd options now replaced by repository */ /* ODD */ if (get_ui_value(result0_list, ID0CB13, 'UI_CHECKBOX)) { /* ODD parent */ add(selected_products, "W32ODD61"); /* check to see if it got added at the Designer stage above */ if (not(get_ui_value(result0_list, ID0CB11, 'UI_CHECKBOX))) { /* basic Stuff */ { /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); /* add(selected_products, "W32DESHLP72"); */ /* add(selected_products, "W32BPDHLP72"); */ add(selected_products, "W32ODDHLP10"); add(selected_products, "W32CDOC72"); add(case_selected_products, "W32REPADM61"); add(case_selected_products, "W32DESCOM61"); } /* Generator Parent */ /* adding the product to case_selected_products does not imply that all children will be installed. Children must be in the list as well. */ { add(case_selected_products, "W32CGEN72"); } /* Server Side Generators */ { add(case_selected_products, "W32CGENS72"); } } /* Object Database Designer Utilities */ { add(case_selected_products, "W32OBJMOD61"); add(case_selected_products, "W32ATT61"); add(case_selected_products, "W32CGENCB61"); add(case_selected_products, "W32CGENC61"); add(case_selected_products, "W32ODDREQ61"); } /* ODD RAU */ { add(case_selected_products, "W32ODDRAU61"); } } } /* Seeded Database */ if (get_ui_value(result0_list, ID0CB14, 'UI_CHECKBOX)) { /* add to selected products if it is a top level product, else add to case_selected_products */ /* add(selected_products, "W32DESREP10"); */ /* add(selected_products, "W32DESREP61"); */ /* add(selected_products, "W32DESREP10"); */ /* add(selected_products, "W32DESREP61"); */ add(selected_products, "W32CKSR40"); } /* Broadcast Server */ if (get_ui_value(result0_list, ID0CB15, 'UI_CHECKBOX)) { /* add to selected products if it is a top level product, else add to case_selected_products */ add(selected_products, "W32DESBS61"); /* add(selected_products, "W32DESBS61"); */ } } else { add(selected_products, "W32UPDATE61"); } } else if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE || set_REPOSITORY_RELEASE || set_OMR_RELEASE) { if (select_refresh_installed_products == FALSE) { if (set_REPOSITORY_RELEASE) { /* if any Repos component, ie: if Repository Command Line Tool or GUI or RSSISA or Broadcast Server */ if ((get_ui_value(result20_list, ID20CB11, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB12, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB13, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB14, 'UI_CHECKBOX))) { /* Repository Product */ add(selected_products, "W32OREPOS10"); } /* if Repository Command Line Tool or GUI or RSSISA or Broadcast Server */ if ((get_ui_value(result20_list, ID20CB11, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB12, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB13, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB14, 'UI_CHECKBOX))) { /* imp/exp sql*plus etc */ union(selected_products, selected_install_products); /* union(selected_products, selected_v7_products); */ union(selected_products, selected_v8_products); } /* if Repository Command Line Tool or GUI or RSSISA */ if ((get_ui_value(result20_list, ID20CB11, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB12, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB14, 'UI_CHECKBOX))) { /* repos parent */ add(selected_products, "W32REPOS61"); /* Help */ add(selected_products, "W32CDOC72"); /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); /* Oracle Repository Utilities */ add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32CKTL61"); add(case_selected_products, "W32CGENRX61"); /* Oracle UML bits (for REM) */ /* add(case_selected_products, "W32OBM10"); */ /* add(case_selected_products, "W32BMMT65"); */ /* add(case_selected_products, "W32UMLT10"); */ /* add(case_selected_products, "W32REPREM61"); */ } /* if GUI or RSSISA */ if ((get_ui_value(result20_list, ID20CB12, 'UI_CHECKBOX)) || (get_ui_value(result20_list, ID20CB14, 'UI_CHECKBOX))) { /* Oracle Repository Utilities */ add(case_selected_products, "W32REPCOM61"); add(case_selected_products, "W32REPICO61"); add(case_selected_products, "W32REPADM61"); } /* if RSSISA selected */ if (get_ui_value(result20_list, ID20CB14, 'UI_CHECKBOX)) { add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); /* add(case_selected_products, "W32RSSISB61"); */ /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* add(case_selected_products, "W32RSSISE61"); */ /* add(case_selected_products, "W32RSSISF61"); */ } /* if broadcast server selected */ if (get_ui_value(result20_list, ID20CB13, 'UI_CHECKBOX)) { add(selected_products, "W32DESBS61"); } } else if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE) { /* if any Repos or Designer component, ie: if Repository Command Line Tool or GUI or RSSISA or Broadcast Server or if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result21_list, ID21CB11, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB15, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX))) { /* Designer Product */ add(selected_products, "W32ODES65"); } /* if any Repos or Designer component, ie: if Repository Command Line Tool or GUI or RSSISA or Broadcast Server or if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result21_list, ID21CB11, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB15, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX))) { /* imp/exp sql*plus etc */ union(selected_products, selected_install_products); /* union(selected_products, selected_v7_products); */ union(selected_products, selected_v8_products); } /* if Repository Command Line Tool or GUI or RSSISA */ if ((get_ui_value(result21_list, ID21CB11, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX))) { /* Help */ add(selected_products, "W32CDOC72"); /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); } /* if Designer (Analysis, Design) selected */ if (get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)) { /* Additional Help */ add(selected_products, "W32DESHLP72"); } /* if Designer (Generation) selected */ if (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX)) { /* Additional Help */ add(case_selected_products, "W32CTUT72"); } /* if Repository Command Line Tool or GUI or RSSISA or BS */ if ((get_ui_value(result21_list, ID21CB11, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB15, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX))) { /* repos parent */ add(selected_products, "W32REPOS61"); } /* if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX))) { /* Designer parent */ add(selected_products, "W32DES2_72"); } /* if any Repos or Designer component, ie: if Repository Command Line Tool or GUI or RSSISA or if Designer (Analysis, Design, Generation & ROB) selected (ignore Broadcast Server) */ if ((get_ui_value(result21_list, ID21CB11, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX))) { /* Oracle Repository Utilities */ add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32CKTL61"); add(case_selected_products, "W32CGENRX61"); /* Oracle UML bits (for REM) */ /* add(case_selected_products, "W32OBM10"); */ /* add(case_selected_products, "W32BMMT65"); */ /* add(case_selected_products, "W32UMLT10"); */ /* add(case_selected_products, "W32REPREM61"); */ } /* if GUI or RSSISA or if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result21_list, ID21CB12, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX)) || (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX))) { /* Oracle Repository Utilities */ add(case_selected_products, "W32REPCOM61"); add(case_selected_products, "W32REPICO61"); add(case_selected_products, "W32REPADM61"); } /* if RSSISA/RSSISB selected */ if (get_ui_value(result21_list, ID21CB16, 'UI_CHECKBOX)) { add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); add(case_selected_products, "W32RSSISB61"); /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* add(case_selected_products, "W32RSSISE61"); */ add(case_selected_products, "W32RSSISF61"); } /* if broadcast server selected */ if (get_ui_value(result21_list, ID21CB15, 'UI_CHECKBOX)) { add(selected_products, "W32DESBS61"); } /* if Designer (Analysis, Design, Generation & ROB) selected */ if (get_ui_value(result21_list, ID21CB13, 'UI_CHECKBOX)) { /* Oracle Designer Utilities */ add(case_selected_products, "W32DESCOM61"); add(case_selected_products, "W32DESFP61"); add(case_selected_products, "W32ROB61"); add(case_selected_products, "W32SYSDES61"); add(case_selected_products, "W32CMNDE61"); add(case_selected_products, "W32DWFDE61"); add(case_selected_products, "W32REPRPT61"); /* Systems Requirements Modeling */ add(case_selected_products, "W32SYSMOD61"); add(case_selected_products, "W32CGENT61"); add(case_selected_products, "W32PMOD61"); /* Generator Parent */ /* adding the product to case_selected_products does not imply that all children will be installed. Children must be in the list as well. */ add(case_selected_products, "W32CGEN72"); /* Server Side Generators */ add(case_selected_products, "W32CGENS72"); add(case_selected_products, "W32CGENW61"); /* Generators for Third Party Products */ add(case_selected_products, "W32CGENV61"); add(case_selected_products, "W32CGENH61"); /* add(case_selected_products, "W32CGENP20"); */ /* if Designer (Generators for Oracle Developer) selected */ if (get_ui_value(result21_list, ID21CB14, 'UI_CHECKBOX)) { /* add(case_selected_products, "W32CGENG30"); */ add(case_selected_products, "W32CGENF61"); add(case_selected_products, "W32CGENR61"); /* add(case_selected_products, "W32CGENQ30"); */ add(case_selected_products, "W32CGENL61"); add(case_selected_products, "W32CTUTX72"); } /* First Practice parent */ if (not(set_PATCHSET_RELEASE)) { add(selected_products, "W32FIRSTP61"); } } } else if (set_OMR_RELEASE) /*comment Added by rjclark for new install*/ { /* if any Repos or Designer component, ie: if Repository Command Line Tool or GUI or RSSISA/RSSISB Broadcast Server or if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result24_list, ID24CB11, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB15, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX))) { /* Repos Product */ add(selected_products, "W32OREPOS10"); } /*Added by rjclark for new install, if designer add product*/ if (get_ui_value(result24_list, ID24RB2, 'UI_RADIOBUTTON)) { /* Designer Product */ add(selected_products, "W32ODES65"); } /* if any Repos or Designer component, ie: if Repository Command Line Tool or GUI or RSSISA/RSSISB or Broadcast Server or if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result24_list, ID24CB11, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB15, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX))) { /* imp/exp sql*plus etc */ union(selected_products, selected_install_products); /* union(selected_products, selected_v7_products); */ union(selected_products, selected_v8_products); } /* if Repository Command Line Tool or GUI or RSSISA/RSSISB */ if ((get_ui_value(result24_list, ID24CB11, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX))) { /* Help */ add(selected_products, "W32CDOC72"); /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); } /* if Designer (Analysis, Design) selected */ if ((get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)) && (get_ui_value(result24_list, ID24RB2, 'UI_RADIOBUTTON))) { /* Additional Help */ add(selected_products, "W32DESHLP72"); } /* if Designer (Generation) selected */ if (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX) && (get_ui_value(result24_list, ID24RB2, 'UI_RADIOBUTTON))) { /* Additional Help */ add(case_selected_products, "W32CTUT72"); } /* if Repository Command Line Tool or GUI or RSSISA/RSSISB or BS */ if ((get_ui_value(result24_list, ID24CB11, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB15, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX))) { /* repos parent */ add(selected_products, "W32REPOS61"); } /* if Designer (Analysis, Design, Generation & ROB) selected */ if ( ((get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX))) && (get_ui_value(result24_list, ID24RB2, 'UI_RADIOBUTTON))) { /* Designer parent */ add(selected_products, "W32DES2_72"); } /* if any Repos or Designer component, ie: if Repository Command Line Tool or GUI or RSSISA/RSSISB or if Designer (Analysis, Design, Generation & ROB) selected (ignore Broadcast Server) */ if ((get_ui_value(result24_list, ID24CB11, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX))) { /* Oracle Repository Utilities */ add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32CKTL61"); add(case_selected_products, "W32CGENRX61"); /* Oracle UML bits (for REM) */ /* add(case_selected_products, "W32OBM10"); */ /* add(case_selected_products, "W32BMMT65"); */ /* add(case_selected_products, "W32UMLT10"); */ /* add(case_selected_products, "W32REPREM61"); */ } /* if GUI or RSSISA/RSSISB or if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result24_list, ID24CB12, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX))) { /* Oracle Repository Utilities */ add(case_selected_products, "W32REPCOM61"); add(case_selected_products, "W32REPICO61"); add(case_selected_products, "W32REPADM61"); } /* if RSSISA/RSSISB selected */ if (get_ui_value(result24_list, ID24CB16, 'UI_CHECKBOX)) { add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); if (get_ui_value(result24_list, ID24RB2, 'UI_RADIOBUTTON)) { add(case_selected_products, "W32RSSISB61"); } /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* add(case_selected_products, "W32RSSISE61"); */ add(case_selected_products, "W32RSSISF61"); } /* if broadcast server selected */ if (get_ui_value(result24_list, ID24CB15, 'UI_CHECKBOX)) { add(selected_products, "W32DESBS61"); } /* if Designer (Analysis, Design, Generation & ROB) selected */ if ((get_ui_value(result24_list, ID24RB2, 'UI_RADIOBUTTON)) && ((get_ui_value(result24_list, ID24CB13, 'UI_CHECKBOX)) || (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX))) ) /*changed by rjclark*/ { /* Oracle Designer Utilities */ add(case_selected_products, "W32DESCOM61"); add(case_selected_products, "W32DESFP61"); add(case_selected_products, "W32ROB61"); add(case_selected_products, "W32SYSDES61"); add(case_selected_products, "W32CMNDE61"); add(case_selected_products, "W32DWFDE61"); add(case_selected_products, "W32REPRPT61"); /* Systems Requirements Modeling */ add(case_selected_products, "W32SYSMOD61"); add(case_selected_products, "W32CGENT61"); add(case_selected_products, "W32PMOD61"); /* Generator Parent */ /* adding the product to case_selected_products does not imply that all children will be installed. Children must be in the list as well. */ add(case_selected_products, "W32CGEN72"); /* Server Side Generators */ add(case_selected_products, "W32CGENS72"); add(case_selected_products, "W32CGENW61"); /* Generators for Third Party Products */ add(case_selected_products, "W32CGENV61"); add(case_selected_products, "W32CGENH61"); /* add(case_selected_products, "W32CGENP20"); */ /* if Designer (Generators for Oracle Developer) selected */ if (get_ui_value(result24_list, ID24CB14, 'UI_CHECKBOX)) { /* add(case_selected_products, "W32CGENG30"); */ add(case_selected_products, "W32CGENF61"); add(case_selected_products, "W32CGENR61"); /* add(case_selected_products, "W32CGENQ30"); */ add(case_selected_products, "W32CGENL61"); add(case_selected_products, "W32CTUTX72"); } /* First Practice parent */ if (not(set_PATCHSET_RELEASE)) { add(selected_products, "W32FIRSTP61"); } } } } else { add(selected_products, "W32UPDATE61"); } if (install_imp_exp) { add(selected_products, "IMPEXP"); } } else if (set_DESIGNER_SERVER_RELEASE) { if (select_refresh_installed_products == FALSE) { /* Seeded Database */ add(selected_products, "W32CKSR40"); } else { add(selected_products, "W32UPDATE61"); } } /* ************************************************** special case for OMR dialog ************************************************** */ if (set_OMR_RELEASE) { /* all of the values already read - however decide whether it is a repository of designer product install and set variables accordingly now they are not used to decide which dialogs to read */ if (value_id24rb1 == true) { set_REPOSITORY_RELEASE = true; set_OMR_RELEASE = false; } else if (value_id24rb2 == true) { set_DESIGNER_RELEASE = true; set_OMR_RELEASE = false; } } /* ************************************************** Read the values of the Oracle Designer Only dialog ************************************************** */ if (set_R21_DESIGNER_RELEASE) { /* Oracle Designer parent */ if (get_ui_value(result1_list, ID1CB11, 'UI_CHECKBOX)) { /* Designer Product */ add(selected_products, "W32ODES65"); add(selected_products, "W32DES2_72"); if (not(set_PATCHSET_RELEASE)) { add(selected_products, "W32FIRSTP61"); } union(selected_products, selected_install_products); /* union(selected_products, selected_v7_products); */ union(selected_products, selected_v8_products); /* if Designer+Generate+Repository Tools selected */ if (get_ui_value(result1_list, ID1CB11, 'UI_CHECKBOX)) { /* Help */ /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); add(selected_products, "W32DESHLP72"); add(selected_products, "W32CDOC72"); add(case_selected_products, "W32CTUT72"); /* Oracle Designer Utilities */ add(case_selected_products, "W32REPADM61"); add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); add(case_selected_products, "W32RSSISB61"); /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ add(case_selected_products, "W32RSSISE61"); add(case_selected_products, "W32RSSISF61"); add(case_selected_products, "W32REPRPT61"); add(case_selected_products, "W32CGENRX61"); add(case_selected_products, "W32DESCOM61"); add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32DESFP61"); add(case_selected_products, "W32ROB61"); add(case_selected_products, "W32SYSDES61"); add(case_selected_products, "W32CMNDE61"); add(case_selected_products, "W32DWFDE61"); /* Systems Requirements Modeling */ if (get_ui_value(result1_list, ID1CB12, 'UI_CHECKBOX)) { add(case_selected_products, "W32SYSMOD61"); add(case_selected_products, "W32CGENT61"); add(case_selected_products, "W32PMOD61"); } /* Generator Parent */ /* adding the product to case_selected_products does not imply that all children will be installed. Children must be in the list as well. */ add(case_selected_products, "W32CGEN72"); /* Server Side Generators */ if (get_ui_value(result1_list, ID1CB13, 'UI_CHECKBOX)) { add(case_selected_products, "W32CGENS72"); add(case_selected_products, "W32CGENW61"); } /* Generators for Third Party Products */ if (get_ui_value(result1_list, ID1CB14, 'UI_CHECKBOX)) { add(case_selected_products, "W32CGENV61"); add(case_selected_products, "W32CGENH61"); /* add(case_selected_products, "W32CGENP20"); */ } /* Generators for Oracle Developer */ if (get_ui_value(result1_list, ID1CB15, 'UI_CHECKBOX)) { /* add(case_selected_products, "W32CGENG30"); */ add(case_selected_products, "W32CGENF61"); add(case_selected_products, "W32CGENR61"); /* add(case_selected_products, "W32CGENQ30"); */ add(case_selected_products, "W32CGENL61"); add(case_selected_products, "W32CTUTX72"); } } } /* Seeded Database */ if (get_ui_value(result1_list, ID1CB16, 'UI_CHECKBOX)) { /* add to selected products if it is a top level product, else add to case_selected_products */ /* add(selected_products, "W32DESREP10"); */ /* add(selected_products, "W32DESREP61"); */ /* add(selected_products, "W32DESREP10"); */ /* add(selected_products, "W32DESREP61"); */ add(selected_products, "W32CKSR40"); } /* Broadcast Server */ if (get_ui_value(result1_list, ID1CB18, 'UI_CHECKBOX)) { /* add to selected products if it is a top level product, else add to case_selected_products */ add(selected_products, "W32DESBS61"); /* add(selected_products, "W32DESBS61"); */ } } /* ************************************************** Read the values of the ODD dialog ************************************************** */ if (set_R21_ODD_RELEASE) { /* Help */ { /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); add(selected_products, "W32ODDHLP10"); add(selected_products, "W32CDOC72"); add(case_selected_products, "W32CTUT72"); } /* Object Database Designer parent */ { add(selected_products, "W32ODD61"); union(selected_products, selected_install_products); /* union(selected_products, selected_v7_products); */ union(selected_products, selected_v8_products); } /* Common Designer Utilities */ { add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32DESCOM61"); add(case_selected_products, "W32REPADM61"); } /* Systems Designer */ { add(case_selected_products, "W32SYSDES61"); add(case_selected_products, "W32CMNDE61"); } /* Generator Parent */ { /* adding the product to case_selected_products does not imply that all children will be installed. Children must be in the list as well except the case where none are listed in which case all will be installed. */ add(case_selected_products, "W32CGEN72"); } /* Server Side Generators */ { add(case_selected_products, "W32CGENS72"); } /* Oracle Developer Demos */ { install_developer_demos = FALSE; } /* Object Database Designer Utilities */ { add(case_selected_products, "W32OBJMOD61"); add(case_selected_products, "W32ATT61"); add(case_selected_products, "W32CGENCB61"); add(case_selected_products, "W32CGENC61"); add(case_selected_products, "W32ODDREQ61"); } if (get_ui_value(result4_list, ID4RB11, 'UI_RADIOBUTTON)) { add(case_selected_products, "W32ODDRAU61"); /* add to selected products if it is a top level product, else add to case_selected_products */ /* add(selected_products, "W32DESREP10"); */ /* add(selected_products, "W32DESREP61"); */ /* add(selected_products, "W32DESREP10"); */ /* add(selected_products, "W32DESREP61"); */ add(selected_products, "W32CKSR40"); } if (get_ui_value(result4_list, ID4RB12, 'UI_RADIOBUTTON)) { add(case_selected_products, "W32ODDRAU61"); add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); /* add(case_selected_products, "W32RSSISB61"); */ /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* add(case_selected_products, "W32RSSISE61"); */ /* add(case_selected_products, "W32RSSISF61"); */ } } /* ************************************************** Read the values of the DataMart Designer dialog ************************************************** */ if (set_DATAMART_DESIGNER_RELEASE) { /* help */ { /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); add(selected_products, "W32DESHLP72"); add(selected_products, "W32CDOC72"); add(case_selected_products, "W32CTUT72"); } { /* Designer Product */ add(selected_products, "W32ODES65"); /* Oracle Designer parent */ add(selected_products, "W32DES2_72"); if (not(set_PATCHSET_RELEASE)) { add(selected_products, "W32FIRSTP61"); } union(selected_products, selected_install_products); union(selected_products, selected_v8_products); } /* Oracle Designer Utilities */ { add(case_selected_products, "W32REPADM61"); add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); add(case_selected_products, "W32RSSISB61"); /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ add(case_selected_products, "W32RSSISE61"); add(case_selected_products, "W32RSSISF61"); add(case_selected_products, "W32REPRPT61"); add(case_selected_products, "W32CGENRX61"); add(case_selected_products, "W32DESCOM61"); add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32DESFP61"); add(case_selected_products, "W32ROB61"); /* add(case_selected_products, "W32SYSDES61"); */ add(case_selected_products, "W32CMNDE61"); add(case_selected_products, "W32DWFDE61"); } /* Systems Requirements Modeling */ { add(case_selected_products, "W32SYSMOD61"); add(case_selected_products, "W32CGENT61"); /* add(case_selected_products, "W32PMOD61"); */ } /* Generator Parent */ { /* adding the product to case_selected_products does not imply that all children will be installed. Children must be in the list as well. */ add(case_selected_products, "W32CGEN72"); } /* Server Side Generators */ { add(case_selected_products, "W32CGENS72"); add(case_selected_products, "W32CGENW61"); } /* Developer Generators */ { add(case_selected_products, "W32CGENR61"); } /* Broadcast Server */ { add(selected_products, "W32DESBS61"); } } /* ************************************************** Read the values of the Seeded Repository dialog ************************************************** */ if (set_R21_SEEDED_REPOSITORY_RELEASE) { /* add to selected products if it is a top level product, else add to case_selected_products */ /* add(selected_products, "W32DESREP10"); */ /* add(selected_products, "W32DESREP61"); */ /* add(products, "W32DESREP10"); */ /* add(products, "W32DESREP61"); */ add(selected_products, "W32CKSR40"); } /* ************************************************** Read the values of the Designer HELP dialog ************************************************** */ if (set_DESIGNER_HELP_RELEASE) { /* Designer Help Parent */ { add(selected_products, "W32CHELP72"); /* add(selected_products, "W32CMNHLP72"); */ /* add(selected_products, "W32DESHLP72"); */ /* add(selected_products, "W32BPDHLP72"); */ /* add(selected_products, "W32ODDHLP10"); */ /* add(selected_products, "W32JHELP72"); */ add(selected_products, "W32CDOC72"); add(case_selected_products, "W32CTUT72"); } } /* ************************************************** Read the values of the First Practice dialog ************************************************** */ if (set_FIRST_PRACTICE_RELEASE) { /* First Practice Parent */ { add(selected_products, "W32FIRSTP61"); } } if (set_R21_FIRST_PRACTICE_RELEASE) { /* First Practice Parent */ { add(selected_products, "W32FIRSTP61"); } } /* ************************************************** Read the values of the OBM dialog ************************************************** */ if (set_OBM_RELEASE) { /* imp/exp sql*plus etc */ union(selected_products, selected_install_products); if (get_ui_value(result18_list, ID18CB1, 'UI_CHECKBOX)) { /* Help */ /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); /* add(selected_products, "W32DESHLP72"); */ /* add(selected_products, "W32BPDHLP72"); */ /* add(selected_products, "W32ODDHLP10"); */ /* add(selected_products, "W32JHELP72"); - done later */ add(selected_products, "W32CDOC72"); /* add(case_selected_products, "W32CTUT72"); */ /* repos parent */ add(selected_products, "W32REPOS61"); /* Oracle Repository Utilities */ add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32CKTL61"); add(case_selected_products, "W32REPCOM61"); add(case_selected_products, "W32REPICO61"); add(case_selected_products, "W32REPADM61"); add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); /* add(case_selected_products, "W32RSSISB61"); */ /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ add(case_selected_products, "W32RSSISE61"); add(case_selected_products, "W32RSSISF61"); /* Oracle UML bits (for REM) */ add(case_selected_products, "W32OBM10"); add(case_selected_products, "W32BMMT65"); add(case_selected_products, "W32UMLT10"); add(case_selected_products, "W32REPREM61"); } if (get_ui_value(result18_list, ID18CB2, 'UI_CHECKBOX)) { /* Help */ add(case_selected_products, "W32JHELP72"); /* OBM Product */ add(selected_products, "W32JDEE30"); /* OBM Parent */ add(selected_products, "W32OBM10"); /* OBM components */ add(case_selected_products, "W32REPIDE10"); add(case_selected_products, "W32BMMT65"); add(case_selected_products, "W32UMLT10"); add(case_selected_products, "W32DWFDBD61"); /* Designer components */ add(case_selected_products, "W32CMNDE61"); add(case_selected_products, "W32CGENS72"); /* add(case_selected_products, "W32REPRPT61"); */ } } /* ************************************************** Read the values of the BPD dialog ************************************************** */ if (set_BPD_RELEASE) { /* imp/exp sql*plus etc */ union(selected_products, selected_install_products); if ((get_ui_value(result19_list, ID19CB1, 'UI_CHECKBOX)) || (get_ui_value(result19_list, ID19CB2, 'UI_CHECKBOX))) { /* Oracle Repository Only Option */ /* Help */ /* help for repository check box - see later for bpd checkbox */ /* add(selected_products, "W32CHELP72"); */ add(selected_products, "W32CMNHLP72"); add(selected_products, "W32CDOC72"); /* add(case_selected_products, "W32CTUT72"); */ /* repos parent tools */ add(selected_products, "W32REPOS61"); /* Oracle Repository Utilities */ add(case_selected_products, "W32CREQ72"); add(case_selected_products, "W32CKTL61"); add(case_selected_products, "W32REPCOM61"); add(case_selected_products, "W32REPICO61"); add(case_selected_products, "W32REPADM61"); add(case_selected_products, "W32REPMAN61"); add(case_selected_products, "W32RSSISA61"); /* add(case_selected_products, "W32RSSISB61"); */ /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* add(case_selected_products, "W32RSSISE61"); */ /* add(case_selected_products, "W32RSSISF61"); */ /* Oracle UML bits (for REM) */ /* add(case_selected_products, "W32OBM10"); */ /* add(case_selected_products, "W32BMMT65"); */ /* add(case_selected_products, "W32UMLT10"); */ /* add(case_selected_products, "W32REPREM61"); */ } if (get_ui_value(result19_list, ID19CB2, 'UI_CHECKBOX)) { /* BPD (includes repository client tools) Option */ /* just add in the extras stuff to the repository above */ /* Help */ /* help for bpd check box - see earlier for repository checkbox */ /* add(selected_products, "W32DESHLP72"); */ add(selected_products, "W32BPDHLP72"); /* add(selected_products, "W32ODDHLP10"); */ /* add(selected_products, "W32JHELP72"); */ /* Oracle Repository Utilities */ /* add(case_selected_products, "W32RSSISC61"); */ /* add(case_selected_products, "W32RSSISD61"); */ /* BPD Product */ add(selected_products, "W32OBPD10"); /* BPD Tools Parent */ add(selected_products, "W32BPDT10"); /* OBM Tools Parent */ add(selected_products, "W32OBM10"); /* OBM components */ /* add(case_selected_products, "W32REPIDE10"); */ add(case_selected_products, "W32BMMT65"); /* add(case_selected_products, "W32UMLT10"); */ /* add(case_selected_products, "W32DWFDBD61"); */ /* Designer components */ /* add(case_selected_products, "W32CMNDE61"); */ /* add(case_selected_products, "W32CGENS72"); */ /* add(case_selected_products, "W32REPRPT61"); */ } } /* ************************************************** Read the values of the Bug Fix dialog ************************************************** */ /* do it after the advanced dialog which may default the value of the verbose variable */ if (set_BUGFIX_RELEASE) { { add(selected_products, "W32BUGFIX10"); /* add(selected_products, "W32DESPSR70"); */ verbose = get_ui_value(result8_list, ID8CB1, 'UI_CHECKBOX); autocheck_additional_messages = verbose; /* used later */ install_debug_files = get_ui_value(result8_list, ID8RB2, 'UI_RADIOBUTTON); if (get_ui_value(result8_list, ID8RB1, 'UI_RADIOBUTTON)) { install_symbols_group = get_ui_value(result8_list, ID8CB12, 'UI_CHECKBOX); if (install_symbols_group) { install_symbol_files = TRUE; } else { install_symbol_files = get_ui_value(result8_list, ID8CB11, 'UI_CHECKBOX); } install_dbin32_group = FALSE; install_debug_files = FALSE; } else if (get_ui_value(result8_list, ID8RB2, 'UI_RADIOBUTTON)) { install_dbin32_group = get_ui_value(result8_list, ID8CB21, 'UI_CHECKBOX); install_debug_files = TRUE; install_symbols_group = FALSE; install_symbol_files = FALSE; } } } /* ************************************************** Read the values of the Patch Set dialog ************************************************** */ /* the patchset install no longer requires a patchset dialog as a patchset release is a qualifier on a Designer (for example) release and each Designer product checks to see if it is a Patchset release and installs only the patchset files */ if (FALSE) /* do it after the advanced dialog which may default the value of the verbose variable */ if (set_PATCHSET_RELEASE) { { add(selected_products, "W32DESPSR70"); verbose = get_ui_value(result9_list, ID9CB1, 'UI_CHECKBOX); } } /* ************************************************** Read the values of the advanced installation options dialog ************************************************** */ if (set_DESIGNER_RELEASE || set_DESIGNER_CLIENT_RELEASE || set_DESIGNER_SERVER_RELEASE || set_REPOSITORY_RELEASE || set_FIRST_PRACTICE_RELEASE || set_OBM_RELEASE || set_BPD_RELEASE || set_OMR_RELEASE) { /* values already read */ } else if (not(call_advanced_dialog)) { verbose = autocheck_additional_messages; set_quick_install = not(autocheck_directory_prompt); show_verified_products = autocheck_show_products; } else { /* get the values of the advanced installation options dialog */ value_id2rgc1= get_ui_value(result2_list, ID2RGC1, 'UI_RADIOGROUP); value_id2rb1 = get_ui_value(result2_list, ID2RB1, 'UI_RADIOBUTTON); value_id2rb2 = get_ui_value(result2_list, ID2RB2, 'UI_RADIOBUTTON); value_id2rb3 = get_ui_value(result2_list, ID2RB3, 'UI_RADIOBUTTON); /* bug - the position number of the selected radio button in the group is always returned as initial state. check the value of each button instead. */ /* if (value_id2rgc1 == 0) */ if (value_id2rb1 == TRUE) { always_upgrade = TRUE; always_reinstall = FALSE; never_reinstall = TRUE; verbose = (get_ui_value(result2_list, ID2CB4, 'UI_CHECKBOX)); notify_upgrade = FALSE; notify_reinstall = FALSE; notify_new_install = FALSE; } /* else if (value_id2rgc1 == 1) */ else if (value_id2rb2 == TRUE) { always_upgrade = TRUE; always_reinstall = TRUE; never_reinstall = FALSE; verbose = (get_ui_value(result2_list, ID2CB4, 'UI_CHECKBOX)); notify_upgrade = FALSE; notify_reinstall = FALSE; notify_new_install = FALSE; } else { always_upgrade = FALSE; always_reinstall = FALSE; never_reinstall = FALSE; verbose = (get_ui_value(result2_list, ID2CB4, 'UI_CHECKBOX)); notify_upgrade = (get_ui_value(result2_list, ID2CB31, 'UI_CHECKBOX)); notify_reinstall = (get_ui_value(result2_list, ID2CB32, 'UI_CHECKBOX)); notify_new_install = (get_ui_value(result2_list, ID2CB33, 'UI_CHECKBOX)); } /* quick install */ { set_quick_install = not(get_ui_value(result2_list, ID2CB5, 'UI_CHECKBOX)); } /* show verified products */ { show_verified_products = (get_ui_value(result2_list, ID2CB6, 'UI_CHECKBOX)); } /* import/export sql*plus choice */ if (not((set_DESIGNER_HELP_RELEASE) || (set_R21_FIRST_PRACTICE_RELEASE))) { value_id2rgc2= get_ui_value(result2_list, ID2RGC2, 'UI_RADIOGROUP); value_id2rb4 = get_ui_value(result2_list, ID2RB4, 'UI_RADIOBUTTON); value_id2rb5 = get_ui_value(result2_list, ID2RB5, 'UI_RADIOBUTTON); if (value_id2rb4 == TRUE) { set_designer_execute_impexp = 'IMPEXP73; set_designer_execute_sql = 'PLUS33; if (not(member(selected_products,"w32util73"))) add(selected_products,"w32util73"); if (not(member(selected_products,"w32plus33"))) add(selected_products,"w32plus33"); } else { set_designer_execute_impexp = 'IMPEXP80; set_designer_execute_sql = 'PLUS80; if (not(member(selected_products,"w32util80"))) add(selected_products,"w32util80"); if (not(member(selected_products,"w32plus80"))) add(selected_products,"w32plus80"); } } } /* ************************************************** End of Read the values of the dialogs ************************************************** */ if (set_OBM_FIXES_RELEASE) { set_OBM_RELEASE = TRUE; } } /* ... information_dialog(" verbose = %verbose% always_upgrade = %always_upgrade% always_reinstall = %always_reinstall% never_reinstall = %never_reinstall% set_quick_install = %set_quick_install% show_verified_products = %show_verified_products% set_registry_install = %set_registry_install% "); ... */ /* ... selected_products_string = implode(selected_products,", "); information_dialog(" install_type = %install_type% selected_products = %selected_products_string% bootstrap=%bootstrap% "); ... */ /* ... case_selected_products_string = implode(case_selected_products,", "); information_dialog(" install_type = %install_type% case_selected_products = %case_selected_products_string% bootstrap=%bootstrap% "); ... */ /* ... t1 = list(); t2 = list(); union(t1,a_product_list); while (not(empty(t1))) { next_child = first(t1); t1 = rest(t1); add(t2,product_name(next_child)); } t = implode(t2,", "); information_dialog("product list = %t%"); ... */ } /* reduntant mark */ } /* mark */ }