Using WINE to install device drivers for Windows XP

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
novice
Newbie
Newbie
Posts: 2
Joined: Sun Sep 05, 2010 12:45 am

Using WINE to install device drivers for Windows XP

Post by novice »

23 Sep 2010

I have a dual boot using two separate hard disks. Win XP is installed on sda and Ubuntu 10.04 on sdb. I have installed WINE on sdb.

Can I use WINE to install a device driver for Win XP from sdb without starting Win XP?

When I try to start WinXP it gives a message about the lack of a suitable device driver for my NVIDIA video card then stops booting. I want to install a new driver and see if Win XP will accept it.


-Novice
phatgeek
Level 1
Level 1
Posts: 5
Joined: Sat Sep 18, 2010 12:55 pm

Post by phatgeek »

No. That won't work. At least it would not be straight forward at all. The reason is that installing drivers alters the registry hives loaded in memory (when done from Windows), and the Windows registry and the Wine registry are formatted differently. If not for this, I think it technically could be possible if you configured your wine directories to clobber your windows directories. Still this would be a very bad and dangerous idea.

The short answer, again, no.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Using WINE to install device drivers for Windows XP

Post by dimesio »

novice wrote: I have a dual boot using two separate hard disks. Win XP is installed on sda and Ubuntu 10.04 on sdb. I have installed WINE on sdb.

Can I use WINE to install a device driver for Win XP from sdb without starting Win XP?
Installers for hardware drivers usually crash in Wine, but even if they didn't, allowing Wine to write to a real Windows registry would render Windows inoperable. Wine stores its registry as a plain text file; Windows doesn't.

http://wiki.winehq.org/FAQ#head-497f1a2 ... 2c7767afa2
novice
Newbie
Newbie
Posts: 2
Joined: Sun Sep 05, 2010 12:45 am

Post by novice »

phatgeek and dimesio,

Thanks for your replies. They were very helpful.

- Novice
Locked