DTE050 – Create Version 1 Package


To create an initial installation for a standalone Windows application. The package will be defined using the XALONE template.

To achieve this objective you will complete the following:

Step 1. Create an SQL Server Database

Step 2. Define Version 1

Step 3. Define Execution Parameters

Step 4. Define the Database Parameters

Step 5. Review the Package Settings

Step 6. Build Version 1


Deploying Your Own Applications

When initially deploying your own applications you will want to deploy to a test partition.

For training purposes you will be deploying the application to a new SQL database into the partition which you are using for training. If your training partition is TRN, you will deploy to TRN.

Since this is a deployment to a new database, as well as the application, you will include the files used by the application and the file data. If you were deploying another application to this database using the same files, the files would not need to be included. If you later needed to deploy changes to any files, you would do this by creating a new version for the application which originally deployed the files.

In this application, the primary file is PSLMST – Personnel. When you deploy LANSA defined files, it is important to remember that validation rules and predetermined join fields will refer to other files. For example, the Department Code field in the file PSLMST must exist in the lookup table DEPTAB. Your deployment must therefore include file PSLMST and also the files it depends on.

When you are managing your own application deployment, if you develop in partition DEV and deploy to partition TST, your setup should include:

a.  Developer PC with Visual LANSA using partition DEV

b.  A Deployment PC with Visual LANSA using partition TST. Your application definition is checked out to this VL system via an IBM i Master or a Master VCS system

c.  Deployed applications located on a Windows server, a Terminal Server or directly installed on an end user desktop.

Before You Begin

You must have completed the following:

DTE010 – Set Up the Deployment Tool

DTE045 – Create a Stand Alone Application