Closed valeriigamaley closed 1 year ago
There is a msiexec
command to invoke .msi files. You can pass the .msi file name as an argument to this command.
msiexec.exe /i "C:\example.msi" /qn
You may try this.
that working idea, but msiexec need full path to run package installer. thx, i will think about how use non-full path to execute)
Introduction:
Hello again, guys. Now I have a common question: can I run a non-exe-process (such as .msi, or etc.)? Because
Process::create(path_to_exe)
works nice and start all exe installers, but if i tried that on .msiProcess::create(path_to_msi)
processes, it does not work. Can I useProcess
to start .msi installers?Steps to reproduce:
Software: Win10 x64, rustc 1.69, cargo 1.69, uiautomation 0.51