@@ -1992,12 +1992,17 @@ sub update_script {
 		exit 1;
 	} 
 
 	# If the get_iplayer script is unwritable then quit - makes it harder for deb/rpm installed scripts to be overwritten
 	if ( ! -w $script_file ) {
-		logger "ERROR: $script_file is not writable - aborting update (maybe a package manager was used to install get_iplayer?)\n";
-		exit 1;
+		
+		# Add .pl extension and check again to handle the Windows version of the script
+		$script_file = $script_file . ".pl";
+		if ( ! -w $script_file ) {
+			logger "ERROR: $script_file is not writable - aborting update (maybe a package manager was used to install get_iplayer?)\n";
+			exit 1;
+		}
 	}
 
 	# Force update if no plugins dir
 	if ( ! -d "$profile_dir/plugins" ) {
 		mkpath "$profile_dir/plugins";
