Is it possible to write a script in python that installs an msi? Or is it possible to make it through any other script?
Rule of thumb: Unless you know what you are doing, it is recommended to use the setup.exe file whenever you have the choice between a setup.exe or an . msi file after you unpack a software installer on your system.
Start a “Convert” > "MSI from EXE(s)" project. If Advanced Installer is not currently running, launch it by double-clicking its desktop icon or selecting it from the "Start" menu. On the application's Start Page you can choose “Convert” > “MSI from EXE(s)” project type.
You can use the antiquated os.system('msiexec /i whatever.msi')
, or, better, the subprocess
equivalent subprocess.call -- in either case, you can also add whatever further msiexec
flags or arguments you desire (documentation in abundance here).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With