Index: hotfix.php
===================================================================
--- hotfix.php	(revision 639537)
+++ hotfix.php	(working copy)
@@ -35,7 +35,7 @@
 
 	switch ( $wp_version ) {
 		case '3.5' :
-			$hotfixes = array( '350_twentytwelve' );
+			$hotfixes = array( '350_twentytwelve', '350_iis_http_failure' );
 			break;
 		case '3.4.2' :
 			$hotfixes = array( '342_custom_fields' );
@@ -217,3 +217,34 @@
 	return wp_remote_post( $url, $args );
 }
 
+function wp_hotfix_350_iis_http_failure() {
+	add_action( 'pre_http_request', 'wp_hotfix_350_iis_http_failure_pre_http_request', 10, 3 );
+}
+
+function wp_hotfix_350_iis_http_failure_pre_http_request( $return, $args, $url ) {
+	if ( ! $args['stream'] )
+		return $return;
+	if ( $args['filename'] && @is_writable( dirname( $args['filename'] ) ) )
+		return $return;
+
+	$filename = $args['filename'] ? basename( $args['filename'] ) : basename( $url );
+
+	$temp_dir = wp_hotfix_350_iis_http_failure_get_temp_dir();
+	if ( ! $temp_dir )
+		return new WP_Error( 'http_request_failed', __( 'Destination directory for file streaming does not exist or is not writable.' ) ); // Core string
+
+	$args['filename'] = $temp_dir . $filename;
+
+	return wp_remote_request( $url, $args );
+}
+
+function wp_hotfix_350_iis_http_failure_get_temp_dir() {
+	$temp = ini_get('upload_tmp_dir');
+	if ( is_dir( $temp ) && @is_writable( $temp ) )
+		return trailingslashit( rtrim( $temp, '\\' ) );
+
+	$temp = WP_CONTENT_DIR . '/';
+	if ( is_dir( $temp ) && @is_writable( $temp ) )
+		return $temp;
+	return false;
+}
\ No newline at end of file
Index: readme.txt
===================================================================
--- readme.txt	(revision 639537)
+++ readme.txt	(working copy)
@@ -15,6 +15,7 @@
 
 * **WordPress 3.5**
 	* Lets you update Twenty Twelve if it is shown as "broken" after installing 3.5
+	* Lets you update WordPress, or, install/update Themes, and Plugins on IIS7 under certain conditions
 
 * **WordPress 3.4.2**
 	* Fix adding and updating Custom Fields
@@ -34,6 +35,9 @@
 Read the "Complete Hotfix List" section in the description. A later version of the plugin may list the hotfixes in a special WordPress admin page.
 
 == Changelog ==
+= 1.1 =
+* Lets you update WordPress, or, install/update Themes, and Plugins on IIS7 under certain conditions
+
 = 1.0 =
 * Lets you update Twenty Twelve if it is shown as "broken" after installing 3.5
 
@@ -93,6 +97,7 @@
 == Complete Hotfix List ==
 * **WordPress 3.5**
 	* Lets you update Twenty Twelve if it is shown as "broken" after installing 3.5
+	* Lets you update WordPress, or, install/update Themes, and Plugins on IIS7 under certain conditions
 
 * **WordPress 3.4.2**
 	* Fix adding and updating Custom Fields
