Search code examples
pythonwindows-installercx-freeze

How to create a msi by using cx_freeze which will accept command line input


let's say I have an msi "foo.msi" If I want to pass an option like

    foo.msi <option>

Is it possible? If so how can I do this? I am using cx_freeze to create msi


Solution

  • MSIs are executed by Msiexec.exe so the only command-line options that are possible are those supported by Msiexec.exe: 1, 2.