Disable Mono installing dialogue.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Disable Mono installing dialogue.

Post by etwineb » Wed Jul 25, 2012 3:41 am

An env variable can be used to disable the gecko dialogue:

Code: Select all

export WINEDLLOVERRIDES="mshtml="
Is there a similar way to disable the mono dialogue?

Thanks

doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Disable Mono installing dialogue.

Post by doh123 » Wed Jul 25, 2012 8:26 am

Sadly I haven't found one

User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Disable Mono installing dialogue.

Post by DanKegel » Wed Jul 25, 2012 9:37 pm

Run
wget https://winetricks.googlecode.com/svn/t ... l-gecko.sh
sh install-gecko.sh
That will prevent all future gecko and mono prompts.

doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Disable Mono installing dialogue.

Post by doh123 » Wed Jul 25, 2012 10:22 pm

DanKegel wrote:Run
wget https://winetricks.googlecode.com/svn/t ... l-gecko.sh
sh install-gecko.sh
That will prevent all future gecko and mono prompts.
preventing prompts and installing mono is NOT the same thing.

I mean really.. wasting hundreds of mb of space in a wineprefix that you may not even need mono in? YOu end up having like 10 wineprefixes and say 1 uses mono, but you want to waste a GB or more of space?

User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Disable Mono installing dialogue.

Post by DanKegel » Thu Jul 26, 2012 12:47 am

It's good enough for many users.

It would be nice, though, if there was a better way. If Wine supported an
alternate install mechanism that allowed symlinking to pre-unpacked
packages, that would be a total win. Feel free to submit a patch implementing this method.

etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Disable Mono installing dialogue.

Post by etwineb » Thu Jul 26, 2012 2:07 am

Probably my request was unclear.
Is there a way to disable the installing Mono prompt in the sense that wineprefix is generated WITHOUT mono, just like when you click the ``cancel'' button.

User avatar
dimesio
Moderator
Moderator
Posts: 12819
Joined: Tue Mar 25, 2008 10:30 pm

Re: Disable Mono installing dialogue.

Post by dimesio » Thu Jul 26, 2012 9:06 am

Try

Code: Select all

export WINEDLLOVERRIDES="mscoree="

etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Disable Mono installing dialogue.

Post by etwineb » Thu Jul 26, 2012 9:21 am

Thanks, creating the wineprefix with

Code: Select all

WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -u
works fine.

I was sure there was an easy way and no need of patching wine.

User avatar
dimesio
Moderator
Moderator
Posts: 12819
Joined: Tue Mar 25, 2008 10:30 pm

Re: Disable Mono installing dialogue.

Post by dimesio » Thu Jul 26, 2012 9:23 am

Just be aware that the wineprefix you are creating that way is by definition broken. If you have any problems, you are on your own.

User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Disable Mono installing dialogue.

Post by DanKegel » Thu Jul 26, 2012 12:58 pm

Yeah. I used to use that technique in winetricks, but had to stop because the
resulting wineprefix could not later re-enable gecko.

doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Disable Mono installing dialogue.

Post by doh123 » Thu Jul 26, 2012 5:24 pm

DanKegel wrote:Yeah. I used to use that technique in winetricks, but had to stop because the
resulting wineprefix could not later re-enable gecko.
really? I create them with things disable like that, but If I run a normal wineboot on the same prefix again with them enabled, it prompts again, or installs them if I have the files in the right place, and runs fine. I'm not sure why it would disable gecko permanently, unless it was adding that setting in the registry.

User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Disable Mono installing dialogue.

Post by DanKegel » Thu Jul 26, 2012 5:53 pm

I don't recall, but it was serious burnage, and I'm gunshy about trying it again.

Locked