You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/01/17 15:35:10 UTC

[1/6] git commit: [flex-utilities] [refs/heads/develop] - fix up some urls

Updated Branches:
  refs/heads/develop 97312efd1 -> 146334f94


fix up some urls


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/4beb17a3
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/4beb17a3
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/4beb17a3

Branch: refs/heads/develop
Commit: 4beb17a32d1e8479e47231abaffff70c54852fde
Parents: 97312ef
Author: Alex Harui <ah...@apache.org>
Authored: Thu Jan 16 22:10:19 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Jan 16 22:10:19 2014 -0800

----------------------------------------------------------------------
 .../src/installer/sdk-installer-config-4.0.xml  | 27 ++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/4beb17a3/installer/src/installer/sdk-installer-config-4.0.xml
----------------------------------------------------------------------
diff --git a/installer/src/installer/sdk-installer-config-4.0.xml b/installer/src/installer/sdk-installer-config-4.0.xml
index 6e78c5b..260e755 100644
--- a/installer/src/installer/sdk-installer-config-4.0.xml
+++ b/installer/src/installer/sdk-installer-config-4.0.xml
@@ -49,14 +49,24 @@ limitations under the License.
                 <4.9.1 id="4.9.1" path="http://archive.apache.org/dist/flex/4.9.1/binaries/" file="apache-flex-sdk-4.9.1-bin" />
                 <4.10.0 id="4.10.0" path="http://archive.apache.org/dist/flex/4.10.0/binaries/" file="apache-flex-sdk-4.10.0-bin" />
                 <4.11.0 id="4.11.0" path="flex/4.11.0/binaries/" file="apache-flex-sdk-4.11.0-bin" default="true"/>
-                <Nightly id="Nightly" path="https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/" file="apache-flex-sdk-4.11.0-bin" />
+                <Nightly id="Nightly" path="https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/" file="apache-flex-sdk-4.12.0-bin" />
             </versions>
         </ApacheFlexSDK>
         <ApacheFlexJS name="Apache FlexJS" prefix="apache-flex-flexjs-">
             <versions>
-                <Nightly id="FlexJSNightly" path="https://builds.apache.org/job/flex-asjs_release/lastSuccessfulBuild/artifact/out/" file="apache-flex-flexjs-4.0.1-bin" />
+                <Nightly id="FlexJSNightly" path="https://builds.apache.org/job/flex-asjs/lastSuccessfulBuild/artifact/out/" file="apache-flex-flexjs-4.0.1-bin" />
             </versions>
         </ApacheFlexJS>
+        <ApacheFlexFalcon name="Apache Flex Falcon" prefix="apache-flex-falcon-" overlay="true">
+            <versions>
+                <Nightly id="FlexFalconNightly" path="https://builds.apache.org/job/flex-falcon/lastSuccessfulBuild/artifact/out/" file="apache-flex-falcon-0.0.1-bin" />
+            </versions>
+        </ApacheFlexFalcon>
+        <ApacheFlexFalconJX name="Apache Flex FalconJX" prefix="apache-flex-falconjx-" overlay="true">
+            <versions>
+                <Nightly id="FlexFalconJXNightly" path="https://builds.apache.org/job/flex-falcon/lastSuccessfulBuild/artifact/out/" file="apache-flex-falconjx-0.0.1-bin" />
+            </versions>
+        </ApacheFlexFalconJX>
     </products>
     <airsdk>
         <linux>
@@ -117,6 +127,10 @@ limitations under the License.
                     <path id="air.sdk.path.windows.3.9">http://airdownload.adobe.com/air/win/download/3.9/</path>
                     <file id="air.sdk.file.windows.3.9">AdobeAIRSDK.zip</file>
                 </version3.9>
+                <version4.0>
+                    <path id="air.sdk.path.windows.4.0">http://airdownload.adobe.com/air/win/download/4.0/</path>
+                    <file id="air.sdk.file.windows.4.0">AdobeAIRSDK.zip</file>
+                </version4.0>
             </versions>
         </windows>
         <mac>
@@ -169,6 +183,10 @@ limitations under the License.
                     <path id="air.sdk.path.mac.3.9">http://airdownload.adobe.com/air/mac/download/3.9/</path>
                     <file id="air.sdk.file.mac.3.9">AdobeAIRSDK.tbz2</file>
                 </version3.9>
+                <version4.0>
+                    <path id="air.sdk.path.mac.4.0">http://airdownload.adobe.com/air/mac/download/4.0/</path>
+                    <file id="air.sdk.file.mac.4.0">AdobeAIRSDK.tbz2</file>
+                </version4.0>
             </versions>
         </mac>
     </airsdk>
@@ -234,6 +252,11 @@ limitations under the License.
                 <file id="flash.sdk.file.11.9">playerglobal11_9.swc</file>
                 <swfversion id="flash.sdk.swfversion.11.9">22</swfversion>
             </version11.9>
+            <version12.0>
+                <path id="flash.sdk.path.12.0">http://download.macromedia.com/get/flashplayer/updaters/12/</path>
+                <file id="flash.sdk.file.12.0">playerglobal12_0.swc</file>
+                <swfversion id="flash.sdk.swfversion.11.9">23</swfversion>
+            </version12.0>
         </versions>
     </flashsdk>
 


[5/6] git commit: [flex-utilities] [refs/heads/develop] - add target for testing while pulling config file from network

Posted by ah...@apache.org.
add target for testing while pulling config file from network


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/bf3513c9
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/bf3513c9
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/bf3513c9

Branch: refs/heads/develop
Commit: bf3513c9a4724aaeae991b16a517682dc4b904f7
Parents: 6a4142a
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jan 17 06:34:02 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jan 17 06:34:02 2014 -0800

----------------------------------------------------------------------
 installer/build.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bf3513c9/installer/build.xml
----------------------------------------------------------------------
diff --git a/installer/build.xml b/installer/build.xml
index a029109..6ac40fb 100644
--- a/installer/build.xml
+++ b/installer/build.xml
@@ -555,4 +555,13 @@
         </exec>
     </target>
 
+    <target name="debug-for-real" >
+        <copy file="${SOURCE_DIR}/${APP_NAME}-app.xml" todir="${BUILD_DIR}" />
+        <mkdir dir="${BUILD_DIR}/installer" />
+        <exec executable="${AIR_HOME}/bin/${adl}" dir="${BUILD_DIR}" failonerror="true">
+            <arg value="-runtime" />
+            <arg value="${AIR_HOME}/runtimes/air/${runtime}" />
+            <arg value="${BUILD_DIR}/${APP_NAME}-app.xml" />
+        </exec>
+    </target>
 </project>


[6/6] git commit: [flex-utilities] [refs/heads/develop] - handle errors before first custom step is run

Posted by ah...@apache.org.
handle errors before first custom step is run


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/146334f9
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/146334f9
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/146334f9

Branch: refs/heads/develop
Commit: 146334f94e15eaeff27f21393e266dfb55dba489
Parents: bf3513c
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jan 17 06:34:40 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jan 17 06:34:40 2014 -0800

----------------------------------------------------------------------
 installer/src/InstallApacheFlex.mxml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/146334f9/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index d1621fe..f877c89 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -1145,11 +1145,13 @@ variables are not required because the locations of these pieces are known.
         
         private function completeHandler(event:Event):void
         {
-            if (!Ant.currentAnt.project.status)
-                updateActivityStep(stepLabels[currentStep - 1], StepItem.ERROR);
-            else if (currentStep == stepLabels.length)
-                updateActivityStep(stepLabels[currentStep - 1], StepItem.COMPLETE);
-        
+            if (currentStep > 0)
+            {
+                if (!Ant.currentAnt.project.status)
+                    updateActivityStep(stepLabels[currentStep - 1], StepItem.ERROR);
+                else if (currentStep == stepLabels.length)
+                    updateActivityStep(stepLabels[currentStep - 1], StepItem.COMPLETE);
+            }        
             cleanup(!Ant.currentAnt.project.status);
         }
         


[4/6] git commit: [flex-utilities] [refs/heads/develop] - xml tags can't start with a number

Posted by ah...@apache.org.
xml tags can't start with a number


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/6a4142aa
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/6a4142aa
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/6a4142aa

Branch: refs/heads/develop
Commit: 6a4142aad6489469967fd56c5638caa323e50fbe
Parents: 5c3ac82
Author: Alex Harui <ah...@apache.org>
Authored: Thu Jan 16 22:50:29 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Jan 16 22:50:29 2014 -0800

----------------------------------------------------------------------
 installer/src/InstallApacheFlex.mxml                 | 5 ++++-
 installer/src/installer/sdk-installer-config-4.0.xml | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/6a4142aa/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index f6acdbd..d1621fe 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -450,7 +450,10 @@ variables are not required because the locations of these pieces are known.
                 for each (var productVersion:XML in productVersionList) {
                     var shortName:String = productVersion.@file.toString();
                     var fileName:String = shortName + (_os.isWindows() ? Constants.ARCHIVE_EXTENSION_WIN : Constants.ARCHIVE_EXTENSION_MAC);
-                    var label:String = productName + " " + productVersion.name().toString();
+                    versionString = productVersion.name().toString();
+                    if (versionString.charAt(0) == "v")
+                        versionString = versionString.substr(1);
+                    var label:String = productName + " " + versionString;
                     var ver:String = fileName.substr(productPrefix.length).split("-")[0];
                     var path:String = productVersion.@path.toString();
                     if (productVersion["@default"].length() == 1)

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/6a4142aa/installer/src/installer/sdk-installer-config-4.0.xml
----------------------------------------------------------------------
diff --git a/installer/src/installer/sdk-installer-config-4.0.xml b/installer/src/installer/sdk-installer-config-4.0.xml
index 260e755..0e861fd 100644
--- a/installer/src/installer/sdk-installer-config-4.0.xml
+++ b/installer/src/installer/sdk-installer-config-4.0.xml
@@ -46,9 +46,9 @@ limitations under the License.
          - remove the extension from the file name -->
         <ApacheFlexSDK name="Apache Flex SDK" prefix="apache-flex-sdk-">
             <versions>
-                <4.9.1 id="4.9.1" path="http://archive.apache.org/dist/flex/4.9.1/binaries/" file="apache-flex-sdk-4.9.1-bin" />
-                <4.10.0 id="4.10.0" path="http://archive.apache.org/dist/flex/4.10.0/binaries/" file="apache-flex-sdk-4.10.0-bin" />
-                <4.11.0 id="4.11.0" path="flex/4.11.0/binaries/" file="apache-flex-sdk-4.11.0-bin" default="true"/>
+                <v4.9.1 id="4.9.1" path="http://archive.apache.org/dist/flex/4.9.1/binaries/" file="apache-flex-sdk-4.9.1-bin" />
+                <v4.10.0 id="4.10.0" path="http://archive.apache.org/dist/flex/4.10.0/binaries/" file="apache-flex-sdk-4.10.0-bin" />
+                <v4.11.0 id="4.11.0" path="flex/4.11.0/binaries/" file="apache-flex-sdk-4.11.0-bin" default="true"/>
                 <Nightly id="Nightly" path="https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/" file="apache-flex-sdk-4.12.0-bin" />
             </versions>
         </ApacheFlexSDK>


[3/6] git commit: [flex-utilities] [refs/heads/develop] - fix build script to handle loading xml remotely

Posted by ah...@apache.org.
fix build script to handle loading xml remotely


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/5c3ac826
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/5c3ac826
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/5c3ac826

Branch: refs/heads/develop
Commit: 5c3ac82632d7414b32f1125bd01a9f962d1d1c6b
Parents: 796a55a
Author: Alex Harui <ah...@apache.org>
Authored: Thu Jan 16 22:11:28 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Jan 16 22:11:28 2014 -0800

----------------------------------------------------------------------
 installer/build.xml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/5c3ac826/installer/build.xml
----------------------------------------------------------------------
diff --git a/installer/build.xml b/installer/build.xml
index 29665ec..a029109 100644
--- a/installer/build.xml
+++ b/installer/build.xml
@@ -32,7 +32,7 @@
     <property name="kit.prefix" value="apache-flex-sdk-installer-${installer.version}"/>
     <property name="source.kit" value="${kit.prefix}-src"/>
     <property name="binary.kit" value="${kit.prefix}-bin"/>
-    <property name="LOCAL_CONFIG_FILE" value="installer/sdk-installer-config-4.0.xml" />
+    <property name="LOCAL_CONFIG_FILE" value="${basedir}/src/installer/sdk-installer-config-4.0.xml" />
 
     <!--
         Properties are immutable so value frozen first time property is set.
@@ -69,6 +69,11 @@
         <os family="mac"/>
     </condition>
 
+    <condition property="LOCAL_CONFIG_URL" value="file:///${LOCAL_CONFIG_FILE}">
+        <os family="windows"/>
+    </condition>
+    <property name="LOCAL_CONFIG_URL" value="file://${LOCAL_CONFIG_FILE}" />
+    
     <!--
         Properties are immutable so value frozen first time property is set.
         If AIR_HOME is not set on the command line with -DAIR_HOME=/path/to/air/sdk on the
@@ -541,13 +546,12 @@
     <target name="debug" >
         <copy file="${SOURCE_DIR}/${APP_NAME}-app.xml" todir="${BUILD_DIR}" />
         <mkdir dir="${BUILD_DIR}/installer" />
-        <copy file="${SOURCE_DIR}/installer/sdk-installer-config-4.0.xml" todir="${BUILD_DIR}/installer" />
         <exec executable="${AIR_HOME}/bin/${adl}" dir="${BUILD_DIR}" failonerror="true">
             <arg value="-runtime" />
             <arg value="${AIR_HOME}/runtimes/air/${runtime}" />
             <arg value="${BUILD_DIR}/${APP_NAME}-app.xml" />
             <arg value="--" />
-            <arg value="-config=${LOCAL_CONFIG_FILE}" />
+            <arg value="-config=${LOCAL_CONFIG_URL}" />
         </exec>
     </target>
 


[2/6] git commit: [flex-utilities] [refs/heads/develop] - teach installer to do overlays for falcon

Posted by ah...@apache.org.
teach installer to do overlays for falcon


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/796a55a8
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/796a55a8
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/796a55a8

Branch: refs/heads/develop
Commit: 796a55a8631c4ca137f696a6caa75261f6eaebf8
Parents: 4beb17a
Author: Alex Harui <ah...@apache.org>
Authored: Thu Jan 16 22:10:52 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Thu Jan 16 22:10:52 2014 -0800

----------------------------------------------------------------------
 installer/src/InstallApacheFlex.mxml | 101 ++++++++++++++++++++++--------
 1 file changed, 75 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/796a55a8/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index f9065ed..f6acdbd 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -111,7 +111,7 @@ variables are not required because the locations of these pieces are known.
 		 */
 		private var APACHE_FLEX_BIN_DISTRO_PATH:String;
 		private var APACHE_FLEX_BIN_DISTRO_FILE:String;
-        private var APACHE_FLEX_BIN_INSTALLER_FILE:String = "installer-config.xml";
+        private var APACHE_FLEX_BIN_INSTALLER_FILE:String;
 		private var APACHE_FLEX_BIN_DISTRO_FILE_SHORT:String;
 		private var APACHE_FLEX_BIN_DISTRO_URL:String;
         private var APACHE_FLEX_BIN_INSTALLER_URL:String;
@@ -210,7 +210,9 @@ variables are not required because the locations of these pieces are known.
 		private var languageOverride:String;
 		private var configOverride:String = "";
         
+        private var overlaying:Boolean;
         private var usingXML:Object;
+        private var additionalProps:Object = {};
 		private var licensePropertyMap:Object = {};
         private var progressLabels:XML;
         private var installStepsData:XMLList;
@@ -444,6 +446,7 @@ variables are not required because the locations of these pieces are known.
                 var productName:String = productData.@name.toString();
                 var productPrefix:String = productData.@prefix.toString();
                 var productVersionList:XMLList = productData.versions.children();
+                var isOverlay:Boolean = productData.@overlay.toString() == "true";
                 for each (var productVersion:XML in productVersionList) {
                     var shortName:String = productVersion.@file.toString();
                     var fileName:String = shortName + (_os.isWindows() ? Constants.ARCHIVE_EXTENSION_WIN : Constants.ARCHIVE_EXTENSION_MAC);
@@ -452,7 +455,8 @@ variables are not required because the locations of these pieces are known.
                     var path:String = productVersion.@path.toString();
                     if (productVersion["@default"].length() == 1)
                         selectedFlexVersion = FLEX_VERSIONS.length;
-                    FLEX_VERSIONS.addItem({shortName: shortName, fileName:fileName,label:label, version:ver, path:path});
+                    FLEX_VERSIONS.addItem({shortName: shortName, fileName:fileName,label:label, version:ver, 
+                        path:path, overlay: isOverlay, prefix: productPrefix});
                 }
             }
 			
@@ -564,6 +568,8 @@ variables are not required because the locations of these pieces are known.
 			APACHE_FLEX_BIN_DISTRO_FILE = selectedFlexVersionObject.fileName;
 			APACHE_FLEX_BIN_DISTRO_PATH = selectedFlexVersionObject.path;
 			
+            APACHE_FLEX_BIN_INSTALLER_FILE = selectedFlexVersionObject.prefix + "installer-config.xml";
+            
 			// ApacheFlex is full URL so download directly and dont use mirror useful for testing release candidates
 			if (APACHE_FLEX_BIN_DISTRO_PATH.indexOf("http") == 0) {
 				_useMirror = false;
@@ -721,6 +727,11 @@ variables are not required because the locations of these pieces are known.
                     _viewResourceConstants.dispatchEvent(pce);
                 }
             }
+            var props:XMLList = data.properties.property;
+            for each (x in props)
+            {
+                additionalProps[x.@name.toString()] = x.@value.toString();
+            }
             currentState = "directoryState";
         }
         
@@ -886,19 +897,32 @@ variables are not required because the locations of these pieces are known.
 		
 		protected function flexSDKDirSelected(event:Event):void {
 			var selectedDir:File = File(event.target);
-			
-			if (isDirectoryEmpty(selectedDir)) {
-				_flexHome = selectedDir.nativePath;
-				flexSDKTxtInput.text = _flexHome;
-				nextBtn.enabled = true;
-				_langSelect.enabled = true;
-				flexSDKTxtInput.errorString = "";
-				flexSDKTxtInput.prompt = _viewResourceConstants.SELECT_PATH_PROMPT;
-			} else {
-				nextBtn.enabled = false;
-				flexSDKTxtInput.errorString = _viewResourceConstants.ERROR_DIR_NOT_EMPTY;
-				flexSDKTxtInput.prompt = _viewResourceConstants.ERROR_DIR_NOT_EMPTY;
-			}
+			var overlay:Boolean = flexVersion.selectedItem.overlay;
+            overlaying = overlay;
+			if (!overlay)
+            {
+                if (isDirectoryEmpty(selectedDir)) {
+    				_flexHome = selectedDir.nativePath;
+    				flexSDKTxtInput.text = _flexHome;
+    				nextBtn.enabled = true;
+    				_langSelect.enabled = true;
+    				flexSDKTxtInput.errorString = "";
+    				flexSDKTxtInput.prompt = _viewResourceConstants.SELECT_PATH_PROMPT;
+    			} else {
+    				nextBtn.enabled = false;
+    				flexSDKTxtInput.errorString = _viewResourceConstants.ERROR_DIR_NOT_EMPTY;
+    				flexSDKTxtInput.prompt = _viewResourceConstants.ERROR_DIR_NOT_EMPTY;
+    			}
+            }
+            else
+            {
+                _flexHome = selectedDir.nativePath;
+                flexSDKTxtInput.text = _flexHome;
+                nextBtn.enabled = true;
+                _langSelect.enabled = true;
+                flexSDKTxtInput.errorString = "";
+                flexSDKTxtInput.prompt = _viewResourceConstants.SELECT_PATH_PROMPT;                
+            }
 		}
 		
 		protected function handleFlexSDXTxtInputChange(event:TextOperationEvent):void {
@@ -927,8 +951,9 @@ variables are not required because the locations of these pieces are known.
 			updateActivityStep(_viewResourceConstants.STEP_CREATE_DIRECTORIES, StepItem.ACTIVE);
 			
 			try {
-				log(_viewResourceConstants.INFO_CREATING_FLEX_HOME);
-				_flexHomeDir = createFolder(_flexHome);
+                if (!overlaying)
+    				log(_viewResourceConstants.INFO_CREATING_FLEX_HOME);
+                _flexHomeDir = createFolder(_flexHome);
 				log(_viewResourceConstants.INFO_CREATING_TEMP_DIR);
 				_flexTemp = _flexHome + File.separator + "temp";
 				_flexTempDir = createFolder(_flexTemp);
@@ -1019,13 +1044,19 @@ variables are not required because the locations of these pieces are known.
 			updateActivityStep(_viewResourceConstants.STEP_UNZIP_FLEX_SDK, StepItem.COMPLETE);
 			
 			if (_os.isWindows()) {
-				downloadAIRRuntimeKitForWindows();
+                if (usingXML)
+                    runInstallerScript();
+                else
+    				downloadAIRRuntimeKitForWindows();
 			} else {
-				/* Copy all files from the unarchived directory to the root */
-				var directory:File = _flexTempDir.resolvePath(APACHE_FLEX_BIN_DISTRO_FILE_SHORT);
-				var files:Array = directory.getDirectoryListing();
-				for each(var file:File in files) {
-					file.copyTo(_flexHomeDir.resolvePath(file.name));
+                if (!overlaying)
+                {
+    				/* Copy all files from the unarchived directory to the root */
+    				var directory:File = _flexTempDir.resolvePath(APACHE_FLEX_BIN_DISTRO_FILE_SHORT);
+    				var files:Array = directory.getDirectoryListing();
+    				for each(var file:File in files) {
+    					file.copyTo(_flexHomeDir.resolvePath(file.name));
+                    }
 				}
 				if (usingXML)
                 {
@@ -1053,7 +1084,17 @@ variables are not required because the locations of these pieces are known.
             ant = new Ant();
             ant.output = output;
             var file:File;
-            file = _flexHomeDir.resolvePath("installer.xml");
+            if (overlaying)
+            {
+                if (_os.isWindows())
+                    file = _flexTempDir.resolvePath("installer.xml");
+                else {
+                    var directory:File = _flexTempDir.resolvePath(APACHE_FLEX_BIN_DISTRO_FILE_SHORT);
+                    file = directory.resolvePath("installer.xml");
+                }
+            }
+            else
+                file = _flexHomeDir.resolvePath("installer.xml");
             addEventListener(Event.ENTER_FRAME, enterFrameHandler);
             var context:Object = { installer: true };
             if (configOverride != "") {
@@ -1068,6 +1109,9 @@ variables are not required because the locations of these pieces are known.
                 if (InstallerComponentVO(licensePropertyMap[p]).selected)
                     context[p] = true;                    
             }
+            for (p in additionalProps)
+                context[p] = additionalProps[p];
+            
             if (!ant.processXMLFile(file, context, true))
             {
                 ant.addEventListener(Event.COMPLETE, completeHandler);
@@ -1827,7 +1871,8 @@ variables are not required because the locations of these pieces are known.
 		private function createFolder(path:String):File {
 			var dir:File = new File(path);
 			
-			dir.createDirectory();
+            if (!dir.exists)
+    			dir.createDirectory();
 			
 			return dir;
 		}
@@ -1911,7 +1956,11 @@ variables are not required because the locations of these pieces are known.
 		private function onFileLoaded(e:ZipEvent):void {
 			try {
 				var fzf:ZipFile = e.file;
-				var f:File = _flexHomeDir.resolvePath(fzf.filename);
+				var f:File;
+                if (overlaying)
+                    f = _flexTempDir.resolvePath(fzf.filename);
+                else
+                    f = _flexHomeDir.resolvePath(fzf.filename);
 				var fs:FileStream = new FileStream();
 				
 				if (isDirectory(fzf)) {