Installation scripts

Installation scripts are procedures in your application that run automatically when your application is installed. These scripts perform actions such as adding items to palettes or setting up default pathnames. Installation scripts are created just like ordinary procedures. For example, the following procedure is used as an installation script to add items to the Reports palette. The script runs when the application is installed.

[spacer]

Procedure name:

Add_Reports_Palette_Items


{This script adds the items for the Reports palette.}

{Call the procedure to add the Buyers Report.}
call Add_Palette_Item, "Reports", "Buyers", 3, "Houses Report", "";

{Call the procedure to add the Sellers Report.}
call Add_Palette_Item, "Reports", "Sellers", 3, "Sellers Report", "";

{Call the procedure to add the Houses Report.}
call Add_Palette_Item, "Reports", "Houses", 3, "Houses Report", "";


Documentation Feedback