I had to convert an ICO to use it in a MSI setup project

Hello,

I believe Metro Studio always create PNG files, even if you specify ICO as filetype when exporting.

Why?

I tried to use the ICO file in a MSI project (Setup Project in Visual Studio 2022 with the installer extension).

It never worked. (my MSI's add and remove icon was blank and on the desktop shortcut it was the default WPF app icon).

I used one of the "ICO converted" online then use the "converted" ICO file.

Now, I see the proper icon after installing my app using an MSI.

I hope you can take a look at it... because I spent 2 hours on this lol

Thanks,

Pascal


2 Replies

PG Pascal Guérin October 16, 2022 03:14 AM UTC

I reproduced with Paint .NET.

If I export an icon from Metro Studio to ICO, I cannot use it in a MSI project.

With Paint .NET, I downloaded the "export to ico plugin" and was able to export a PNG to ICO, and the MSI understand it correctly.

If you don't want to create an ICO, you may want to add a message saying that ICO created by Metro Studio may not work in a MSI.

Thanks,



KS Kayalvizhi Sivashanmugam Syncfusion Team October 19, 2022 10:44 AM UTC

Hi Pascal,

We 
evaluated our MetroStudio's .ico file in WPF application, and we able to see the icon in Application title bar. Please see below image,



Can you ensure whether your exported ico has proper background.

If you still face any issue, please provide more details about this issue.


Regards,
Kayalvizhi S



Loader.
Up arrow icon