> -----Original Message-----
> From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Harald
> Vistnes
> Sent: Wednesday, October 28, 2015 9:26 PM
> To: interest@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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to