Search code examples
c#.netwinformswindows-installer

How to Pass Command Line Arguments to MSI Installer


Now my team working in a project using Windows Application(C#). We use MSI Installer for creating installation.

I didn't know how to pass command line parameters from MSI file & Setup.exe file.

for example

setup.msi username=demo password=pass

setup.exe username=demo password=pass

Please suggest a good example/reference


Solution

  • This Code Project article has a pretty good example of doing this.