Follow these steps when your application is ready to be deployed.
Step | Activity | How to Do It | OK |
Start the Deployment Tool | Logon to Visual LANSA and start the Deployment Tool. | Start Visual LANSA and logon to the partition containing the application to be deployed. |
Create a Deployment Tool application and package | Create an application and a package using the Deployment Tool. | Click on the New Application button on the tool bar or select the New command from the Application menu. |
Configure the database | Specify database options as required. |
Choose Desktop settings | Choose the Desktop settings depending on your preferences. | For example, you may want to select these options: |
Decide what execution parameters need to be prompted | If you want to prompt for a setup parameter when the package is installed, enable the prompting by selecting the parameter and checking the Prompt during installation option. | For example, to enable the Prompting of the Target Directory option, double-click the parameter and select the Prompt during SETUP check box in the window which is displayed. |
Add LANSA objects | Add some LANSA VLF internal objects in your application. | Click on the Select Repository Objects button. Drag the objects you want to include to the area on the right. |
Add Framework Files | If the end-user will be storing user information in DBMS tables VFPPF06/07, you need to include them. | Click Files. |
Include your server-based objects | Add your server-based objects, including multilingual text variables, system variables, message files, files, processes, functions and images used in the application. | Ensure that all non-LANSA objects have correct installation paths specified for the target machine. |
Include file data | Include data in the files you have selected. | Select all files and click on the Include File Data button. |
Add an icon | Add an icon to be used with the shortcut created on the target machine when the package is installed. | Click on the Application Icon button on the toolbar of the Package Control Panel. Select an icon. |
Save the package | Save the package definition. |
Include the host route for an Application | Include the host route for the server definition (the lroute.dat file) in the package. | From the Visual LANSA Deployment Tool Main window, select your application and then click on the Communications Administrator tool bar button. |
Build the package | Check and build the package. | Select the Check Package option in the Options menu. The message you receive should tell that no errors were encountered. |