Advantage Client Engine
The Advantage Local Server Merge Module is a Windows Installer Merge Module that may be used to add Advantage Local Server files to an MSI install. These Windows Installer components are intended to assist developers who must distribute the Advantage Client Engine and Local Server who have a need to configure language settings for Local Server.
Note The Advantage Local Server Merge Module is NOT a typical merge module in that it provides a user interface for configuring the language settings. It is being provided so that developers who choose to use it need not add the language configuration interface to their own installs. Special handing is required to use these modules as described below and in the module Readme.txt file.
A standard MSI Merge Module containing these files in a retargetable directory:
-ace32.dll
-adsloc32.dll
-adslocal.cfg
-ansi.chr
-axcws32.dll
-extend.chr
Any other necessary redistributable files (e.g. the OLE DB or .NET Data Provider DLLs) need to be added to your installation separately.
An MSI database containing the user interface for configuring the language settings. This database will add an Immediate Custom Action to your installation.
A seperate database is required because merge modules cannot contain actions.
The database must be merged with your install package using the Microsoft MSIDB utility (from the Windows Installer SDK) or similar utility that can merge the MSI database.
The database contains an action for the InstallExecuteSequence table. This action must occur AFTER files are actually copied to the destination (i.e. after InstallFinalize action). The sequence number is set to 6610 by default. This may be adjusted if necessary by using Orca (from the Windows Installer SDK) or other MSI database editor.
The custom action requires that the property ADVANTAGE_TARGETDIR be set to the location where the files have been installed so that the language files can be located and modified.
A Visual Studio Installer deployment project is in the Demo subdirectory. This project demonstrates the ADVANTAGE_TARGETDIR property, using the merge module and setting the retargetable directory. The project output need only be merged with AdsLocSrvMrg.msi to completely demonstrate the use of these components. The build_demo.bat file in that directory demonstrates the usage of the MSIDB utility (the paths to msidb.exe and devenv.exe in the batch file must be modified for the local environment).