On Tue, Jul 10, 2012 at 3:22 AM, Tomasz Maciąg | Fuse Collective < t.mac...@fusecollective.com> wrote:
> Can you modify the action button(install) click to just navigate to the >> "appURL" instead of invoking the airSWF api? This would trigger a >> download >> for the installer and the user can just open the downloaded file for the >> installation to begin. >> > I've updated badge. You can switch mode in HTML to download (navigate to > the "appURL") or install (works the same as before). That works for you? > Right now it works with navigateToURL but I could change it to > FileReference solution. > > Thanks Tomasz! I will give it a spin today. One last requirement is - we will need to auto detect the os (mac vs. windows) and navigate to the correct URL - .dmg vs. .exe Right now, we dont have a .dmg build up on my site. Can someone using a Mac run the ant build and attach the .dmg file to the JIRA ticket? I can post it up on my site alongside of the .exe build. > > After seeing the >> feedback we are getting regarding the confusion caused by the .AIR app, >> > BTW. what kind of confusion was there? I think I missed that... > > On Macs, the AIR SDK download is a tar file. The Fzip library we are using does not uncompress these files. So, just on the Macs, we are using the NativeProcess api to invoke tar natively and untar the file. Because of this, for Macs, we have to package and distribute the app as a native installer. No such issues for windows, because the AIR SDK is available as a zip file. Native installers cannot be installed using a badge installer. There is no need anyways, because the badge installer is mostly a utility to seamlessly detect and install the AIR Runtime along with the app. But since we are packaging the app natively, we are shipping the AIR runtime with the app itself (captive runtime) Messaging this distinction between installers across operating systems seems to be confusion prone. Hence I thought ditching the AIR file and badge installation would make it easier for us and for end users. But I really like the concept of the badge installer. I plan to put out a very simple html snippet that anybody can include in their blogs, websites, facebook, linked in, etc. This would help spread Apache Flex better. And the badge installer looks very cool, so why not use it ;-) Thanks, Om