Home > Default > Cannot install Native Application silently

Cannot install Native Application silently

November 30Hits:0
Advertisement
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 post 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.

Answers

I just tried again now but it didn't work.
With AIR Runtime 3.1, here is what I did:
1) Create a Flex Project (Desktop Application with Flex SDK 4.6.0)
2) Export Native Installer package, called NativeAppTest_1.0.0.exe
3) Edit the application xml file and change <versionNumber> value "1.0.0" to "1.0.1"
4) Export Native Installer package, called NativeAppTest_1.0.1.exe
5) Copy both installers to C:\
5) Install C:\NativeAppTest_1.0.0.exe
6) From command prompt, run "C:\NativeAppTest_1.0.1.exe -silent"
The following is returned:
C:\>NativeAppTest_1.0.1.exe -silent
C:\>failed due to bad configuration
With AIR Runtime 3.3 installed, the same thing happens. The log file says:
[2012-07-25:15:58:40] Bootstrapper begin with version 3.1.0.4880 on Win x86
[2012-07-25:15:58:40] Installed runtime (3.3.0.3670) located at c:\Program Files (x86)\Common Files\Adobe AIR
[2012-07-25:15:58:40] Launching subprocess with commandline "Adobe AIR Application Installer.exe" -silent "C:\Users\D7378~1.REA\AppData\Local\Temp\AIR642F.tmp\NativeAppTest"
[2012-07-25:15:58:40] Application Installer begin with version 3.3.0.3670 on Windows 7 x86
[2012-07-25:15:58:40] Commandline is: -silent C:\Users\D7378~1.REA\AppData\Local\Temp\AIR642F.tmp\NativeAppTest
[2012-07-25:15:58:40] Installed runtime (3.3.0.3670) located at c:\Program Files (x86)\Common Files\Adobe AIR
[2012-07-25:15:58:41] Validating app in folder C:\Users\D7378~1.REA\AppData\Local\Temp\AIR642F.tmp\NativeAppTest
[2012-07-25:15:58:41] Application signature verified
[2012-07-25:15:58:41] Unpackaging/validation complete
[2012-07-25:15:58:41] Installed app (NativeAppTest) located at C:\Program Files (x86)\NativeAppTest\NativeAppTest.exe
[2012-07-25:15:58:41] Bad configuration: mode is silent install, but the app is installed
[2012-07-25:15:58:41] Application Installer end with exit code 9
[2012-07-25:15:58:41] Subprocess Application Installer failed (9)
[2012-07-25:15:58:41] Bootstrapper end with exit code 9
Using Flex SDK 4.6.0 and AIR SDK 3.3, I exported another Native Installer and tried again:
[2012-07-25:16:09:22] Bootstrapper begin with version 3.3.0.3690 on Win x86
[2012-07-25:16:09:22] Installed runtime (3.3.0.3670) located at c:\Program Files (x86)\Common Files\Adobe AIR
[2012-07-25:16:09:22] Launching subprocess with commandline "Adobe AIR Application Installer.exe" -silent "C:\Users\D7378~1.REA\AppData\Local\Temp\AIR2F6A.tmp\NativeAppTest"
[2012-07-25:16:09:22] Application Installer begin with version 3.3.0.3670 on Windows 7 x86
[2012-07-25:16:09:22] Commandline is: -silent C:\Users\D7378~1.REA\AppData\Local\Temp\AIR2F6A.tmp\NativeAppTest
[2012-07-25:16:09:22] Installed runtime (3.3.0.3670) located at c:\Program Files (x86)\Common Files\Adobe AIR
[2012-07-25:16:09:22] Validating app in folder C:\Users\D7378~1.REA\AppData\Local\Temp\AIR2F6A.tmp\NativeAppTest
[2012-07-25:16:09:22] Application signature verified
[2012-07-25:16:09:22] Unpackaging/validation complete
[2012-07-25:16:09:22] Installed app (NativeAppTest) located at C:\Program Files (x86)\NativeAppTest\NativeAppTest.exe
[2012-07-25:16:09:22] Bad configuration: mode is silent install, but the app is installed
[2012-07-25:16:09:22] Application Installer end with exit code 9
[2012-07-25:16:09:22] Subprocess Application Installer failed (9)
[2012-07-25:16:09:22] Bootstrapper end with exit code 9
I noticed the logs keep saying Windows 7 x86 but I'm actually running Windows 7 x64.
Could this be the problem? If not, what else could I try?

Read other 7 answers

Tags:

Related Articles

  • Cannot install Native Application silentlyNovember 30

    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 co

  • How to install Oracle Application Testing Suite on ubuntu 12.4 64 bits?October 11

    Hi Guys, I am trying to install Oracle Application Testing Suite on ubuntu 12.4 64 bits, I have downloaded the application (Oracle Application Testing Suite 12.1.0.1.0 - Complete Install ) from http://www.oracle.com/technetwork/oem/app-test/index-084

  • Updating Native ApplicationsNovember 30

    I know that the update framework is not supposed to work with native applications, but is it possible to update a native Adobe AIR application using a .air file? This is based on the assumption that .air files are basically archive files and that the

  • Unable to install large applicationsNovember 30

    My device is nokia e66-1 slide. When i try to install any symbian app(sis/sisx) in phone or memory card larger than about 800 kb, it says 'unable to install' sometimes just when installation starts, sometimes in the middle of installation. But i can

  • Launching safari on iPhone from native application without new pageNovember 30

    Hii.. I have to synchronize my native application and web application for iPhone. And somewhere in between I wish to switch in between safari and my native application. So at first from browsing through my web application the user comes to a link whe

  • Installing an Application on MAC 10.4.8 and MAC 10.4.9November 30

    Hi, I have made an installer to install an application on MAC OS..When i run this installer on MAC version 10.4.8, it works perfectly fine and when i try to run the same installer on MAC version 10.4.9 it does not even show me the installation wizard

  • QuickTime keeps telling me to "install Apple Application Support"November 30

    I uninstalled it and reinstalled it like 5 times keeps telling me to "install apple application support" What do I do?!? Please Help!Hey there Rukia, I had this same problem too so here's what I did. 1). go here http://handbrake.fr/ and click th

  • Install InCopy Update Silently 5.0.3November 30

    Hi Has anyone been able to silently install InCopy Update? I've got Adobe InCopy CS3 5.0 installed on my machine and i'm trying to install the Patch silently. I've tried "C:\PathToSetup\install.exe --mode=silent" on the commandline, it looks lik

  • Cannot install AIR application when the system date is set beyond 10/31/2017November 30

    I created a native time-stamped installer for an AIR application. While testing the installer with different system dates, I noticed that the installer does not work when the system date is set beyond 10/31/2017. I tested the same with a self-signed

  • How Can I install Framemaker 10 silently with serial key and license updater?November 30

    How Can I install Framemaker 10 silently with serial key and license updater? Is there any tool to create MSI for this? I tried with using http://download.macromedia.com/pub/developer/creativesuite/AAMEE/win32/ApplicationManagerE nterprise_1_all.exe

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 1.243 s.