Archive: Thanks


Thanks
Hi,

Thanks for info. I have now corrected code to "msiexec.exe myfile.msi". What I don't understand is why can I run a MSI file from Command window with /q param. But this can't directly be transalated when executing a script.

Although I am sure other compilers would do the same. What is the blocking issue here stopping file from running?


The command line interrupter probably calls ShellExecute eventually which will work, because in turn it'll call msiexec.exe, being the executable associated with MSI files. CreateProcess, which is used by ExecWait internally, on the other hand, can only execute executables and doesn't try using shellExecute.