I have an existing Native Application installed that I'm trying to update silently, i.e. without being prompted if I want to replace the application. In command prompt on Windows 7 x64 I have tried the following:
C:\NativeAppUpdate.exe -silent
The command fails with the following message:
failed due to bad configuration
At this point I Googled the error and came across a
on this forum of something experiencing a similar issue. Adobe suggested using the ARH tool to get a better understanding of what the error was. So I tried the ARH tool as follows:
arh -installAppSilent NativeAppUpdate.exe
Unfortunately that failed too with the following message:
Failed (consult log)
So I looked at the log and found the following entries:
[2012-07-02:17:04:35] Application Installer begin with version 3.1.0.4880 on Windows 7 x86
[2012-07-02:17:04:35] Commandline is: -silent NativeApp_1_0_1.exe
[2012-07-02:17:04:35] Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
[2012-07-02:17:04:35] Unpackaging file:///C:/NativeApp_1_0_1.exe to C:\Users\d.reade\AppData\Local\Temp\flaC061.tmp
[2012-07-02:17:04:35] Got an unexpected fatal error while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="not an AIR file" errorID=0]
[2012-07-02:17:04:35] Application Installer end with exit code 7
It says it's not an AIR file, which is correct. However if I run the update file without the silent argument, it asks me if I want to replace the application and installs fine. So why does it fail when the silent argument is used and is there any other way around this?
Any help would be greatly appreciated. Thanks in advance.