If you haven’t gotten around to trying out VirtualBox 3 yet, you should. I finally made some time to install the Windows 7 RC inside of it, and I’m stunned. It’s a much better experience than Virtual PC or VMWare and it’s totally free. Whod’ve thought that Sun would release something so useful for free? I didn’t even have to install Java.
After a little fiddling, I even managed to get hardware Direct3D and OpenGL working inside of Windows 7. Here’s a short clip of me fiddling with a hardware-accelerated Windows 7 game, and Paint, on top of my Windows XP desktop (thanks to VirtualBox’s neat ‘Seamless’ mode, which appears to be similar to VMWare’s Fusion feature.)
A quick how-to guide if you’re interested in trying out the setup in the video:
- Install VirtualBox 3
- Create a virtual machine configured for Windows 7. Enable all the shiny goodies, like hardware 3D.
- Install Windows 7, preferably using the downloadable Windows 7 RC ISO. You can grab it from Microsoft’s site and set the ISO as your CD/DVD-ROM drive in the VirtualBox settings.
- Once Windows 7 is installed, install the VirtualBox Guest Additions. This enables pointer integration and makes graphics work better, along with enabling Seamless mode.
- Download the WineD3D installer onto your Windows 7 virtual machine, preferably the desktop. You should be able to just use IE to do it inside win7, if you turned on NAT when installing VirtualBox and configuring your virtual machine.
- Boot Windows 7 into safe mode (you may need to spam the F5/F8 keys when the virtual machine is booting to get the safe mode menu).
- Open Windows Explorer as Administrator (Start menu, accessories, Windows Explorer, right click it and pick Run as Administrator)
- Navigate to C:\Windows\System32
- Right click the downloaded WineD3D installer, and select Run as Administrator.
- Continue with the WineD3D install process. Each time you get an ‘unable to write to file foo.dll’ error message:
- Go to that Explorer window and find the respective file (like d3d8.dll)
- Right click the file and select Properties
- Click over to the Security tab and click the Edit button
- Grant ‘Full Control’ to the Administrators group.
- After following those steps, you can click Retry on the error message and the install will continue to the next file.
- After changing permissions to a few DirectX files, the install will complete. Reboot your virtual machine into normal mode and you should now have hardware 3D in both Direct3D and OpenGL apps inside your Windows 7 virtual machine.


#1 by Tabor on July 21, 2009 - 5:22 pm
Quote
I just installed Virtual Box on a MacBook Pro today and I am running Windows XP and XUbuntu on it. What is the purpose of installing WineD3D?
#2 by Kael on July 22, 2009 - 11:22 pm
Quote
WineD3D allows you to run hardware-accelerated Direct3D applications inside the emulated OS, like games and 3D modeling tools. It’s not perfect, but it’s pretty good.
#3 by Marcel on May 17, 2010 - 4:40 pm
Quote
Just for those, who might get stuck with it. If you cannot change permissions to full (greyed out) you have to switch the owner via the advnaced settings button.
#4 by Your name (required)xxx on July 12, 2010 - 8:57 pm
Quote
In x64 win 7 something went wrong… some programs (like dxdiag) just throw me “Error: could not load BLAHBLAH.dll” … and I noticed that wined3d did not place its .dll files into system32 like its output