Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

Possible to replace the installers' icon?



  • Hello,

    I'm playing with the installer framework 1.5. I want to replace the icon of the installer.exe, but it doesn't work:

    @<?xml version="1.0" encoding="UTF-8"?>
    <Installer>
    <Name>Change installer UI Example</Name>
    <Version>1.0.0</Version>
    <Title>Change installer UI Example</Title>
    <Publisher>Qt-Project</Publisher>
    <InstallerWindowIcon>penguin.png</InstallerWindowIcon>
    <InstallerApplicationIcon>penguin.ico</InstallerApplicationIcon>
    <Logo>logo.png</Logo>
    <Watermark>watermark.png</Watermark>
    <Background>background.png</Background>
    <StartMenuDir>Change installer UI Example</StartMenuDir>
    <TargetDir>@HomeDir@/IFWChangeInstallerUIExample</TargetDir>
    </Installer>
    @

    Also, the installer uses a static build, if I distribute the installer, will it violate the lgpl license?

    I also need to update some registry keys at the end of installation, how do I do it?

    Thanks,



  • I can answer my own question now.

    the ico file I'm using doesn't provide a small version (16x16). when I switched to "view with large icons" in the file browser, I could see it.

    I still have the question that if using the installer framework for commercial app will violate the lgpl license?



  • for the registry keys, you can add an operation for GlobalConfig in the install script.

    component.addOperation("GlobalConfig","HKEY_LOCAL_MACHINE\SOFTWARE\MYCOMPANY\MYAPP","TESTKEY","42");


Log in to reply