Getting error "not a valid win32 application"

2 views
Skip to first unread message

Donny Velazquez

unread,
Jan 2, 2013, 10:42:29 AM1/2/13
to node-...@googlegroups.com
I packaged the .nw app and produced an exe from it. When I try to run it, it throws a "not a valid win32 application" error.
Anyone run across this before?

Win7, 64bit.

Thanks

Roger WANG

unread,
Jan 3, 2013, 12:08:18 AM1/3/13
to Donny Velazquez, node-...@googlegroups.com
Donny Velazquez <don...@gmail.com> writes:

> I packaged the .nw app and produced an exe from it. When I try to run it,
> it throws a "not a valid win32 application" error.

How did you produce the exe file?

--
Roger WANG Intel Open Source Technology Center

Brian McCoy

unread,
May 23, 2013, 5:45:41 PM5/23/13
to node-...@googlegroups.com, Donny Velazquez
I'm getting a similar error. 

If I drop the .nw file onto nw.exe, the app runs as expected. 

However, after generating the executable by combining the .nw file with nw.exe, the following error is displayed when I click on the executable: 

"The version of this file is not compatible with the version of windows you're running. Check your computer's system information to whether you need an x86 or x64 version of the program....'  

I produced the exe file with the following DOS command: copy/b app.nw+nw.exe app.exe. 

Does this mean that there's no way to create a single executable for 64-bit windows systems? 

thanks. 
Brian McCoy 

Ma, Donghao

unread,
May 23, 2013, 10:57:18 PM5/23/13
to node-...@googlegroups.com

The command you typed is wrong.  Copy /b nw.exe+app.nw app.exe.

 

The order if nw.exe+app.nw not app.nw+nw.exe.

--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Brian McCoy

unread,
May 24, 2013, 3:44:26 PM5/24/13
to node-...@googlegroups.com
Thank you! That was what I needed, it now works as expected. 
Reply all
Reply to author
Forward
0 new messages