In the Click Open. On the Click the Launch Editor for the InstallUninstall Filter option to open a Java code Save and close the InstallUninstall Filter Java code file. On the Preference Data Setup pane, click the Add button to open the Click the Launch Ed

Managing Components 6-21 The Component Wizard builds the component zip file in the DomainHomecustomcomponent_name directory.

6.3.3.2 Working With Installation Parameters

The InstallUninstall Settings tab is used to create customized installation components that can include preference data parameters. These parameters can be user prompts and messages. Depending on how they are defined, the prompts and messages are displayed during the installation processes. These custom installation parameters allow the component author to ask for information from users before the component is installed. To define custom installation parameters for a component:

1. In the

Component List Screen , select the component to have custom installation parameters defined.

2. Click Open.

3. On the

AddEdit Preference Screen , select the InstallUninstall Settings tab, then select the appropriate checkboxes: ■ Has InstallUninstall Filter ■ Has Install Strings Generally, both options are used to create the desired installation parameters.

4. Click the Launch Editor for the InstallUninstall Filter option to open a Java code

template file. Edit the existing code and include additional Java code to the template as necessary to create the filter procedures. Each filter procedure will run once during the component installation or uninstall procedure. The values of user responses are saved in the installation configuration install.cfg and config.cfg files. For more information, see the Oracle Fusion Middleware Developers Guide for Oracle Universal Content Management.

5. Save and close the InstallUninstall Filter Java code file.

6. On the Preference Data Setup pane, click the Add button to open the

AddEdit Preference Screen .

7. Click the Launch Editor for the Install Strings option to open a Java code template

file. Edit the existing code and include additional Java code to the template as necessary to define the set up prompts or messages. Keep both the Add Preference screen and the Install Strings HTML template open to use simultaneously. Complete the fields on the Add Preference screen as necessary. Add the actual message or prompt text to the Install Strings HTML. 8. Save and close the Install Strings Java code file. 9. Open the Build Settings Screen by selecting Build Settings from the Build menu. 10. Complete the fields on the Build Settings screen as necessary. 11. If components have been specified to be included in the component zip file, they will need to be added as component extras using the Add Screen . Click the Add button to open the Add screen. Add each component individually. 12. Click OK. 13. If necessary, add more components to the zip file as component extras.

14. On the Build Settings screen, click OK to create the component zip file.