<?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 Installer Framework - Removing the Maintenance Tool]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I'm using the Qt Installer Framework (2.0.3) to create an installer my program. Everything works fine, and my program installs perfectly.</p>
<p dir="auto">However, I'd like to remove (or not install at all) the maintenance tool that is included by default. I have read the documentation and examples, and have searched the web but I haven't found any solutions to this problem. The closest thing I have found is the "MaintenanceToolName" element in the configuration file. I would have also expected an option to prevent the maintenance tool from being installed altogether. It would also be great if I could remove the Licenses folder too.</p>
<p dir="auto">So in short: Is there a way to remove or prevent the maintenance tool (and it's associated files) from being installed?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/topic/70697/qt-installer-framework-removing-the-maintenance-tool</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 19:52:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/70697.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Aug 2016 20:11:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt Installer Framework - Removing the Maintenance Tool on Tue, 03 Aug 2021 12:59:11 GMT]]></title><description><![CDATA[<p dir="auto">For new comers:</p>
<p dir="auto">I think you will have to build it from source in order to disable that option<br />
Go to the <a href="https://github.com/qtproject/installer-framework/blob/711a412f52667d90aa49891e6b8207e548f33463/src/libs/installer/packagemanagercore.cpp#L464" target="_blank" rel="noopener noreferrer nofollow ugc">function</a> <code>void PackageManagerCore::writeMaintenanceTool()</code> and and the <a href="https://github.com/qtproject/installer-framework/blob/711a412f52667d90aa49891e6b8207e548f33463/src/libs/installer/packagemanagercore_p.cpp#L1112" target="_blank" rel="noopener noreferrer nofollow ugc">function</a> <code>void PackageManagerCorePrivate::writeMaintenanceToolBinary()</code> and just add a <code>return</code> in the beginning of the function to disable it and the maintenance tool won't be included.</p>
<p dir="auto">Worked for me, but it didn't reduce the size of the resulting installer as I was expecting though.</p>
]]></description><link>https://forum.qt.io/post/674013</link><guid isPermaLink="true">https://forum.qt.io/post/674013</guid><dc:creator><![CDATA[hbatalha]]></dc:creator><pubDate>Tue, 03 Aug 2021 12:59:11 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Installer Framework - Removing the Maintenance Tool on Tue, 02 May 2017 15:05:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tsherr">@<bdi>Tsherr</bdi></a></p>
<p dir="auto">Hello, I have the same issue, tell me please, did you found solution for this problem?</p>
]]></description><link>https://forum.qt.io/post/391198</link><guid isPermaLink="true">https://forum.qt.io/post/391198</guid><dc:creator><![CDATA[aliks-os]]></dc:creator><pubDate>Tue, 02 May 2017 15:05:51 GMT</pubDate></item></channel></rss>