node-winresourcer
node-winresourcer copied to clipboard
Problem while buiding nw app
I'm using winresourcer to change icon for exe, but lately I'm receiving this issue:
err:module:import_dll Library dbghelp.dll (which is needed by L"C:\\windows\\system32\\mscoree.dll") not found
err:module:import_dll Library mscoree.dll (which is needed by L"Z:\\home\\username\\code\\clientexe\\node_modules\\winresourcer\\bin\\Resourcer.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\username\\code\\clientexe\\node_modules\\winresourcer\\bin\\Resourcer.exe" failed, status c0000135
Error while updating the Windows icon. Wine (winehq.org) must be installed to add custom icons from Mac and Linux
What is you operating system ? Have you .NET framework 2.0 installed ?
Hi, Os: Ubuntu 14.04 x64
Do you have wine installed with .NET framework 2.0 or equivalent ?
No, But I tried installing now with this command:
winetricks -q dotnet20
It gave me :
Note: command 'wine dotnetfx.exe /q /c:install.exe /q' returned status 26. Aborting.
That's a wine issue. You should looks at google or stackoverflow for a solution
Now, I've .NET 2.0, same issue.
I concur with @felicienfrancois, it appears to be a wine issue. I worked around this problem by switching to a 32 bit wine ("32 bit wine bottle"), installing dotnet20 via winetricks.
It's unfortunate as a whole, but hopefully the ability to run the Windows utility nw js uses with a 64 bit wine will be resolved eventually. I tried finding where this utility is installed with nwbuilder. What and where is it? I've come across it before, because sometimes it craps out in Windows. Perhaps we need to raise a ticket with the wine folks (Wine HQ?).
I think an ER should be filed if it isn't already to source a less binary & Windows native solution for inserting icons into binaries. It would be nice to see a node js based solution. I know that's a bit much to ask for, but the reliance on that application takes the js outta nw js.