google-code-export / nativeapplicationupdater

Automatically exported from code.google.com/p/nativeapplicationupdater
3 stars 1 forks source link

The NativeProcess could not be started. #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I got the following error. Can you help me with this?
I was updating a native application, which has been packaged as an executable 
(EXE) with your framework.

Error: Error #3219: The NativeProcess could not be started. '%1 is no valid 
Win32-application.

'
    at flash.desktop::NativeProcess/internalStart()
    at flash.desktop::NativeProcess/start()
    at com.riaspace.nativeApplicationUpdater::NativeApplicationUpdater/installFromFile()[/Users/pwalczys/Projects/NativeApplicationUpdater/src/com/riaspace/nativeApplicationUpdater/NativeApplicationUpdater.as:411]
    at com.riaspace.nativeApplicationUpdater::NativeApplicationUpdater/installUpdate()[/Users/pwalczys/Projects/NativeApplicationUpdater/src/com/riaspace/nativeApplicationUpdater/NativeApplicationUpdater.as:339]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

Original issue reported on code.google.com by geertzij...@gmail.com on 15 Oct 2010 at 12:07

GoogleCodeExporter commented 9 years ago
Please try to run latest source code from SVN.

p.

Original comment by Piotr.Walczyszyn on 15 Oct 2010 at 12:35

GoogleCodeExporter commented 9 years ago
I've downloaded the sources.

When I'm debugging the application I notice that the "updateFile" of the 
function "installFromFile" points to: "C:\Documents and 
Settings\Administrator\Local Settings\Temp\fla12.tmp"

This "fla12.tmp" is not an executable, hence the error I presume.

Regards,

Geert

Original comment by geertzij...@gmail.com on 15 Oct 2010 at 12:59

GoogleCodeExporter commented 9 years ago
Hi Piotr,

My mistake... put the wrong file location in the update.xml file.
It now works.
You may delete this issue.

Regards,

Geert.

Original comment by geertzij...@gmail.com on 15 Oct 2010 at 1:28

GoogleCodeExporter commented 9 years ago
That is what I thought.
p.

Original comment by Piotr.Walczyszyn on 15 Oct 2010 at 1:31