packager: rcedit.exe is not working on Windows

I have the following options for my grunt task:

windowsBuild: {
    options: {
        name: 'Cameron',
        dir: 'app',
        out: 'dist',
        version: '0.25.3',
        platform: 'win32',
        arch: 'ia32',
        icon: 'icon.ico'
    }
}

but the icon isn’t applied to the final dist app… I just get the default Electron icon.

The ico file is valid and at the specified location!

Tried on Windows 7.

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

I have been struggling all day long with this issue without success. Once I had fixed the MSVCP100.dll issue, the next one was The application was unable to start correctly (0xc000007b)

image

and I gave up at this stage 😦

I went for Resource Hacker which seemed to work so fare

here is my script. Do that before signing and putting it in installer

[FILENAMES]
     Exe=    "c:\path\to\exe\before\yourElectronApp.exe"
     SaveAs= "c:\bla\bla\YourElectronAPpWithCoolIcons.exe"
[COMMANDS]
     -addoverwrite "path\to\icon.ico", ICONGROUP,1,