Hi, I am wondering what is the best/right way to prevent Wine from auto-mapping drives? I am aware of the tab in winecfg where drive mappings can be set up; however, it seems to keep getting overridden, which I don't want. I would like to be in control of which drives get mapped and which don't.
I saw that this question was asked a couple of years ago here, but the thread was locked with no replies.
Thanks in advance!
How can I prevent Wine from auto-mapping drives?
-
- Level 4
- Posts: 144
- Joined: Mon Jun 02, 2008 5:03 pm
Re: How can I prevent Wine from auto-mapping drives?
Build wine yourself and pass --without-dbus to configure.
Re: How can I prevent Wine from auto-mapping drives?
In theory you could disable mountmgr.sys, or that may be a bad idea. At least when I did winecfg yelled at me about it. Haven't tested further, ymmv.
-
- Level 4
- Posts: 144
- Joined: Mon Jun 02, 2008 5:03 pm
Re: How can I prevent Wine from auto-mapping drives?
It might break things. Mountmgr is responsible for serving some drive information queries from applications, and if you disable it those will fail.
-
- Level 4
- Posts: 144
- Joined: Mon Jun 02, 2008 5:03 pm
Re: How can I prevent Wine from auto-mapping drives?
I think it also breaks winecfg's drive querying/editing.
Re: How can I prevent Wine from auto-mapping drives?
Hi, thanks for your reply and advice! It sounds like the custom build is the way to go - I will give that a try.madewokherd wrote: ↑Sat Jul 31, 2021 3:03 pm Build wine yourself and pass --without-dbus to configure.