[Qt-interest] Launching MSI's using QProcess on windows

David Ching dc at remove-this.dcsoft.com
Fri Dec 18 19:21:29 CET 2009


"Scott Aron Bloom" <Scott.Bloom at sabgroup.com> wrote in message 
news:7DB34253D57D2B47AEB656218FE6AAEF171D8B at hawkxp.onshorecs.local...
> QT 4.5, windows XP, Vista and 7
>
> Does anyone have any methodology for launching a MSI file from QProcess?

I'm not sure what is the Qt way of launching the default file handler for a 
given extension like .msi.  Would QDesktopServices::openUrl("file:///...") 
do it?  Regardless, you can use QProcess::execute("msiexec.exe") and specify 
the parameter of your .msi file.

-- David 




More information about the Qt-interest-old mailing list