Mono does not appear to be installed winetricks ошибка

I’m trying to install dotnet4.5 using winetricks on Ubuntu12.04 64bit. It keeps on giving me «Mono does not appear to be installed » error though i have mono installed . I ran these two commands to get mono and mono-complete

sudo apt-get install mono

sudo apt-get install mono-complete

wine version i am using is Wine 1.6. I have already Tried reinstalling wine . Its not just dotnet4.5 but all the versions of dotnet give me the same error .

asked Jul 4, 2015 at 0:47

Cyber Wolf's user avatar

http://dl.winehq.org/wine/wine-mono

d/l the latest version and place the .msi into /usr/share/wine/mono

then continue with installation of dotnet45

answered Dec 13, 2016 at 13:32

Demon's user avatar

DemonDemon

8181 gold badge10 silver badges11 bronze badges

Do the below to install wine-mono.

  1. Download wine-mono.msi from the official winehq site.
  2. Type wine64 uninstaller.
  3. Press install from the uninstaller GUI and select the downloaded .msi package.
  4. Done!

frogatto's user avatar

frogatto

9041 gold badge11 silver badges32 bronze badges

answered Jan 4, 2018 at 12:18

PSN's user avatar

PSNPSN

88610 silver badges5 bronze badges

I believe that you don’t need Mono. The WineHQ wiki page for Mono says:

The Mono package should always be removed before installing native
.NET. This can be done with the following command-line:

$ wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'

That page also explains the installation of Mono for Wine.

Eliah Kagan's user avatar

Eliah Kagan

116k54 gold badges315 silver badges489 bronze badges

answered Sep 16, 2017 at 12:13

Joseph VanPelt's user avatar

В общем, используя winetricks понавыдавал мне кучу ошибок:

1) Вы используете 64-битный WINEPREFIX. Важно: многие ветки устанавливают только 32-битные версии пакетов. Если у вас возникли проблемы, пожалуйста, проверьте еще раз на чистом 32-битном WINEPREFIX до отправки отчета об ошибке.
2) Данный пакет может работать не полностью в 64-битном окружении. 32-битные префиксы могут работать лучше.
3) dotnet40 does not yet fully work or install on wine. Caveat emptor.

При этом ещё и моно не установлен. Что это, я не знаю, но на сайте winehq их 150 штук, Мне их все установить?

В терминале выдаёт:

1) warning: Вы используете 64-битный WINEPREFIX. Важно: многие ветки устанавливают только 32-битные версии пакетов. Если у вас возникли проблемы, пожалуйста, проверьте еще раз на чистом 32-битном WINEPREFIX до отправки отчета об ошибке.
2) warning: Данный пакет может работать не полностью в 64-битном окружении. 32-битные префиксы могут работать лучше.

При этом

в терминале применялось.
После этого всего начинается установка net framework начиная с 4.0. Но я во избежании дальнейших проблем её отменяю.
Использую стабильную версию wine-6.0.2.

Надо, чтобы заработала небольшая программа, которая имеется только для винды.

Помогите пожалуйста разобраться.

I just checked my installation of 13.04, and Mono is not installed.

To install Mono, this will install Mono Run-time, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install mono-runtime

If mono Develop is what you’re after, then

sudo apt-get install monodevelop

Mono focuses on compilers and run-time libraries and does not directly provide an IDE. MonoDevelop is a cross platform IDE mostly aimed at Mono/.NET developers. For more info see MonoDevelop, and Mono

First things first, note this very noticeable warning:

------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a
clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------

This indicates you need to create a 32bit Wineprefix, as Wine works better with 32bit stuff — this can be done simply by running telling wine what architecture to use before running its commands (this can I think can also be done by uninstalling Wine x86_64 and installing Wine i386/i686 — anyway, keep the terminal open for the other wine commands after running this):

export WINEARCH="win32"

This sets the environment variables wine reads before it launches (see man wine).

It would also be a good idea to get it to create it’s own WINEPREFIX (where the Wine virtual drive is stored). By default this is ~/.wine, but you can create individual ones for each architecture & program — so to create a WINEPREFIX in directory /home/USERNAME/.wine-PROGRAM-NAME/:

export WINEPREFIX=~/.wine-PROGRAM-NAME/

The directory doesn’t have to exist (ideally it shouldn’t exist so stuff doesn’t have to be overwritten), but the parent directories probably should — you should also have permission to read & write to it, and I don’t think the wineprefix can be on a FAT/NTFS drive for technical reasons (it won’t work).

So to setup a 32bit wine prefix for a program:

export WINEARCH="win32"
export WINEPREFIX=~/.wine-PROGRAM-NAME/
wineboot -u

You can replace PROGRAM-NAME with the name of the program to make it easier to identify the program later. Just make sure it only includes the letter and numbers as punctuation often has a special function in various command shells.

You should then get a window like this:

the wineprefix is being updated....

Then you are ready to go. Now you can install NET 4.0 using winetricks (you might want to get the latest version from here first):

winetricks dotnet40

This should be in the terminal after the export WINEPREFIX=... command, or by placing it just before the wine command as so (useful for app launchers that one command line):

env WINEPREFIX=~/.wine-PROGRAM-NAME/" winetricks dotnet40

You may also want to use winetricks to install some other stuff it might need — e.g. fonts (using the options corefonts,lucida,tahoma). To list winetricks’ options, use winetricks list-all.

You can then install the program using wine "~/Downloads/PATH/TO/INSTALLER.exe". Yet again (copy the file, then ‘Paste Filenames’ into terminal, so it looks like '/home/wilf/Desktop/name spaces/installer.exe' not file:///home/wilf/Desktop/name spaces/installer.exe').

You should make sure the WINEPREFIX has been exported before running this command (especially if you closed the terminal), or in the same line. After getting it to work (or not work) you might want to do a report on how well it works here (including what you did etc so you can help other people). If you have issues, and noticeable errors appear in the output you can report a bug.

Once installed, it should make the launcher of the app appear on the Dash/Menu and sometimes on the Desktop. Otherwise in future to run the app you may need to run the app with the export WINEPREFIX=... and wine .... (or env WINEPREFIX=... wine .....) again, unless you create a launcher (comment below or somewhere if you need to know how to do so….)


More info, troubleshooting etc

How do I install winetricks?

You can a version from the Ubuntu repositories using this command (or installing Winetricks from the Software Center):

sudo apt-get install winetricks

You can then use winetricks OPTIONS to do stuff.

For the latest version, you can use these commands to download and use the latest version:

wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks 

Note you will have to run it as ./winetricks <OPTIONS>, unless it’s directory is in the shell’s $PATH.

I don’t want to use terminal, what can I do?

The app you want to use may be runnable under PlayOnLinux (it should be if you can find it here) — this is pretty much all GUI and automatically does most of the steps for you.

Otherwise, you can use the terminal to do it very easily (you usually have much more control than if a GUI program is doing it), just be careful what you put in (especially if it includes the commands sudo, rm, etc). Try to understand what is going on with each command first.

Also, some of these steps can be done in other ways — both winecfg and winetricks open GUIs through which you can do some steps, but again what you can do is limited.

How do I install the latest Wine version?

The newer wine versions are more up to date, so may be able to run the program better (unless there is a regression which impacts it). To install the current latest version (Wine1.7) you can use the offical Wine PPA:

sudo apt-add-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7

If it can’t find the package wine1.7, try running the install command again but with wine instead of wine1.7

For installing and configuring Wine generally, you can also try this question.

The program I want to use is designed for a newer version of Windows, what can I do?

Wine by default replicates Windows XP, which some programs don’t support as it is EOL (which I supposes in handy as you probably can run programs for WinXP under Wine under Linux, and you can ‘nuke WinXP from orbit’ :)

Anyway, first open up the Wine configuration window:

export WINEPREFIX=~/.wine-PROGRAM-NAME/
winecfg

Where ~/.wine-PROGRAM-NAME/ is the WINEPREFIX you created earlier.

And select the Windows version to replicate at the bottom of the ‘Applications’ tab. Then try installing the app again.

WINDOWS VIRUSES UNDER WINE?!?!

Quite possibly. Don’t install random software of the internet, try to ensure it is from a trusted site.

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Comments

@Adrellisartar

Hello. Did some searching online, and before you moved to Github, this was a problem..that was solved. However, I see to have the problem again.

Using Wine 1.7.50 and Winetricks 205-08-26, by using wget on the Github’s link, I cannot get .NET 3.0 to install.

I am trying to install .NET 4.5, so I do that directly. 2.0 installs, then tries 3.0. It fails and says:
Note: command ‘wine dotnetfx3.exe’ returned status 67. Aborting.

Well, searching for this, it was fixed!…years ago. But I have it today. Using that Wine and Winetricks.

Steps:
Add the PPA for Wine into the terminal
Download Wine 1.7.50 by «sudo apt-get install wine1.7». Update and upgrade
wget on the link on the Github to get winetricks
«chmod +x winetricks»
«export WINEARCH=win32»
«./winetricks»
«./winetricks corefonts vcrun6 dotnet45»

Those are my steps. Not used Wine before, but the «solution» dead ends with a past version. And, trying to manually install 3.0 after 2.0, gives the same error. Placing 2.0 SP 1 in between, gives:
«error: dotnet30 conflicts with dotnet20sp1, which is already installed.»

I am at a loss. Sorry this is more like a forum post.

@austin987

On Oct 23, 2015 1:07 AM, «Adrellisartar» notifications@github.com wrote:

Hello. Did some searching online, and before you moved to Github, this
was a problem..that was solved. However, I see to have the problem again.

Using Wine 1.7.50 and Winetricks 205-08-26, by using wget on the Github’s
link, I cannot get .NET 3.0 to install.

I am trying to install .NET 4.5, so I do that directly. 2.0 installs,
then tries 3.0. It fails and says:
Note: command ‘wine dotnetfx3.exe’ returned status 67. Aborting.

Well, searching for this, it was fixed!…years ago. But I have it today.
Using that Wine and Winetricks.

Steps:
Add the PPA for Wine into the terminal
Download Wine 1.7.50 by «sudo apt-get install wine1.7». Update and upgrade
wget on the link on the Github to get winetricks
«chmod +x winetricks»
«export WINEARCH=win32»
«./winetricks»
«./winetricks corefonts vcrun6 dotnet45»

Those are my steps. Not used Wine before, but the «solution» dead ends
with a past version. And, trying to manually install 3.0 after 2.0, gives
the same error. Placing 2.0 SP 1 in between, gives:
«error: dotnet30 conflicts with dotnet20sp1, which is already installed.»

I am at a loss. Sorry this is more like a forum post.


Reply to this email directly or view it on GitHub.

Please post the terminal output with a clean prefix.

@Gunstick

Same problem, even dotnet20 does not install.

$ env|grep WINE
$ 
$ rm -rf ~/.wine
$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:windowsTemp_dotnet20set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround
Current wine does not have wine bug 30845, so not applying workaround
------------------------------------------------------
Working around wine bug 30845 -- Using native fusion while installing...
------------------------------------------------------
Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:\users\georges\Temp\IXP000.TMP\" 00000000
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x33f310,0x00000001,0x33f2fc) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:msi_load_all_components can't initialize assembly caches
err:msi:msi_load_all_components can't initialize assembly caches
fixme:msi:MsiGetLastErrorRecord 
err:msi:ITERATE_Actions Execution halted, action L"SxsInstallCA" returned 1603
fixme:imm:ImmDisableIME (-1): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
------------------------------------------------------
Note: command 'env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe' returned status 67.  Aborting.
------------------------------------------------------

@austin987

On Dec 24, 2015 3:23 PM, «Gunstick» notifications@github.com wrote:

Same problem, even dotnet20 does not install.

$ env|grep WINE
$
$ rm -rf ~/.wine
$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono

Executing load_remove_mono
Mono does not appear to be installed.

Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit
C:windowsTemp_dotnet20set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround

Current wine does not have wine bug 30845, so not applying workaround
Working around wine bug 30845 — Using native fusion while installing…

Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA «C:usersgeorgesTempIXP000.TMP» 00000000
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.
Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find
it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x33f310,0x00000001,0x33f2fc) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:msi_load_all_components can’t initialize assembly caches
err:msi:msi_load_all_components can’t initialize assembly caches
fixme:msi:MsiGetLastErrorRecord
err:msi:ITERATE_Actions Execution halted, action L»SxsInstallCA» returned
1603
fixme:imm:ImmDisableIME (-1): stub
err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize

err:ole:CoUninitialize Mismatched CoUninitialize
Note: command ‘env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe’
returned status 67. Aborting.


Reply to this email directly or view it on GitHub.

@austin987

Install winbind and retry

@Gunstick

Nope:

$ sudo apt-get install winbind
[...]
The following NEW packages will be installed:
  winbind
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
[...]
[ ok ] Starting the Winbind daemon: winbind.

$ which ntlm_auth
/usr/bin/ntlm_auth

$ ntlm_auth -V
Version 4.0.12-Debian

$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:windowsTemp_dotnet20set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround
Current wine does not have wine bug 30845, so not applying workaround
------------------------------------------------------
Working around wine bug 30845 -- Using native fusion while installing...
------------------------------------------------------
Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:\users\georges\Temp\IXP000.TMP\" 00000000
fixme:advapi:LsaOpenPolicy ((null),0x33f310,0x00000001,0x33f2fc) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:msi_load_all_components can't initialize assembly caches
err:msi:msi_load_all_components can't initialize assembly caches
fixme:msi:MsiGetLastErrorRecord 
err:msi:ITERATE_Actions Execution halted, action L"SxsInstallCA" returned 1603
fixme:imm:ImmDisableIME (-1): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
------------------------------------------------------
Note: command 'env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe' returned status 67.  Aborting.
------------------------------------------------------

@austin987

Is that a clean prefix? It doesn’t appear to be.

Wine version?

@Gunstick

You mean to start with an empty ~/.wine?
I did that just before I tried the fist install, then I added winbind and retried the install.

Maybe it’s of use to know what I get an «Microsoft .NET Setup» window from wine, but it crashes. «… encountered a problem during setup …»

@austin987

On Sat, Dec 26, 2015 at 3:04 PM, Gunstick notifications@github.com wrote:

You mean to start with an empty ~/.wine?

Yes.

I did that just before I tried the fist install, then I added winbind and
retried the install.

Ok, but that means the prefix was initialized without winbind. While it
should only be used at runtime, not prefix creation, to be sure I’d like to
see a clean prefix used for testing (that applies to any wine/winetricks
bug).

Maybe it’s of use to know what I get an «Microsoft .NET Setup» window from
wine, but it crashes. «… encountered a problem during setup …»

Not really, but thanks for the info :). The actual wine version would help,
though. If it’s not 1.8 or 1.8.1, please update. Also note that winetricks
has been updated since your original report, make sure you’re using the
latest version.

-Austin

@next-mad-hatter

I experienced same issue with wine 1.8 (x86) and winetricks 20151227 on multilib slackware 14.1.
What worked in the end was winetricks -q --unattended msxml3 mfc42 dotnet45 corefonts (did not investigate adding which of the two if not both was instrumental).

@austin987

Probably msxml3, which is used by dotnet35 (but works for me).

What version of lixml2 do you have? It works for me without native:
[austin@localhost ~]$ winetricks —version
20151227 — sha1sum: 3fc2069dc2a865562442b2b10e9a71a073f92675
[austin@localhost ~]$ wine —version
wine-1.8-97-gb30167e
[austin@localhost ~]$ dnf list | grep libxml2
libxml2.i686 2.9.2-3.fc22 @System

@next-mad-hatter

winetricks 20151227 — sha1sum: ad565c9abd0b26308b8ace7e6b44fc20f81d2034 (tried before with multiple versions), wine 1.8 (winehq/sg package), libxml2 2.9.1 (slackware-14.1/compat32).

Strangely, I cannot reproduce the issue today (winetricks dotnet45 just works, installs msxml3 along the way) although no component was changed (I might be mistaken, of course).

@austin987

What about testing dotnet20/dotnet30 instead of dotnet45?

@Fluffkin

Possibly related (or further confusion).
I was having errors on installing dotnet30. It was failing on decompressing a file from a D: location.
Tried winecfg to delete the D: drive .. and instantly it gets put back (it’s a link to my sdd1 partition). That’s not winetricks fault, I know. But! After a bit of messing around and cursing…
Unmount sdd1 entirely, re-run the winetricks dotnet30 install, and hey!
Wine still makes a dosdevices/d: link to sdd1 even though it’s unmounted O.o! But..
Winetricks now makes a new y: drive back to ~/.cache during the install, and it all works correctly.
(Wine 1.9.7 — winetricks-20160329)
Actually, looking back. Unrelated to Gunstick, don’t know if related Adrellisartar problem (no info), and possibly why next-mad-hatter found it working one day and not the other.
Anyway. Hope it helps someone!

@edwin-v

There is still a major issue with dotnet30 when installing dotnet45.

On a brand new Ubuntu 16.10 with wine-staging-1.9,21 the following happens:

  • Clean wine32 prefix with win7. Wine want to install wine-mono, but I decline.
  • Use winetricks and select dotnet45 for a full install of all dependencies.
    Problem 1: winetricks keeps spawning windows that mono is not installed. Even though that appear to be a good thing.
  • At dotnet3.0 I get a warning that the finish dialog may be hidden.
    Problem 2: All I see is a tool tip that you can click away, but no dialog anywhere. It’s so hidden, it can’t be shown.
  • Kill the installer process -> winetricks exits because of an error.
  • Restart install with winetricks to continue after dotnet30.
    Problem 3: error that dotnet45 in NOT compatible with dotnet20. Uh what? Wasn’t that a dependency?

Luckily, there is a workaround. Set wine to a virtual desktop so you get the taskbar icon to open up the window and exit the installer normally. It’s probably a good idea to force this while installing dotnet30 because it appears that those tray icons go nowhere these days.

@austin987

-q mode would be an easier workaround.

@jgedri

Trying to install .Net 4.5, this is what happens:
`Executing w_do_call dotnet45
Executing load_dotnet45
Executing w_do_call remove_mono
Executing load_remove_mono

Mono does not appear to be installed.

The operation completed successfully
Executing rm -f /home/tiger/.wine/dosdevices/c:/windows/system32/mscoree.dll
Executing w_do_call dotnet35
Executing load_dotnet35

dotnet35 does not yet fully work or install on wine. Caveat emptor.

Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1

dotnet30sp1 does not yet fully work or install on wine. Caveat emptor.

Executing w_do_call dotnet30
Executing load_dotnet30

If install fails, set /proc/sys/kernel/yama/ptrace_scope to 0. See http://bugs.winehq.org/show_bug.cgi?id=30410

Executing w_do_call dotnet20
dotnet20 already installed, skipping

Installing .net 3.0 runtime takes 3 minutes on a very fast machine, and the Finished dialog may hide in the taskbar.

Setting Windows version to winxp
Executing winetricks_early_wine regedit C:windowsTemp_dotnet30set-winver.reg
/usr/bin/winetricks: 1716: test: wine-2.0-rc1: unexpected operator
/usr/bin/winetricks: 1720: test: wine-2.0-rc1: unexpected operator

Working around wine bug 30845 — Using native fusion…

Executing wine netframework3.exe
wine: Bad EXE format for Y:dotnet30netframework3.exe.

Note: command ‘wine netframework3.exe’ returned status 193. Aborting.`

Wine is version 2.0rc1ubuntu14.04.1 and winetricks is 20140302 (it’s a 32-bit system).

@slyscorpion

@jgedri

winetricks is 20140302

Your winetricks version is over 2 years old. Please update winetricks to the latest version.

@jgedri

What files do I download? Is there a repository I can add to make things easier?

@slyscorpion

@jgedri

@qwertychouskie

After updating Winetricks, I would also recommend deleting and re-creating your wineprefix (~/.wine). Also, you could consider upgrading your version of Ubuntu, as some applications don’t work right with older versions, e.g. the Lego Mindstorms EV3 software doesn’t seem to work on Ubuntu 14.04 for some reason, but newer versions of Ubuntu work.

@jgedri

So I just delete the folder, then run winecfg?

On Thu, Jan 19, 2017 at 5:39 PM, QwertyChouskie ***@***.***> wrote:
After updating Winetricks, I would also recommend deleting and re-creating
your wineprefix (~/.wine). Also, you could consider upgrading your
version of Ubuntu, as some applications don’t work right with older
versions, e.g. the Lego Mindstorms EV3 software doesn’t seem to work on
Ubuntu 14.04 for some reason, but newer versions of Ubuntu work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#564 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXtF7XnvEh-QXyZakIslRIgWXuqxNIVwks5rT-YvgaJpZM4GUTPx>
.

@qwertychouskie

Yes, or WINEARCH=win32 winecfg for a 32-bit prefix (recommended if the application supports it).

I’m trying to install dotnet4.5 using winetricks on Ubuntu12.04 64bit. It keeps on giving me «Mono does not appear to be installed » error though i have mono installed . I ran these two commands to get mono and mono-complete

sudo apt-get install mono

sudo apt-get install mono-complete

wine version i am using is Wine 1.6. I have already Tried reinstalling wine . Its not just dotnet4.5 but all the versions of dotnet give me the same error .

asked Jul 4, 2015 at 0:47

Cyber Wolf's user avatar

http://dl.winehq.org/wine/wine-mono

d/l the latest version and place the .msi into /usr/share/wine/mono

then continue with installation of dotnet45

answered Dec 13, 2016 at 13:32

Demon's user avatar

DemonDemon

8081 gold badge10 silver badges11 bronze badges

Do the below to install wine-mono.

  1. Download wine-mono.msi from the official winehq site.
  2. Type wine64 uninstaller.
  3. Press install from the uninstaller GUI and select the downloaded .msi package.
  4. Done!

frogatto's user avatar

frogatto

9041 gold badge11 silver badges31 bronze badges

answered Jan 4, 2018 at 12:18

PSN's user avatar

PSNPSN

8369 silver badges5 bronze badges

I believe that you don’t need Mono. The WineHQ wiki page for Mono says:

The Mono package should always be removed before installing native
.NET. This can be done with the following command-line:

$ wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'

That page also explains the installation of Mono for Wine.

Eliah Kagan's user avatar

Eliah Kagan

115k53 gold badges311 silver badges484 bronze badges

answered Sep 16, 2017 at 12:13

Joseph VanPelt's user avatar

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Comments

@Adrellisartar

Hello. Did some searching online, and before you moved to Github, this was a problem..that was solved. However, I see to have the problem again.

Using Wine 1.7.50 and Winetricks 205-08-26, by using wget on the Github’s link, I cannot get .NET 3.0 to install.

I am trying to install .NET 4.5, so I do that directly. 2.0 installs, then tries 3.0. It fails and says:
Note: command ‘wine dotnetfx3.exe’ returned status 67. Aborting.

Well, searching for this, it was fixed!…years ago. But I have it today. Using that Wine and Winetricks.

Steps:
Add the PPA for Wine into the terminal
Download Wine 1.7.50 by «sudo apt-get install wine1.7». Update and upgrade
wget on the link on the Github to get winetricks
«chmod +x winetricks»
«export WINEARCH=win32»
«./winetricks»
«./winetricks corefonts vcrun6 dotnet45»

Those are my steps. Not used Wine before, but the «solution» dead ends with a past version. And, trying to manually install 3.0 after 2.0, gives the same error. Placing 2.0 SP 1 in between, gives:
«error: dotnet30 conflicts with dotnet20sp1, which is already installed.»

I am at a loss. Sorry this is more like a forum post.

@austin987

On Oct 23, 2015 1:07 AM, «Adrellisartar» notifications@github.com wrote:

Hello. Did some searching online, and before you moved to Github, this
was a problem..that was solved. However, I see to have the problem again.

Using Wine 1.7.50 and Winetricks 205-08-26, by using wget on the Github’s
link, I cannot get .NET 3.0 to install.

I am trying to install .NET 4.5, so I do that directly. 2.0 installs,
then tries 3.0. It fails and says:
Note: command ‘wine dotnetfx3.exe’ returned status 67. Aborting.

Well, searching for this, it was fixed!…years ago. But I have it today.
Using that Wine and Winetricks.

Steps:
Add the PPA for Wine into the terminal
Download Wine 1.7.50 by «sudo apt-get install wine1.7». Update and upgrade
wget on the link on the Github to get winetricks
«chmod +x winetricks»
«export WINEARCH=win32»
«./winetricks»
«./winetricks corefonts vcrun6 dotnet45»

Those are my steps. Not used Wine before, but the «solution» dead ends
with a past version. And, trying to manually install 3.0 after 2.0, gives
the same error. Placing 2.0 SP 1 in between, gives:
«error: dotnet30 conflicts with dotnet20sp1, which is already installed.»

I am at a loss. Sorry this is more like a forum post.


Reply to this email directly or view it on GitHub.

Please post the terminal output with a clean prefix.

@Gunstick

Same problem, even dotnet20 does not install.

$ env|grep WINE
$ 
$ rm -rf ~/.wine
$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:windowsTemp_dotnet20set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround
Current wine does not have wine bug 30845, so not applying workaround
------------------------------------------------------
Working around wine bug 30845 -- Using native fusion while installing...
------------------------------------------------------
Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:usersgeorgesTempIXP000.TMP" 00000000
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x33f310,0x00000001,0x33f2fc) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:msi_load_all_components can't initialize assembly caches
err:msi:msi_load_all_components can't initialize assembly caches
fixme:msi:MsiGetLastErrorRecord 
err:msi:ITERATE_Actions Execution halted, action L"SxsInstallCA" returned 1603
fixme:imm:ImmDisableIME (-1): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
------------------------------------------------------
Note: command 'env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe' returned status 67.  Aborting.
------------------------------------------------------

@austin987

On Dec 24, 2015 3:23 PM, «Gunstick» notifications@github.com wrote:

Same problem, even dotnet20 does not install.

$ env|grep WINE
$
$ rm -rf ~/.wine
$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono

Executing load_remove_mono
Mono does not appear to be installed.

Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit
C:windowsTemp_dotnet20set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround

Current wine does not have wine bug 30845, so not applying workaround
Working around wine bug 30845 — Using native fusion while installing…

Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA «C:usersgeorgesTempIXP000.TMP» 00000000
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.
Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find
it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x33f310,0x00000001,0x33f2fc) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:msi_load_all_components can’t initialize assembly caches
err:msi:msi_load_all_components can’t initialize assembly caches
fixme:msi:MsiGetLastErrorRecord
err:msi:ITERATE_Actions Execution halted, action L»SxsInstallCA» returned
1603
fixme:imm:ImmDisableIME (-1): stub
err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this
apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize

err:ole:CoUninitialize Mismatched CoUninitialize
Note: command ‘env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe’
returned status 67. Aborting.


Reply to this email directly or view it on GitHub.

@austin987

Install winbind and retry

@Gunstick

Nope:

$ sudo apt-get install winbind
[...]
The following NEW packages will be installed:
  winbind
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
[...]
[ ok ] Starting the Winbind daemon: winbind.

$ which ntlm_auth
/usr/bin/ntlm_auth

$ ntlm_auth -V
Version 4.0.12-Debian

$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:windowsTemp_dotnet20set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround
Current wine does not have wine bug 30845, so not applying workaround
------------------------------------------------------
Working around wine bug 30845 -- Using native fusion while installing...
------------------------------------------------------
Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:usersgeorgesTempIXP000.TMP" 00000000
fixme:advapi:LsaOpenPolicy ((null),0x33f310,0x00000001,0x33f2fc) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:msi_load_all_components can't initialize assembly caches
err:msi:msi_load_all_components can't initialize assembly caches
fixme:msi:MsiGetLastErrorRecord 
err:msi:ITERATE_Actions Execution halted, action L"SxsInstallCA" returned 1603
fixme:imm:ImmDisableIME (-1): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
------------------------------------------------------
Note: command 'env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe' returned status 67.  Aborting.
------------------------------------------------------

@austin987

Is that a clean prefix? It doesn’t appear to be.

Wine version?

@Gunstick

You mean to start with an empty ~/.wine?
I did that just before I tried the fist install, then I added winbind and retried the install.

Maybe it’s of use to know what I get an «Microsoft .NET Setup» window from wine, but it crashes. «… encountered a problem during setup …»

@austin987

On Sat, Dec 26, 2015 at 3:04 PM, Gunstick notifications@github.com wrote:

You mean to start with an empty ~/.wine?

Yes.

I did that just before I tried the fist install, then I added winbind and
retried the install.

Ok, but that means the prefix was initialized without winbind. While it
should only be used at runtime, not prefix creation, to be sure I’d like to
see a clean prefix used for testing (that applies to any wine/winetricks
bug).

Maybe it’s of use to know what I get an «Microsoft .NET Setup» window from
wine, but it crashes. «… encountered a problem during setup …»

Not really, but thanks for the info :). The actual wine version would help,
though. If it’s not 1.8 or 1.8.1, please update. Also note that winetricks
has been updated since your original report, make sure you’re using the
latest version.

-Austin

@next-mad-hatter

I experienced same issue with wine 1.8 (x86) and winetricks 20151227 on multilib slackware 14.1.
What worked in the end was winetricks -q --unattended msxml3 mfc42 dotnet45 corefonts (did not investigate adding which of the two if not both was instrumental).

@austin987

Probably msxml3, which is used by dotnet35 (but works for me).

What version of lixml2 do you have? It works for me without native:
[austin@localhost ~]$ winetricks —version
20151227 — sha1sum: 3fc2069dc2a865562442b2b10e9a71a073f92675
[austin@localhost ~]$ wine —version
wine-1.8-97-gb30167e
[austin@localhost ~]$ dnf list | grep libxml2
libxml2.i686 2.9.2-3.fc22 @System

@next-mad-hatter

winetricks 20151227 — sha1sum: ad565c9abd0b26308b8ace7e6b44fc20f81d2034 (tried before with multiple versions), wine 1.8 (winehq/sg package), libxml2 2.9.1 (slackware-14.1/compat32).

Strangely, I cannot reproduce the issue today (winetricks dotnet45 just works, installs msxml3 along the way) although no component was changed (I might be mistaken, of course).

@austin987

What about testing dotnet20/dotnet30 instead of dotnet45?

@Fluffkin

Possibly related (or further confusion).
I was having errors on installing dotnet30. It was failing on decompressing a file from a D: location.
Tried winecfg to delete the D: drive .. and instantly it gets put back (it’s a link to my sdd1 partition). That’s not winetricks fault, I know. But! After a bit of messing around and cursing…
Unmount sdd1 entirely, re-run the winetricks dotnet30 install, and hey!
Wine still makes a dosdevices/d: link to sdd1 even though it’s unmounted O.o! But..
Winetricks now makes a new y: drive back to ~/.cache during the install, and it all works correctly.
(Wine 1.9.7 — winetricks-20160329)
Actually, looking back. Unrelated to Gunstick, don’t know if related Adrellisartar problem (no info), and possibly why next-mad-hatter found it working one day and not the other.
Anyway. Hope it helps someone!

@edwin-v

There is still a major issue with dotnet30 when installing dotnet45.

On a brand new Ubuntu 16.10 with wine-staging-1.9,21 the following happens:

  • Clean wine32 prefix with win7. Wine want to install wine-mono, but I decline.
  • Use winetricks and select dotnet45 for a full install of all dependencies.
    Problem 1: winetricks keeps spawning windows that mono is not installed. Even though that appear to be a good thing.
  • At dotnet3.0 I get a warning that the finish dialog may be hidden.
    Problem 2: All I see is a tool tip that you can click away, but no dialog anywhere. It’s so hidden, it can’t be shown.
  • Kill the installer process -> winetricks exits because of an error.
  • Restart install with winetricks to continue after dotnet30.
    Problem 3: error that dotnet45 in NOT compatible with dotnet20. Uh what? Wasn’t that a dependency?

Luckily, there is a workaround. Set wine to a virtual desktop so you get the taskbar icon to open up the window and exit the installer normally. It’s probably a good idea to force this while installing dotnet30 because it appears that those tray icons go nowhere these days.

@austin987

-q mode would be an easier workaround.

@jgedri

Trying to install .Net 4.5, this is what happens:
`Executing w_do_call dotnet45
Executing load_dotnet45
Executing w_do_call remove_mono
Executing load_remove_mono

The operation completed successfully
Executing rm -f /home/tiger/.wine/dosdevices/c:/windows/system32/mscoree.dll
Executing w_do_call dotnet35
Executing load_dotnet35

dotnet35 does not yet fully work or install on wine. Caveat emptor.

Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1

dotnet30sp1 does not yet fully work or install on wine. Caveat emptor.

Executing w_do_call dotnet30
Executing load_dotnet30

If install fails, set /proc/sys/kernel/yama/ptrace_scope to 0. See http://bugs.winehq.org/show_bug.cgi?id=30410

Executing w_do_call dotnet20
dotnet20 already installed, skipping

Installing .net 3.0 runtime takes 3 minutes on a very fast machine, and the Finished dialog may hide in the taskbar.

Setting Windows version to winxp
Executing winetricks_early_wine regedit C:windowsTemp_dotnet30set-winver.reg
/usr/bin/winetricks: 1716: test: wine-2.0-rc1: unexpected operator
/usr/bin/winetricks: 1720: test: wine-2.0-rc1: unexpected operator

Working around wine bug 30845 — Using native fusion…

Executing wine netframework3.exe
wine: Bad EXE format for Y:dotnet30netframework3.exe.

Note: command ‘wine netframework3.exe’ returned status 193. Aborting.`

Wine is version 2.0rc1ubuntu14.04.1 and winetricks is 20140302 (it’s a 32-bit system).

@slyscorpion

@jgedri

winetricks is 20140302

Your winetricks version is over 2 years old. Please update winetricks to the latest version.

@jgedri

What files do I download? Is there a repository I can add to make things easier?

@slyscorpion

@jgedri

@qwertychouskie

After updating Winetricks, I would also recommend deleting and re-creating your wineprefix (~/.wine). Also, you could consider upgrading your version of Ubuntu, as some applications don’t work right with older versions, e.g. the Lego Mindstorms EV3 software doesn’t seem to work on Ubuntu 14.04 for some reason, but newer versions of Ubuntu work.

@jgedri

So I just delete the folder, then run winecfg?

On Thu, Jan 19, 2017 at 5:39 PM, QwertyChouskie ***@***.***> wrote:
After updating Winetricks, I would also recommend deleting and re-creating
your wineprefix (~/.wine). Also, you could consider upgrading your
version of Ubuntu, as some applications don’t work right with older
versions, e.g. the Lego Mindstorms EV3 software doesn’t seem to work on
Ubuntu 14.04 for some reason, but newer versions of Ubuntu work.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#564 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXtF7XnvEh-QXyZakIslRIgWXuqxNIVwks5rT-YvgaJpZM4GUTPx>
.

@qwertychouskie

Yes, or WINEARCH=win32 winecfg for a 32-bit prefix (recommended if the application supports it).

  • Печать

Страницы: [1]   Вниз

Тема: Служба установщика модулей windows в wine  (Прочитано 11059 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
firststart

Пытался установить Microsoft .NET Framework 4.5.2 с помощью wine, но получил сообщение, как на картинке… Подскажите, пожалуйста, как сделать доступной эту службу?


Dzhoser

sudo apt install winetricks

winetricks dotnet45


Оффлайн
firststart

winetricks dotnet45

Куча ругани:


Dzhoser

sudo apt update

sudo apt upgrade -y

sudo apt install mono-complete

winecfgтам в настройках ставим Windows 7 по умолчанию


Оффлайн
svtv1

Да и ещё это можно попробовать :D

«Если достаточно долго сидеть возле реки — мимо проплывет труп твоего врага»


Оффлайн
firststart


Dzhoser

firststart, выложите выхлоп

wine --version

arch

uname -a


Оффлайн
zg_nico

но получил сообщение, как на картинке…

я извиняюсь за глупый вопрос, но если в том самом сообщении нажать «Продолжить» — установка происходит, или установщик сразу завершает работу, ничего не предпринимая?

Thunderobot G150-D2: Intel SkyLake Core i7-6700HQ 2.60GHz, 8Gb DDR4 2133 MHz, Intel HD530, NVidia GeForce GTX 960M 2Gb.  Ubuntu 16.04 64x [Unity], KUbuntu 18.04 64x.


Оффлайн
bezbo

32-битные префиксы могут работать лучше

WINEARCH=win32 WINEPREFIX=~/.wine winecfg


Оффлайн
firststart

Код: [Выделить]
wine —version

wine-2.21 (Staging)

Код: [Выделить]
arch

x86_64

Код: [Выделить]
uname -a

Linux maxim-GA-890FXA-UD5 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Пользователь добавил сообщение 17 Февраля 2018, 13:26:05:


я извиняюсь за глупый вопрос, но если в том самом сообщении нажать «Продолжить» — установка происходит, или установщик сразу завершает работу, ничего не предпринимая?

Вы знаете,… за ночь произошли чудеса…. и все установилось теперь…. До сего момента шла бесконечная установка, а сегодня все само собой установилось…. Во дела…


Пользователь добавил сообщение 17 Февраля 2018, 13:29:03:


Не знаю, что произошло….. может перезагрузка помогла…. Но все заработало… Установил Sketchup. Все отлично!

« Последнее редактирование: 17 Февраля 2018, 13:29:03 от firststart »


Оффлайн
zg_nico

До сего момента шла бесконечная установка, а сегодня все само собой установилось

сколь я помню эту .NET, с ней всегда на wine были какие-нибудь проблемы. Winetricks даже предупреждение соответствующее выдает (ну раньше точно выдавал) при попытке установки одной из версий .NET (что-то про то, что даже на мощных машинах занимать установка может очень длительное время, и прогресс при этом не отображается) — та .NET куда-то в трей уваливалась при установке, чего не всякое DE нормально умеет показать.
И нет, — дело не в перезагрузке. WINE она для работы не нужна.

Thunderobot G150-D2: Intel SkyLake Core i7-6700HQ 2.60GHz, 8Gb DDR4 2133 MHz, Intel HD530, NVidia GeForce GTX 960M 2Gb.  Ubuntu 16.04 64x [Unity], KUbuntu 18.04 64x.


Оффлайн
odinokiyklaus

Net 4.0 работает только под 32-битную систему. Под 64-битную даже не пытайтесь. Поэтому WINEARCH=win32 — наше всё!

Лучше заранее забить её в ваш .bashrc
echo «export WINEARCH=win32» >> $HOME/.bashrc


  • Печать

Страницы: [1]   Вверх

pdizzle

Level 2
Level 2
Posts: 16
Joined: Fri Dec 26, 2014 5:09 pm

DotNet install failure

I am trying to help my friend to install sketchup on his computer running Ubuntu 14.04

I just successfully installed it on my computer running Arch. wine version 1.7.35-1

I was unable to get it to complete on his computer so I added the wine repository on winehq.org so that he could have the newest version.

reports that his version is 1:1.7.34-0ubuntu1~pp amd64

first I need to install dotnet45

in a 32bit wine prefix:

Code: Select all

$ winetricks dotnet45
Executing w_do_call dotnet45
Executing load_dotnet45
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
DELETE - HKLMSoftwareMicrosoftNET Framework SetupNDPv4 (null) 0 0 1
Error: The system was unable to find the specified registry key or value
Executing rm -f /home/jakob/prefix32/dosdevices/c:/windows/system32/mscoree.dll
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1
------------------------------------------------------
dotnet30sp1 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet30
Executing load_dotnet30
------------------------------------------------------
If install fails, set /proc/sys/kernel/yama/ptrace_scope to 0.  See http://bugs.winehq.org/show_bug.cgi?id=30410
------------------------------------------------------
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:windowsTemp_dotnet20set-winver.reg
Current wine does not have wine bug 30845, so not applying workaround
Executing wine dotnetfx.exe
fixme:advapi:DecryptFileA ("C:usersjakobTempIXP000.TMP", 00000000): stub
err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail
fixme:advapi:LsaOpenPolicy ((null),0x33f2e4,0x00000001,0x33f2d0) stub
fixme:advapi:LsaClose (0xcafe) stub
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
------------------------------------------------------
Note: command 'wine dotnetfx.exe' returned status 84.  Aborting.
------------------------------------------------------

at the time of crash a window pops up that says:
«Installation package could not be opened. Contact the application vendor to verify that this is a valid Windows installer package.»

I had read elsewhere that the TLS/SSL error is due to winbind, however i confirmed that this is installed.

Any suggestions?

User avatar

dimesio

Moderator
Moderator
Posts: 13143
Joined: Tue Mar 25, 2008 10:30 pm

Re: DotNet install failure

Post

by dimesio » Mon Feb 02, 2015 7:58 pm

I had read elsewhere that the TLS/SSL error is due to winbind, however i confirmed that this is installed.

If the problem were winbind the «SECUR32_initSchannelSP TLS library not found» error would be immediately followed by

Code: Select all

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

and it isn’t. You are missing some other package, probably 32 bit libgnutls.

pdizzle

Level 2
Level 2
Posts: 16
Joined: Fri Dec 26, 2014 5:09 pm

Re: DotNet install failure

Post

by pdizzle » Mon Feb 02, 2015 9:57 pm

Thanks for the response.

attempt to install with:

Code: Select all

$ sudo apt-get install libgnutls26:i386

returns that it is installed and is the latest version.

I also noticed that when creating the 32bit wine prefix, there is a line about wine-gecko not being installed and html rendering being disabled. I’m not sure if that is related.

User avatar

dimesio

Moderator
Moderator
Posts: 13143
Joined: Tue Mar 25, 2008 10:30 pm

Re: DotNet install failure

Post

by dimesio » Tue Feb 03, 2015 7:44 am

Wine-gecko is a required part of Wine; install it.

If Wine was compiled without GnuTLS support, that would also produce that TLS library not found error message, but AFAIK the Ubuntu packages are compiled with it (no one else has reported this problem, and we have a lot of Ubuntu users).

pdizzle

Level 2
Level 2
Posts: 16
Joined: Fri Dec 26, 2014 5:09 pm

Re: DotNet install failure

Post

by pdizzle » Tue Feb 03, 2015 9:13 pm

as far as I can tell, wine-gecko is installed.

Code: Select all

jakob@jakob-Satellite-L655:~$ dpkg-query -l wine-gecko2.21
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version              Architecture         Description
+++-==============================-====================-====================-=================================================================
ii  wine-gecko2.21:amd64           2.21-0ubuntu1        amd64                Microsoft Windows compatibility layer (embedded web browser)
ii  wine-gecko2.21:i386            2.21-0ubuntu1        i386                 Microsoft Windows compatibility layer (embedded web browser)
jakob@jakob-Satellite-L655:~$ dpkg-query -l wine-gecko2.24
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version              Architecture         Description
+++-==============================-====================-====================-=================================================================
ii  wine-gecko2.24:amd64           2.24-0ubuntu1~ppa1   amd64                Microsoft Windows compatibility layer (embedded web browser)
jakob@jakob-Satellite-L655:~$ 

the full output from creating a new 32 bit prefix follows:

Code: Select all

jakob@jakob-Satellite-L655:~$ WINEPREFIX="/home/jakob/prefix32" WINEARCH='win32' wine wineboot
wine: created the configuration directory '/home/jakob/prefix32'
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
fixme:storage:create_storagefile Storage share mode not implemented.
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 3 out of range
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 3 out of range
err:appwizcpl:install_file MsiInstallProduct failed: 1615
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
fixme:storage:create_storagefile Storage share mode not implemented.
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 3 out of range
err:msidb:get_tablecolumns column 1 out of range
err:msidb:get_tablecolumns column 2 out of range
err:msidb:get_tablecolumns column 3 out of range
err:appwizcpl:install_file MsiInstallProduct failed: 1615
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/jakob/prefix32' has been updated.
jakob@jakob-Satellite-L655:~$ 

pdizzle

Level 2
Level 2
Posts: 16
Joined: Fri Dec 26, 2014 5:09 pm

Re: DotNet install failure

Post

by pdizzle » Tue Feb 03, 2015 9:35 pm

I purged wine, winetricks, wine-gecko2.21 and reinstalled. The next wine prefix I created I was prompted to install wine-gecko from a dialog box. I selected yes, but it seemed that the install failed. Creating subsequent wine prefixes did not cause the dialog box to pop up prompting to install wine-gecko. Repeating the purge/reinstall and creating a new wine prefix also will not cause the dialog to reappear.

pdizzle

Level 2
Level 2
Posts: 16
Joined: Fri Dec 26, 2014 5:09 pm

Re: DotNet install failure

Post

by pdizzle » Tue Feb 03, 2015 10:58 pm

I have successfully installed dotnet45 and sketchup.

I purged wine, wine-gecko, wine-mono, winetricks. I added the ppa from winehq.org. i installed wine1.7, wine-gecko2.34, wine-mono4.5.4, and winetricks.

creating a 32 bit wineprefix gave a different output, but seemed to complete successfully.

Code: Select all

jakob@jakob-Satellite-L655:~$ WINEPREFIX="/home/jakob/prefix32test" WINEARCH='win32' wine wineboot
wine: created the configuration directory '/home/jakob/prefix32test'
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:iphlpapi:NotifyAddrChange (Handle 0x177e7b0, overlapped 0x177e7bc): stub
wine: configuration in '/home/jakob/prefix32test' has been updated.

running

inside the proper wine prefix/arch completed successfully. The only issue is at the installation of dotnet30, the one that creates a system tray icon / dialogue bubble, i couldnt make the window for the install open and was unable to complete the install. I eventually found that by running

in a separate terminal window after I was very sure that the install had completed, I could get the dotnet45 script to continue and finish successfully.

Thanks again for all the help!

This is a topic I opened on the general board bu now realize I should have posted it here since I am running LMDE 3.

Prior to installing a Windows application (Scrivener) under Wine, I issued the
winetricks dotnet45
winetricks dotnet46
commands.
Upon issuing those commands, however, they started w/ the following message:
«——————————————————
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
——————————————————
Using winetricks 20170101 — sha1sum: c844fda0cca25ac9ed0ed1b55cd138cab6a4af16 with wine-1.8.7 (Debian 1.8.7-2) and WINEARCH=win64
Executing w_do_call dotnet45
Executing load_dotnet45
——————————————————
This package may not work on a 64-bit installation
——————————————————«

(I note that the Winetricks version I have is c. 2017 but am hesitant to try an update as it might not be compatable w/ Debian.)

The Scrivener application opens but I can’t register it due to a .NET framework problem. The error message is attached.

If neither 4.5 or 4.6 is installed correctly, could this be the problem? Any suggestions? (I remain a novice and am sure of the proper syntax for creating a 32-bit WINEPREFIX in the proper directory, if this is necessary.)

I have a topic opened at the Scrivener Forums and received the following advice:
«.NET 4.6.2 is the minimum version of .NET you need installed for the license manager code to work. You may want to update those. You may also need to ensure that it’s installing .NET to the correct WINE instance. it sounds like your WINE instance is a 64-bit instance, you may need to make sure that it’s correctly downloading and installing the 64-bit version of .NET to your instance. You should only need to install the latest — from 4.5 on the versions are cumulative.»

I’ve downloaded from the WineHQ site the newest .NET architecture files but I’m ignorant of how to extract them to the proper directory.

Any suggestions as to:
— the 32-bit WINEPREFIX and 64-bit WINEPREFIX issues, +
— updating .NET to the 4.6.2 level?

(I created the 64-bit WINEPREFIX to enable installation of Scrivener, but now that it is installed I suppose it can be safely replaced. However,I’m not sure of the process or syntax therefor.)

Scrivener-Reg.png
Scrivener-Reg.png (11.49 KiB) Viewed 17714 times

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

#
5 лет, 9 месяцев назад

Linux92 avatar

Темы:

6

Сообщения:

22

Участник с: 06 апреля 2013

Стоит archlinux 4.10.11-1 x86_64. Поставил Wine, winetricks.
Ввожу команду для установки .net45:
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks dotnet45
Но на этапе установки .net20SP1 застревает:


Executing load_dotnet20sp1
Executing mkdir -p /home/roman/.cache/winetricks/dotnet20sp1
Executing cd /home/roman/.cache/winetricks/dotnet20sp1
Downloading https://download.microsoft.com/download/0/8/c/08c19fa4-4c4f-4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe to /home/roman/.cache/winetricks/dotnet20sp1
--2017-05-01 13:08:27--  https://download.microsoft.com/download/0/8/c/08c19fa4-4c4f-4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe
Загружен сертификат CA «/etc/ssl/certs/ca-certificates.crt»
Распознаётся download.microsoft.com… 23.223.25.64, 2a02:26f0:f4:182::e59, 2a02:26f0:f4:19f::e59
Подключение к download.microsoft.com|23.223.25.64|:443... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 200 OK
Длина: 24758792 (24M) [application/octet-stream]
Сохранение в: «NetFx20SP1_x86.exe»

NetFx20SP1_x86.exe  100%[===================>]  23,61M  5,33MB/s    за 6,0s

2017-05-01 13:08:34 (3,94 MB/s) - «NetFx20SP1_x86.exe» сохранён [24758792/24758792]

Executing cd /home/roman
------------------------------------------------------
Скрипт определил, что ваш IP адрес принадлежит России. Если во время загрузки файлов вы увидите ошибки несоответствия сертификата, перезапустите скрипт с опцией '--torify' или скачайте файлы вручную, например, используя VPN.
------------------------------------------------------
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
------------------------------------------------------
Обход ошибки 34803
------------------------------------------------------
Операция успешно завершена
reg: не удалось найти указанный раздел реестра или значение
reg: не удалось найти указанный раздел реестра или значение
Executing rm -f /home/roman/.wine/dosdevices/c:/windows/system32/mscoree.dll
Executing w_do_call dotnet20
dotnet20 already installed, skipping
------------------------------------------------------
Setting windows version so installer works
------------------------------------------------------
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:windowsTemp_dotnet20sp1set-winver.reg

И дальше ничего. Как исправить?

Спасибо!

zotkindm

#
5 лет, 9 месяцев назад

(отредактировано

5 лет, 9 месяцев назад)

Темы:

70

Сообщения:

568

Участник с: 21 мая 2014

Linux92
dotnet20 already installed, skipping
——————————————————
Setting windows version so installer works
——————————————————
Setting Windows version to win2k

Может стоит прислушаться к совету?

Linux92

#
5 лет, 9 месяцев назад

(отредактировано

5 лет, 9 месяцев назад)

Linux92 avatar

Темы:

6

Сообщения:

22

Участник с: 06 апреля 2013

zotkindm

Linux92
dotnet20 already installed, skipping
——————————————————
Setting windows version so installer works
——————————————————
Setting Windows version to win2k

Может стоит прислушаться к совету?

А что именно нужно сделать?
В winecfg уже выставлено win2000

pztrn

#
5 лет, 9 месяцев назад

Темы:

23

Сообщения:

1436

Участник с: 20 сентября 2009

zotkindm
Может стоит прислушаться к совету?

Это он уже выставляет.

По сабжу — попробуй поставить последовательно все версии дотнета в порядке увеличения. В этом случае может прокатить. Как минимум для 3.5 так и работает :).

frankyboy

#
5 лет, 9 месяцев назад

frankyboy avatar

Темы:

15

Сообщения:

325

Участник с: 05 декабря 2012

попробовать с —force

safocl

#
5 лет, 9 месяцев назад

Темы:

122

Сообщения:

1571

Участник с: 08 октября 2015

вообще советую скачать winetricks с гита… и пользоваться именно им
с ним ставил неделю назад все установилось, а со стандартным не хатело

  • Monitor exe 3d max ошибка при установке
  • Moniron детектор банкнот ошибки
  • Moniron dec ergo ошибка e5
  • Mongodb ошибка при установке
  • Mondial forni коды ошибок