error when installing dotnet30

Questions about Wine on Linux
Locked
Tomoko_A_Best
Level 1
Level 1
Posts: 7
Joined: Mon Aug 10, 2015 10:28 pm

error when installing dotnet30

Post by Tomoko_A_Best »

I'm trying to install dotnet45, but I can't install the dotnet30 prerec. Any ideas? this is what I get:

------------------------------------------------------
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:\windows\Temp\_dotnet30\set-winver.reg
------------------------------------------------------
Working around wine bug 30845 -- Using native fusion...
------------------------------------------------------
Executing wine netframework3.exe
wine: Bad EXE format for Y:\dotnet30\netframework3.exe.
------------------------------------------------------
Note: command 'wine netframework3.exe' returned status 193. Aborting.
------------------------------------------------------
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: error when installing dotnet30

Post by dimesio »

Make sure you have the latest Wine and winetricks and a clean wineprefix.
Tomoko_A_Best
Level 1
Level 1
Posts: 7
Joined: Mon Aug 10, 2015 10:28 pm

Re: error when installing dotnet30

Post by Tomoko_A_Best »

dimesio wrote:Make sure you have the latest Wine and winetricks and a clean wineprefix.
I have the latest everything, it still doesn't work.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: error when installing dotnet30

Post by dimesio »

Working around wine bug 30845 -- Using native fusion...
Bug 30845 was fixed in 1.5.8. Current winetricks in current Wine says

Code: Select all

Current wine does not have wine bug 30845, so not applying workaround
Whatever you have is not the latest.

You didn't mention trying a clean wineprefix. You will need to after upgrading; once a .NET installer has failed in a wineprefix, it is no longer clean.
Tomoko_A_Best
Level 1
Level 1
Posts: 7
Joined: Mon Aug 10, 2015 10:28 pm

Re: error when installing dotnet30

Post by Tomoko_A_Best »

dimesio wrote:
Working around wine bug 30845 -- Using native fusion...
Bug 30845 was fixed in 1.5.8. Current winetricks in current Wine says

Code: Select all

Current wine does not have wine bug 30845, so not applying workaround
Whatever you have is not the latest.

You didn't mention trying a clean wineprefix. You will need to after upgrading; once a .NET installer has failed in a wineprefix, it is no longer clean.
I used a clean wineprefix and my winetricks version is the latest from the AUR, which matches with the version number of winetricks from the info page. Is there some other way to get winetricks?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: error when installing dotnet30

Post by dimesio »

https://raw.githubusercontent.com/Winet ... winetricks

Also make sure you have the latest development release of Wine, not the stable one.
Tomoko_A_Best
Level 1
Level 1
Posts: 7
Joined: Mon Aug 10, 2015 10:28 pm

Re: error when installing dotnet30

Post by Tomoko_A_Best »

dimesio wrote:https://raw.githubusercontent.com/Winet ... winetricks

Also make sure you have the latest development release of Wine, not the stable one.
I have the lastest winetricks as well as the devel version of wine yet it still doesn't work. Is there a way to uninstall everything wine related totally (scripts, netframework3.exe, etc) and install it again?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: error when installing dotnet30

Post by dimesio »

Delete the wineprefix. If you haven't done that already, then you haven't been using a clean one.
Tomoko_A_Best
Level 1
Level 1
Posts: 7
Joined: Mon Aug 10, 2015 10:28 pm

Re: error when installing dotnet30

Post by Tomoko_A_Best »

dimesio wrote:Delete the wineprefix. If you haven't done that already, then you haven't been using a clean one.
I have done that though, nothing you have suggested has worked for me.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: error when installing dotnet30

Post by dimesio »

Exactly which Wine version are you using?
Tomoko_A_Best
Level 1
Level 1
Posts: 7
Joined: Mon Aug 10, 2015 10:28 pm

Re: error when installing dotnet30

Post by Tomoko_A_Best »

dimesio wrote:Exactly which Wine version are you using?
wine-1.7.49
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: error when installing dotnet30

Post by dimesio »

There was a regression that affected Office 2010 and wasn't fixed in git until after 1.7.49 came out. It's possible that also affected the .NET installers, though no one reported any problems. I'm using wine-1.7.49-41-g36a39ce, which has the fix in it. You could try building from git, or just wait for 1.7.50, to see if that's it. (If it's not, then I don't know what the problem is. .NET 3.0 installs fine on my system.)
Locked