[Interest] Qt Installer Framework - test if program is running

Koehne Kai Kai.Koehne at theqtcompany.com
Mon Nov 2 08:47:47 CET 2015



> -----Original Message-----
> From: Interest [mailto:interest-bounces at qt-project.org] On Behalf Of Harald
> Vistnes
> Sent: Wednesday, October 28, 2015 9:26 PM
> To: interest at qt-project.org
> Subject: [Interest] Qt Installer Framework - test if program is running
> 
> 
> 
> Hi!
> 
> 
> I have an application that is deployed with an online installer (Windows only).
> Users often try to update using the maintain tool while the application is still
> running. I want to detect if the application is running and if so abort the
> installation/update with a user friendly error message. How can I check if a
> process is running from QtIF?

Try http://doc.qt.io/qtinstallerframework/scripting-installer.html#isProcessRunning-method

Regards

Kai



More information about the Interest mailing list