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. Ensure that you use a user profile which is authorized to the objects that are being deployed. From the Tools ribbon, select Deploy. The Visual LANSA Deployment Tool's main window will open. |
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. Fill in the application details. Click OK. You are prompted to create a version. Fill in the package details and click OK. The package maintenance window is displayed. |
Specify package settings |
| Click on the Package Settings button on the toolbar to display the Package Settings window. |
Specify the start up form | Enter the name of the start-up form in your application. | Double-click on the parameter Form to Execute (FORM=) in the Required Execution Parameters area. |
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 Framework objects | Add the Framework 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. |
Add Other Framework Objects | Locate your XML files in the execute directory of your partition (for example C:\Program Files\LANSA\X_WIN95\X_LANSA\x_DEM\execute). | Double-click Non-LANSA Objects to browse for the objects. Make sure you are browsing in the correct LANSA system. |
Include your objects | Add your objects (filters, command handlers etc.), 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. |
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. |