Search

.NET 4 will not install in some Boot Camp/Snow Leopard scenarios. by _akidan

Closed
as Fixed Help for as Fixed

2
Sign in to vote
1
Sign in to vote
Sign in
to vote
Type: Bug
ID: 499120
Opened: 10/21/2009 8:13:16 AM
Access Restriction: Public
1
Workaround(s)
2
User(s) can reproduce this bug
When running Windows through Boot Camp on Snow Leopard, the disk is traditionally split into two partitions: one for Windows, and one for Mac OS. New in Snow Leopard, when running Windows, the Mac OS partition is made available as a read-only drive.

When installing .NET 4, it appears that the installer attempts to create temporary files on the fixed disk with the most available free space.

However, if this disk is the Mac OS partition, this step fails with an error because the disk is actually read-only, and .NET 4 will not install. (I forget the exact error, but it is something like "The installer was not able to copy some of its files to a temporary directory. Please make sure you have permissions to the directory.")

I was able to verify this was actually the issue by watching the installer with Process Monitor, and noticing it was attempting to create folders on the read-only Mac OS partition. By using diskpart to temporarily remove the mount point for the Mac OS partition, .NET 4 installed successfully without errors.
Details (expand)

Product Language

English

Version

.NET Framework 4 Beta 2

Operating System

Windows 7

Operating System Language

English

Steps to Reproduce

1) Use a Macintosh computer that is set up in a Boot Camp scenario.
2) Ensure the Mac OS partition has more free space available than the Windows partition.
3) Boot into Windows.
4) Attempt to install either .NET 4 Beta 2, or Visual Studio 2010 Beta 2.

Actual Results

The installer fails very quickly with an error message.

Expected Results

The .NET Framework 4 installs successfully.
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 10/22/2009 at 3:25 AM
Thank you for your feedback, We are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by Microsoft on 10/23/2009 at 12:42 AM

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you
Posted by Microsoft on 10/26/2009 at 11:14 AM
Sorry you're hitting this problem. It's been fixed in the RTM version of .NET 4.0 Setup. Unfortunately, the only work-around is to either reduce the free space on the Mac drive, or somehow take it out of view during .NET setup (uncable it or disable in BIOS)
Posted by Microsoft on 10/26/2009 at 11:17 AM
Thanks you for the feedback. This problem has been fixed in .NET 4.0 RTM; however, unfortunately there is no work around in Beta. Try disabling the MAC partition either through BIOS or via Control Panel.

.NET Setup Product Team
Posted by _akidan on 10/26/2009 at 11:27 AM
No problem - that's why it's called beta! :)

Thanks for fixing it for RTM!