0

I have created a qt installer and I am trying to set some icons on it, Working on linux with the InstallerApplicationIcon I have managed the application logo to be displayed on each of Installer's page but building the same installer on Windows the Icon does not appear. I have tried several solutions with .ico or .bmp files but I have not managed to make it work

chatzich
  • 1,083
  • 2
  • 11
  • 26

2 Answers2

1

I found that in Windows 'InstallerApplicationIcon' without filename extension, but 'InstallerWindowIcon' needs it.

StephennQin
  • 81
  • 1
  • 5
0

I have tried it on windows and it worked for me.

Inside my config directory I have two files Coffee.ico and document.png. The Coffee.ico is shown in the explorer for the installer icon, whereas the document.png is shown on every installer page on the top.

My config.xml basically looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<Installer>
    <Name>Your application</Name> 
    <Version>1.0.0</Version>
    <Title>Your application Installer</Title>
    <InstallerApplicationIcon>Coffee</InstallerApplicationIcon>
    <InstallerWindowIcon>Document.png</InstallerWindowIcon>
</Installer>

Here is what I'll see:

Icon in Explorer

Icon inside installer pages

Aleph0
  • 5,816
  • 4
  • 29
  • 80
  • I am not referring to the icon position you are mentioning I am referring to the Application Logo to Up-Right section of the installer – chatzich Sep 04 '19 at 09:23
  • @chatzich: Can you please extend your question with an screenshot of your Linux and Windows installer? – Aleph0 Sep 04 '19 at 09:34
  • I wish I could but I am working in private network and I can not export code from it – chatzich Sep 04 '19 at 09:36