Error 1304. Error writing to file: Microsoft.VisualStudio.Editors.dll
Operating System: Windows XP Media Center SP2
Trying to install Visual Studio 2005 and it fails at the point where Document Explorer tries to get install
Log Says:
MSI (s) (20:E4) [14:44:06:031]: Assembly Error:Version %d.%d is not a compatible version.
MSI (s) (20:E4) [14:44:06:031]: Note: 1: 1935 2: 3: 0x80131107 4: IStream 5: Commit 6:
MSI (s) (20:A8) [14:44:06:031]: Note: 1: 1304 2: microsoft.visualstudio.commonide.dll
MSI (s) (20:A8) [14:44:06:046]: Product: Microsoft Document Explorer 2005 -- Error 1304.Error writing to file: microsoft.visualstudio.commonide.dll. Verify that you have access to that directory.
Error 1304.Error writing to file: microsoft.visualstudio.commonide.dll. Verify that you have access to that directory.
MSI (s) (20:A8) [14:44:06:046]: User policy value 'DisableRollback' is 0
MSI (s) (20:A8) [14:44:06:046]: Machine policy value 'DisableRollback' is 0
Action ended 14:44:06: InstallFinalize. Return value 3.
Tried the Below Steps it did not worked
== Clean the GAC_MSIL and GAC_32 folder again
== Clean the NativeImage*2.0* folder inside %windir%\assembly
== Reboot the machine
== Use regedit to search for "Microsoft.VisualStudio.Editors" and rename any key you found
== Browse for the file dotnetfx.exe (in \wcu\dotnetframework) and double click the file to choose repair
== Run VS setup again
THE ISSUE GOT RESOLVED BY FOLLOWING THE BELOW STEPS
== Remove Framework 2.0 from Add/Remove
== Used the Framework cleanup Tool to remove Framework 2.0
== Found few entries of Visual Studio in Assembly GAC
== Most of them was not registered
== It was not giving the option for uninstall
== Tried manually deleting the entries
== That also did not help
== Hence decided to rename the Assembly folder
== This worked
The issue was with the Assembly as per the the MSI Log
MSI (s) (20:E4) [14:44:06:031]: Assembly Error:Version %d.%d is not a compatible version
== So once the Assembly was renamed the Visual Studio 2005 installation went successfully