2

I've been looking into the Qt installer framework but when you create a setup using this tool it is a regular setup though I was wondering whether it would be possible to create an msi setup to be able to install a Qt program network wide.

I've looked at the installer framework docs but was unable to find anything about this so far.

Liam Martens
  • 731
  • 7
  • 22

2 Answers2

5

Qt installer framework doesn't provide creating of MSI installer. For MSIs you should use WiX for example.

Dina Bogdan
  • 4,345
  • 5
  • 27
  • 56
  • 1
    Ok, thanks. Seems dull that they don't support this out of the box since Qt is such a business oriented framework, but oh well – Liam Martens Feb 26 '18 at 13:57
  • @LiamMartens The Qt Installer Framework is not really a part of Qt and my personal thinking about it is that its main purpose is to be used to create Qt installers by The Qt Company, not to be a complete installer solution like Wix or InnoSetup. And therefore, it lacks many basic features, like being able to update an existing installation: https://bugreports.qt.io/browse/QTIFW-401 – Benjamin T Feb 26 '18 at 15:37
  • @BenjaminT Updating is possible but [a bit tricky](https://stackoverflow.com/questions/46455360/workaround-for-qt-installer-framework-not-overwriting-existing-installation/46614107#46614107) yes – secavfr Feb 06 '21 at 16:29
3

You have got a proper answer, maybe I'll add some further links for you. Before I do that I can verify that WiX can be used to make MSI installers for any type of Windows application.

There are also a few other tools available to make MSI files that you might want to look at depending on your needs - both open source (free) and commercial. Though WiX is very flexible and great when you have it set up, commercial tools can help you get an MSI created much quicker. Have a read below of the different tools and their pros and cons.


Below are a few links for you - I am a "linking monster" :-). If you pardon what looks like shameless self-promotion, it is really a guess as to what you could find useful to get your MSI file created:


And a few more peripheral links thrown in:

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164