We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 15, 2022 10:14 PM

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 05:44 AM

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.
Live Chat Icon For mobile
Up arrow icon