Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Possible to replace the installers' icon?
Qt 6.11 is out! See what's new in the release blog

Possible to replace the installers' icon?

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    billconan
    wrote on last edited by
    #1

    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,

    1 Reply Last reply
    0
    • B Offline
      B Offline
      billconan
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DStaelens
        wrote on last edited by
        #3

        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");

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved