[flexcoders] Re-installing an AIR application on Windows

2010-06-17 Thread kevinmacdonald98126
The online documentation on this subject is mostly contradictory and out of 
date due to changes that Adobe made with AIR 1.5.3. 

I am building and deploying a new AIR application using 1.5.3. As far as I can 
tell it should be possible to silently un-install an AIR application and then 
re-install a new one in its place. However, the documention here talks about 
publisher ids:
http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf

and the documentation here says publisher ids are deprecated:
http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html

So, I am at a loss as to figure out how to obtain the Upgrade/Component GUID 
under windows so that I can call msiexe to uninstall an AIR application. 

Can anyone shed light on this?
 



[flexcoders] Problem building a very large AIR file

2010-05-26 Thread kevinmacdonald98126
We are building an educational product that is very rich in media. The entire 
product includes almost 25,000 files totally 600MB. Ideally, we want to bundle 
all this content with the AIR application into one big AIR file so that we can 
use Adobe's side-car installers for both Windows and Mac. We are, however, 
hitting a major technical hurdle. FlashBuilder 4 errors out during the Export 
Release Build process. The FlashBuilder log file is shown below.

I have tried increasing memory to the JVM by tweaking parameters in the 
FlashBuilder.ini file, however even giving the JVM the most memory it will 
accept this problem still persists. 

Is there any way to fix this? Should we be bundling our application 
differently? Could we start with a smaller content bundle and then unpack and 
re-pack the AIR file ourselves to include more files?

I think Adobe would want to know about this issue. I'm happy to provide more 
information.

Thanks very much. 

- FlashBuilder log ---
!ENTRY com.adobe.flexbuilder.project 4 43 2010-05-26 15:27:14.290
!MESSAGE Error
!STACK 0
java.lang.reflect.InvocationTargetException
at 
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:479)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944)
at 
com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doPackage(ExportReleaseVersionWizard.java:265)
at 
com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.performFinish(ExportReleaseVersionWizard.java:105)
at 
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
at 
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at 
com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(ExportReleaseVersionAction.java:97)
at 
com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportReleaseVersionAction.java:103)
at 
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at 
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java:109)
at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 

[flexcoders] AIR file size limitation

2010-05-26 Thread kevinmacdonald98126
After encountering problems with our 600MB application I came across this post 
http://forums.adobe.com/message/820311, indicating that there is an unresolved 
problem with large AIR files. I was able to package and sign my application 
into a single AIR file, but it fails to install with the same errors 
encountered in that post.

This would appear to dash my hopes of using Adobe's side-car installers for Mac 
and Windows, which leaves me with the task of building installers myself. Ugh. 
Does anyone have thoughts on this? I'm exploring this product - 
http://shu-player.com/ - to see if it holds any promise. Does the AIR runtime 
have any sort of post-routine that can be hooked into to copy files from one or 
more CD/DVDs? 

Thanks

Kevin