Tamil Rk

Tamil Rk

  • 1.3k
  • 451
  • 17.9k

how to add the Windows Installer Merge Module in vs installer?

Sep 3 2021 7:57 AM

Hello Team,

I have used vs installer to creating the MSI for our application. in that I need to add the installer Merge Module in my setup.

I'm trying to add the qbfc13 merge module in my project setup, please check the shared link.

 

In the below link, there is available for adding steps. and also I have included the Merge Module files in my setup but it doesn't work out. please share with anyone, how to included the merge module in setup(vs installer) and installation.

link reference: 

How Do I Use a Merge Module from the SDK?

The SDK merge modules are located in the /tools/MergeModules folder.

Here’s how to use them:

  1. Make sure you have the Microsoft VC (VC_CRT.msm) and VC++ (VC_STL.msm) runtime library merge modules, which are required because the SDK merge modules install components that depend on the Visual C and C++ version 7 runtime libraries. These Microsoft merge modules are included with most MSI-based install builders, or you can get them directly from Microsoft. When the VC_CRT.msm and VC_STL.msm modules are added to the installer, the install author is responsible for configuring them to set their target directory to the windows system directory.
  2. Set your installation development tool to include the SDK MergeModules directory in the MergeModule search path.
  3. Each MSI “feature” refers to components and/or merge modules. For any feature that installs components of your application that depend on the SDK capabilities provided by a merge module, specify that particular merge module as part of that feature. If a merge module is dependent on some other module, the other module will be added to your installer automatically. (For example, the various versions of the QBFC merge modules depend on various versions of Xerces, which are packaged in separate merge modules: the correct one is automatically added to the installation.)
  4. Build your installation as usual. All the logic from the included merge modules will be merged into your install.

reference link:

 

 

 

Thanks.


Answers (1)