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

Scott Aron Bloom Scott.Bloom at sabgroup.com
Fri Dec 18 19:34:39 CET 2009


I forgot about the msiexec exec.. Ill try that...

The problem, I need to be able to send args, so openUrl is failing...

Scott

-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of David Ching
Sent: Friday, December 18, 2009 10:21 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Launching MSI's using QProcess on windows

"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 

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list