Windows Icons?

Hi,
If I have various sized .png files (256, 128, 48, 32, 16) - could someone please tell me how I get them all combined into 1 icon file, AND how I then get that .ico file associated / embedded in my .exe

I really need help on this.

Thank you all in advance.

I use IcoFX to build .ico files from pngs, it’s free. As for file association with the .ico file, your installer should handle that, you just need to bundle the .ico file with your installer. We use InnoSetup and AdvancedInstaller here, but to give you an idea of what this would look like in InnoSetup:

Root: HKCR; Subkey: “.xojo_binary_project”; ValueType: string; ValueName: “”; ValueData: “Xojo.XojoBinaryProject”; Flags: uninsdeletevalue
Root: HKCR; Subkey: “Xojo.XojoBinaryProject”; ValueType: string; ValueName: “”; ValueData: “Xojo Binary Project”; Flags: uninsdeletekey
Root: HKCR; Subkey: “Xojo.XojoBinaryProject\DefaultIcon”; ValueType: string; ValueName: “”; ValueData: “{app}\Resources\Win32\xojoproject.ico”; Flags: deletekey
Root: HKCR; Subkey: “Xojo.XojoBinaryProject\shell\open\command”; ValueType: string; ValueName: “”; ValueData: “”"{app}\Xojo.EXE"" “”%1"""; Flags: deletekey