Freigeben über


Install VS 2010 Beta 2 on a dual boot Macbook Pro

For a developer, last week's big event was more the availability of VS 2010 beta 2 than Windows 7, which have been installed on my laptop for already several months. So I downloaded the iso from msdn web site and tried to intall it.... without success ! Here is the message I got :

 [10/28/09,07:10:49] Microsoft .NET Framework 4 Beta 2: [2] Error code 5 for this component means "Access is denied."
[10/28/09,07:10:49] Microsoft .NET Framework 4 Beta 2: [2] Component Microsoft .NET Framework 4 Beta 2 returned an unexpected value.
[10/28/09,07:10:49] Microsoft .NET Framework 4 Beta 2: [2] Return from system messaging: Access is denied.

After a few cleanup, I tried again to get the same error and investigated a bit more in my temp folder and found this dd_dotnetfx40_Full_X86_x64_Decompression_log.txt file :

 [10/28/2009, 7:10:49] === Logging started: 2009/10/28 07:10:49 ===
[10/28/2009, 7:10:49] Executable: f:\vs2010_beta2\setup\..\wcu\dotnetframework\dotNetFx40_Full_x86_x64.exe v4.0.21006.1
[10/28/2009, 7:10:49] --- logging level: standard ---
[10/28/2009, 7:10:49] Successfully bound to the ClusApi.dll
[10/28/2009, 7:10:49] Error 0x80070424: Failed to open the current cluster
[10/28/2009, 7:10:49] Cluster drive map: ''
[10/28/2009, 7:10:49] Considering drive: 'C:\'...
[10/28/2009, 7:10:49] Considering drive: 'D:\'...
[10/28/2009, 7:10:49] Drive 'D:\' is rejected because of the unknown or unsuitable drive type
[10/28/2009, 7:10:49] Considering drive: 'E:\'...
[10/28/2009, 7:10:49] Considering drive: 'F:\'...
[10/28/2009, 7:10:49] Considering drive: 'R:\'...
[10/28/2009, 7:10:49] Drive 'R:\' is rejected because of the unknown or unsuitable drive type
[10/28/2009, 7:10:49] Drive 'E:\' has been selected as the largest fixed drive
[10/28/2009, 7:10:49] Error 0x80070005: Failed to create the directory to extract to.
[10/28/2009, 7:10:49] Error 0x80070005: Failed to select and/or prepare the directory for extraction
[10/28/2009, 7:10:49] Exiting with result code: 0x80070005
[10/28/2009, 7:10:49] === Logging stopped: 2009/10/28 07:10:49 ===

Cool ! Here is the explanation : my 320 GB drive is partitioned with 220 GB for Windows 7 and 100 for Mac OS X, but as I am almost exclusively using the Windows partition, the other one has more free space : that's the reason it has been selected by .NET 4 installer, even if it is a READ ONLY partition...

Once the problem is correctly understood, the solution is simple : go to computer management and remove the drive letter associated to the Mac OS X partition, and the launch the installer again => now, the Windows 7 partition is selected and the installation runs smoothly (well, it failed again because I already had Silverlight 3.0 tools for VS 2008 installed but this was easier to correct).

Now it is time to play with VS 2010 ;-)

Comments

  • Anonymous
    October 29, 2009
    You saved me a lot of time searching of solution.Realy thanks!
  • Anonymous
    November 05, 2009
    The comment has been removed
  • Anonymous
    November 05, 2009
    Cool, I am glad this post helped at least both of you !