21 9 Set DLL Version Information

LANSA Deployment Tool

21.9 Set DLL Version Information

When a LANSA Object is compiled specific information is generated into the DLL. To ensure your Application has the correct information in the shipped DLLs:

1.  Move your source code to the build machine.

2.  The Partition Security Officer Profile is needed to set the DLL Version in the following step.

a.  Open the Compile dialog via the Visual LANSA Options > Settings >Compile dialog.

b.  Set the DLL Version Information in the Compile options to appropriate values.  The version information must be modified for each Version or Patch delivered.

3.  Compile all compilable Application objects for the first version of the Application.  For subsequent versions and patches only modified objects are required to be compiled.

4.  Build the Version or Patch in the Deployment Tool.

5.  Distribute MSI or MSP files to end users for installation.

For patches you MUST change the version information in order to distribute an updated DLL in the Patch.  This is a Microsoft requirement as the change in version number triggers the patch builder to include the object. One issue with that is you don't know precisely what has been deployed as being able to easily see the Version number only hints at what might be in the Patch, it doesn't tell you PRECISELY what is in the Patch. You actually have to look at the patch (with a Patch Viewer) to verify the contents.

The DLL Version Information is set in the Visual LANSA IDE, like this:

Once generated into the DLL the information is visible in the DLL's property tab sheet labelled 'details' in Windows 7:

If you cannot see all the DLL Properties details you need to see, contact LANSA support for assistance.

Refer to the <a href="its:lansa012.chm::/lansa/L4wUsr01_2040.htm">Compile options</a> in the Visual LANSA User Guide  from more information.