Skip to main content
Participant
July 13, 2012
Question

Problems updating/installing air application

  • July 13, 2012
  • 1 reply
  • 740 views

Hi,

  We have an Adobe Air application that uses the Air update mechanism for newer versions. It seems to work fine for most of the customers  but on some computers when it tries to install the new version it cannot. The only clue we have are some errors we found in the Install.log in in Adobe/Air/logs:

[2012-07-09:12:14:50] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
[2012-07-09:12:14:50] Rolling back install of C:\Users\pop.radu\AppData\Local\Temp\fla73EA.tmp\setup.msi
[2012-07-09:12:14:50] Rollback complete
[2012-07-09:12:14:50] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]

We have checked other discussions on this problem and most of the solutions were using an uninstall tool to remove the app and then install it again. However, we would like to know if there is another way to solve this since we don't want  our customers to uninstall and reinstall the application manually each time a newer version of the app appears.

Does anyone know if there is a way to do this?

Thanks,

Radu

This topic has been closed for replies.

1 reply

chris.campbell
Legend
July 25, 2012

Hi Radu,

The next step would be to enable MSI logging and take a look at what is failing with MSI.  Unfortunately, MSI is very fragile at times and we do see this problem.  Sometimes its simply a file/folder/registry permission issue.  Other times it's more severe, like a missing .msi database file.  Because this is an upgrade, I suspect what is happening is that MSI is looking for the old version's .msi database file so that it can run its "uninstall" routine.  If the old msi can't be found, it will bail out and the upgrade will fail.

The only solution, other than locating the old msi database file (doubtful) is to run the Microsoft cleanup utility.

Thanks,

Chris

Ps.  If you haven't already, I'd recommend taking a look at the captive runtime solution in AIR 3.x.  http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html