Exercise 10.1 Using Panels in Pre-Install

Add the following panels to your installation and rebuild to investigate their appearance and configuration options.

1.
Add a Choose File panel.

This panel requests that the user select a file, either by typing in the full pathname or by browsing. The panel may require the user to browse to select the file. You name the InstallAnywhere variable the panel returns by entering it into the Selected File field. The directory where the file is located will also be returned to the variable named by the Parent Folder field.

2.
Add a Choose Folder panel.

This panel requests that the user select a folder, much in the same way the Choose File panel works. The panel returns a variable you name in the Selected Folder field. You may also check to see if you have write permissions for the chosen folder.

3.
Add a Choose Java Virtual Machine panel.

This panel searches for a JVM on the target system. The panel may also prompt the user to install a VM.

4.
Add a Find File/Folder panel.

The Find File/Folder panel conducts searches on the target system, depending on a number of criteria that the developer may define. The InstallAnywhere variable the panel returns is named in the Results Variable field.

5.
Add a Get Password panel.

The Get Password panel requests a password from the user. The password may then be validated, compared against an index that allows different passwords to unlock different features, or saved in a variable.

NOTE

The Get Password panel can be configured either to simply store a masked entry or to confirm against a file. For this exercise, use the password.txt file in the Images and Docs directory included with OfficeSuite.

6.
Add a Display Message panel to exhibit the Results variables from each of your previous panels.

7.
Build and run your installer.

Console installs and their associated actions will be covered in Chapter 13.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.66.156