On 5/2/14 7:26 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:
>The Flex JS and Flex 4.12 SDK error rate > 50% on windows with the new >installer btw, with mac it's 15% (still rather high in my option). It >would be nice if we could improve that. (For FlexJS it's 117 failures/98 >success on windows, for 4.12.0 47 failures/46 success on windows.) Once >the new installer is out if the rate holds we be getting 100+ failures a >day and we're still not 100% sure what the issue is on windows - >permissions and/or AIR using IE (and not default browser) to download are >possible candidates. I was going to start a new thread after the Installer was truly out the door, but since you've already started. . . For me, I don't have to do anything special on Windows to run the installer, probably because I have admin rights. Assuming folks don't have admin rights and need them, what changes should we make to the installer to handle this? We don't know the destination folder until screen 2. Could we do a quick write test at that point? One user reported error #2032 which is a stream error. I was unable to reproduce it without disabling my network connection, but I'm already using IE11 which doesn't have an offline mode. I'm wondering if it can simply be caused by some glitch in the connection. We've already seen a couple of bad downloads as well. I'm wondering if we'd have better success if we put copies of the sdk-installer-config-4.0.xml file in other places and build in some redundancy. If the installer gets a #2032 trying to get the xml file from flex.a.o, it will try a set of other places. One such place could actually be the mirrors. I wonder if the total time to get the file off the mirror would be better than getting it from flex.a.o for folks far away from the US. Another option is to put the file on a CDN. At minimum, I think we want to try to add a param to the tracking URL about what stage the installer was at when it failed? Timing-wise, the FlexJS 0.0.2 install script now tries to download the Flex and Falcon dependencies from the mirrors (assuming you've specified the latest versions). However, I had to fix a bug in the ant_on_air code to get that to work, so we'll need to roll an Installer 3.0.1 with FlexJS 0.0.2 which I'd like to get out "soon" after we explore enhancements to the tool chain for producing Cordova apps and apps that wrap other frameworks. FlexJS 0.0.1 also had a Windows bug in the cross-compile batch scripts that everyone on Windows is hitting, so there is a bit of a rush to get that out of people's way. Anything else we should add to the installer? -Alex