> -----Original Message----- > From: development-bounces+kai.koehne=theqtcompany.com@qt- > Subject: [Development] Qt Installer (1.5.0) uninstaller customization > > Hello All, > > How can I control the uninstaller to check program is running or not before > uninstalling program in Qt installer version 1.5.0 ? Actually, I could do > this in > 2.0.0 with controller script but then there is a bug: > https://bugreports.qt.io/browse/QTIFW-659 and it is not seen in 1.5.0 > version so I want to use this version until bug is fixed.
Hi, Try using addStopProcessForUpdateRequest, or setStopProcessForUpdateRequest http://doc.qt.io/qtinstallerframework/scripting-component.html#addStopProcessForUpdateRequest-method Calling this at installation/update time will also result in a check in the uninstaller. See http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs for a real-world usage of this. Regards Kai (This is btw a question that belongs to interest@, not development@. Please drop developm...@qt-project.org in further replies). _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest