How to programmatically create an MSI installer?

I have a program that is used to create another program and compile it from * .cs source file

      using System.CodeDom.Compiler;

I would like to create an installer for the compiled program too, but I wonder if I can do this programmatically, so when I click the "Create Now" button in my main application, a new installer will appear in the selected destination.

Is there a way to create an MSI installer for a compiled program (the program I created) with a click of a button.

I do not want to use InstallShield every time I want to create an installer for my compiled programs.

Any help would be greatly appreciated

+5
source share
2 answers

WiX. . , .

+9

WiX Deployment Tools Foundation, API- Windows Installer. WiX, DTF. MSI . , MSI, API. , , WiX-.

vdproj VS11 , WiX - , , VS .

+3

All Articles