We've upgraded our Flex SDK 3.1 + AIR 1 application to Flex SDK 4.1 + AIR 2, using the same build script that automates the use of ADT to build the AIRI/AIR files using the same PFX file.
The installer, however, does not attempt to upgrade the previous application but instead install a new application. From the installer logs, I can see the problem is that the pub id is blank for the AIR 2-generated installer.
[2010-08-02:11:19:51] app id <appid>
[2010-08-02:11:19:51] pub id <GUID>.1
[2010-08-02:11:21:46] app id <appid>
[2010-08-02:11:21:46] pub id <BLANK>
Any idea why this might be happening? Does the pub id have to be specified explicitly as part of the AIR 2 SDK?
Any help would be greatly appreciated
You do in fact need to specify your publisherID explicity when you update to 1.5.3 or higher
If you have an existing AIR application, then you should take the following steps to make this transition:
The value you want in the <publisherID> tag is what you describe as "<GUID>.1" from your logs (although it isn't actually a guid). You want the whole value including the ".1"; it should be 42 character long in total. Once you make that change the new app should be able to update the old one