Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you create a setup.exe in qt to install your app on a client computer

I have created a desktop app and now I need to install in on a client's computer.

However, the client would like to have a wizard to install. Like Visual Studio setup project allows you to add an installer.

Does Qt allow you to create an installer or do I need to use a 3rd party installer like InstallShield or Wise?

like image 235
ant2009 Avatar asked Mar 17 '09 16:03

ant2009


People also ask

How do I create a standalone Qt application?

To build the Qt project as a standalone executable file run qmake and nmake. After that you should execute mt.exe to embed a manifest inside the application to avoid error such as missing MSVCP90. dll when the application is started on other computers.


4 Answers

I use Inno and like it a lot. I've tried a few others and this one worked well for me. (and free)

like image 148
Tim Avatar answered Sep 22 '22 05:09

Tim


You should use the Qt Installer Framework : http://doc.qt.io/qtinstallerframework/ifw-overview.html

like image 39
Talespin_Kit Avatar answered Sep 20 '22 05:09

Talespin_Kit


You definitely need a third party installer. A few good ones have already been mentioned. If you decide to go with a paid solution bitrock's installer is a perfect choice and they are also Qt centric and their main business is around Qt.

As an open source alternative I would suggest NSIS

like image 38
Yorgos Pagles Avatar answered Sep 20 '22 05:09

Yorgos Pagles


If you only target Windows, you can use WiX (Windows Installer XML), which can be integrated into Visual Studio and MSBuild, so relatively easy to use. It's free and produces valid MSI files, which may be a requirement anyway.

If you rather need a simple wizard setup, give InnoSetup a try.

like image 30
OregonGhost Avatar answered Sep 21 '22 05:09

OregonGhost