Programmatically building an MSI

前端 未结 4 688
Happy的楠姐
Happy的楠姐 2021-02-09 07:28

I would like to create a C# program that creates an MSI based on a number of parameters. For example, based on user settings, certain files would be included, or runtime parame

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-09 07:46

    Check out WixSharp - a C# set of libraries which allows you to express your installation in C# code. This is then turned into a WiX (XML) file which in turns is compiled and linked to create a standard MSI (Windows Installer) file.

提交回复
热议问题