<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt IFW: How to check if we are in maintanance mode]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I need to determine if the actual application is the "Intial Installer or the "Maintanancetool".<br />
How can I do this?  installer.isInstaller did not helped, because in maintenance mode it also gives a "true".   Actually I am using IFW 4.11 on MacOS Tahoe or Sequoia.</p>
<p dir="auto">Regards Alexander</p>
]]></description><link>https://forum.qt.io/topic/164869/qt-ifw-how-to-check-if-we-are-in-maintanance-mode</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Sep 2026 04:18:09 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164869.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Jul 2026 14:23:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt IFW: How to check if we are in maintanance mode on Fri, 21 Aug 2026 07:08:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Checking <strong>!installer.isInstaller()</strong> should be enough for determining that the current application is a Maintenance Tool.</p>
<p dir="auto">The <a href="https://doc.qt.io/qtinstallerframework/scripting-installer.html#isInstaller-method" target="_blank" rel="noopener noreferrer nofollow ugc">installer.isInstaller()</a> and related methods <a href="https://doc.qt.io/qtinstallerframework/scripting-installer.html#isPackageManager-method" target="_blank" rel="noopener noreferrer nofollow ugc">installer.isPackageManager()</a>, <a href="https://doc.qt.io/qtinstallerframework/scripting-installer.html#isUpdater-method" target="_blank" rel="noopener noreferrer nofollow ugc">installer.isUpdater()</a>, and <a href="https://doc.qt.io/qtinstallerframework/scripting-installer.html#isUninstaller-method" target="_blank" rel="noopener noreferrer nofollow ugc">installer.isUninstaller()</a> all determine their return value based on a single internal property that describes the current run mode of the application.</p>
<p dir="auto">Those methods are used quite extensively in the official Qt packages' installation scripts, so <strong>installer.isInstaller()</strong> returning <strong>true</strong> also for the Maintenance Tool sounds unexpected. Could you share a minimal install script example that reproduces the issue you are encountering?</p>
]]></description><link>https://forum.qt.io/post/839808</link><guid isPermaLink="true">https://forum.qt.io/post/839808</guid><dc:creator><![CDATA[artarkia]]></dc:creator><pubDate>Fri, 21 Aug 2026 07:08:27 GMT</pubDate></item></channel></rss>