How to Include K-Lite Codec Pack Installation in My Qt Application Installer for Windows?
-
Hello everyone,
I have developed a Qt application that I am preparing to distribute for Windows PCs. My application requires the K-Lite Codec Pack to function properly. I am using a tool to create an installer for my application, and I need to include the K-Lite Codec Pack installation process as part of this installer.
Could someone please guide me on how to:
Integrate the K-Lite Codec Pack installation into my application's installer, either before or after my application is installed.
Ensure a seamless installation experience for users, ideally with minimal additional steps required from them.
Any advice on specific tools, scripts, or methods to achieve this would be greatly appreciated. Thank you in advance for your help!Best regards
-
I create the Windows installer for one of my projects with NSIS: https://nsis.sourceforge.io/
Works nice, is quite easy and the result looks like what Windows users would expect an installer to be. -
-
@l3u_
Thank you for the information! I'm looking for some specific tricks to implement this in the Qt Installer Framework. If there are any reliable methods or workarounds, I'd prefer to stick with Qt. However, if I don't find any suitable solutions, I'll consider using NSIS.Any insights or examples would be greatly appreciated.
Thanks again!
-
If you are using CMake to build your Qt Application, you could think of using cpack.
In the cpack generators you have both NSIS and the Qt Installer Framework (IFW), and also WIX.
See also Qt's CMake deployment API for more details.
-