How to deploy multiple projects in a single MSI?

前端 未结 4 1805
孤城傲影
孤城傲影 2021-01-14 05:18

I have 3 projects in my solution that I want to deploy. Is there a nice and quick way of using Visual Studio\'s setup projects to deploy all three apps using one MSI and let

4条回答
  •  不要未来只要你来
    2021-01-14 06:09

    I think you probably want merge modules. Accrding to MSDN:

    A merge module is a standard feature of Microsoft Windows Installer that packages components together with any related files, resources, registry entries, and setup logic. You can use merge modules to install components that multiple applications share. You cannot install merge modules directly. You must merge them into deployment projects.

    http://support.microsoft.com/kb/827025

    In your case, each application would be a merge module and you would need to provide some UI to select which applications you would like to install. You could modify one of the default page templates to do that.

提交回复
热议问题