question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rcedit.exe is not working on Windows

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
coclavcommented, Nov 23, 2015

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,
0reactions
junosuarezcommented, Apr 12, 2016

Windows shortcut icons default to the default app icon, but they can also be set to any icon resource, e.g., another icon resource embedded in the target executable or an icon resource in a dll. I know there are ways to change this programmatically, a super quick search brings up https://blogs.technet.microsoft.com/heyscriptingguy/2005/08/12/how-can-i-change-the-icon-for-an-existing-shortcut/ - hope this helps point in the right direction!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How I Fixed: Electron builder rcedit-x64.exe": file does not exist
My issue was caused, it would seem, by running the runner outside of the administrator mode / in regular Power Shell. I don't...
Read more >
Problems running rcedit - WineHQ Forums
This game engine is using windows program rcedit (https://github.com/electron/rcedit) to set icon of just builded exe files and it does not ...
Read more >
Visual Studio Feedback
The solution to remove 'Remove Properties and Personal Information' in an exe file using rcedit-x86.exe or rcedit-x64.exe is still not working right.
Read more >
Want to change Racket GUI application title (on the taskbar ...
electron/rcedit solved the problem. ... [for 32bit racket] rcedit-x86.exe gui-01.exe --set-version-string FileDescription "My GUI Program".
Read more >
rcedit.exe with 64bit .exe - WinRun4J Discussion - SourceForge
can I use rcedit.exe on a 32bit Windows system to put an icon and the ... to change the icon, but it still...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found