Kareo installer fails on Kubuntu 12.04/Wine 1.5.8

Questions about Wine on Linux
Locked
Dodgy
Level 1
Level 1
Posts: 7
Joined: Sun Jul 15, 2012 11:53 am

Kareo installer fails on Kubuntu 12.04/Wine 1.5.8

Post by Dodgy »

Hi all,

I've been struggling to get dotnet20 installed on Kubuntu 12.04 with Wine 1.5.8. I've tried a few other versions as well (1.3 and 1.4) with the same result: a bizarre error message. Here is a screenshot of the error (imgur).

For those with limited bandwidth, the error in question is "1: 25003 2: -2146232575 3: 2 4: 3 5: 6 : 7: 8: 9: 10:" with the options "Retry" and "Cancel." Selecting either "Retry" or "Cancel" causes the installer to roll itself back.

Here is what happens when I run winetricks dotnet20 (pastebin).

I've tried with and without Mono installed (both the one installed by Wine and the one provided by Kubuntu); no change.

I've also tried adding two registry keys via

Code: Select all

wine reg add "HKLM\Software\Microsoft\.NETFramework\policy\v2.0"
wine reg add "HKLM\Software\Microsoft\.NETFramework" /v InstallRoot
which gets rid of the

Code: Select all

err:mscoree:LoadLibraryShim error reading registry key for installroot
errors, but the installer still fails with the same message.

My kernel version is

Code: Select all

Linux removed 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
and I am running it all inside a VMware 8 virtual machine.

If anyone can help me get this figured out I will be really grateful, as I'm needing to test some medical software - that requires .NET - for a business.
Last edited by Dodgy on Tue Jul 17, 2012 4:43 pm, edited 1 time in total.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: dotnet20 installer fails on Kubuntu 12.04/Wine 1.5.8

Post by dimesio »

Dodgy wrote: I've tried with and without Mono installed (both the one installed by Wine and the one provided by Kubuntu); no change.
Before installing real .NET, you have to uninstall wine-mono with

Code: Select all

wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'
then use winetricks to install .NET. Make sure you have the latest version of winetricks.
Dodgy
Level 1
Level 1
Posts: 7
Joined: Sun Jul 15, 2012 11:53 am

Re: dotnet20 installer fails on Kubuntu 12.04/Wine 1.5.8

Post by Dodgy »

dimesio wrote:
Dodgy wrote: I've tried with and without Mono installed (both the one installed by Wine and the one provided by Kubuntu); no change.
Before installing real .NET, you have to uninstall wine-mono with

Code: Select all

wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'
then use winetricks to install .NET. Make sure you have the latest version of winetricks.
I tried that, and I got

Code: Select all

Error: could not match application [{E45D8920-A758-4088-B6C6-31DBB276992E}]
I have the latest version of winetricks installed
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: dotnet20 installer fails on Kubuntu 12.04/Wine 1.5.8

Post by dimesio »

Dodgy wrote: I tried that, and I got

Code: Select all

Error: could not match application [{E45D8920-A758-4088-B6C6-31DBB276992E}]
I have the latest version of winetricks installed
Either you didn't install wine-mono even though you may have thought you did, or winetricks dotnet20 has been revised to uninstall it for you.

By "latest version" I mean winetricks downloaded directly from http://winetricks.org; distro packages tend to lag behind.

I can't reproduce your problem; winetricks dotnet20 works fine in 1.5.8 on openSUSE. Try a clean wineprefix, but other than that, all I can say is *buntu 12.04 is known to have lots of problems affecting Wine. If you really need Wine, you might want to try a different distro.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Dodgy
Level 1
Level 1
Posts: 7
Joined: Sun Jul 15, 2012 11:53 am

Re: dotnet20 installer fails on Kubuntu 12.04/Wine 1.5.8

Post by Dodgy »

dimesio wrote:
Dodgy wrote: I tried that, and I got

Code: Select all

Error: could not match application [{E45D8920-A758-4088-B6C6-31DBB276992E}]
I have the latest version of winetricks installed
Either you didn't install wine-mono even though you may have thought you did, or winetricks dotnet20 has been revised to uninstall it for you.

By "latest version" I mean winetricks downloaded directly from http://winetricks.org; distro packages tend to lag behind.

I can't reproduce your problem; winetricks dotnet20 works fine in 1.5.8 on openSUSE. Try a clean wineprefix, but other than that, all I can say is *buntu 12.04 is known to have lots of problems affecting Wine. If you really need Wine, you might want to try a different distro.
I can confirm this works fine openSUSE 12.1 as well. I tried updating winetricks to the very latest version as you suggested and dotnet20 still fails. Very annoying, considering that Kubuntu or Ubuntu are what's being asked for.

Thank you for your help so far. Where should I file a bug report, if at all?
Dodgy
Level 1
Level 1
Posts: 7
Joined: Sun Jul 15, 2012 11:53 am

Post by Dodgy »

Looks like the solution was as simple as installing dotnet11 and corefonts. Well, mostly; the dotnet20 installer failed with a different error, but running it again and selecting the "Repair" option allowed it to complete. Strange.

Now I'm running into this bug: http://bugs.winehq.org/show_bug.cgi?id=31165

At least I'm getting somewhere. The Kareo installer now fails with error 1628 instead of just disappearing after trying to download the .NET 2.0 installer on its own. Any thoughts?

This is the only console output I receive:

Code: Select all

removed@removed:~/Downloads$ wine Kareo_Setup.exe
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33b034 L"C:\\windows\\Downloaded Installations\\{0E9A4C77-DDAE-416F-B0D9-F62D651A1CDE}\\Kareo.msi"
removed@removed:~/Downloads$
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

It really sounds like you have an out of date wine or winetricks,
or aren't running the version you think you are, or have crud in your .wine directory.

Where did you get your wine-1.5.8?
What URL did you use when you downloaded winetricks,
and what does 'sha1sum winetricks' say?
How did you run the winetricks you downloaded?

BTW, I filed that bug because I was trying to help the guy in
http://forum.winehq.org/viewtopic.php?t=12133
Is that you?
Dodgy
Level 1
Level 1
Posts: 7
Joined: Sun Jul 15, 2012 11:53 am

Post by Dodgy »

DanKegel wrote:It really sounds like you have an out of date wine or winetricks,
or aren't running the version you think you are, or have crud in your .wine directory.

Where did you get your wine-1.5.8?
What URL did you use when you downloaded winetricks,
and what does 'sha1sum winetricks' say?
How did you run the winetricks you downloaded?

BTW, I filed that bug because I was trying to help the guy in
http://forum.winehq.org/viewtopic.php?t=12133
Is that you?
Thanks for the reply,

I got Wine 1.5.8 from the offical repo (http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu).

The URL I got winetricks from was the one supplied on its official website (the same link you provided). The SHA-1 of winetricks:

Code: Select all

5bffe68ed96ad5ff9495b1a568bab6e7b034b222  winetricks
I ran winetricks as so (this is what got dotnet20 to work later):

Code: Select all

removed@removed:~/Downloads$ winetricks gdiplus dotnet11 corefonts
Later:

Code: Select all

removed@removed:~/Downloads$ winetricks dotnet20
For the record, I've never run Wine or Winetricks as root, and I've rm -rf'd the .wine directory quite a few times now. I've also cleared out ~/.cache/winetricks several times as well.

Also, that isn't me in the other thread. Seems we're in similar boats though!

EDIT: Here's what happens when I try to install dotnet20 when dotnet11 is already installed:

Code: Select all

chris@frontdesk:~/.cache$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
/usr/bin/winetricks: 4376: cd: can't cd to /home/chris/.cache/winetricks/dotnet20
Executing mkdir -p /home/chris/.cache/winetricks/dotnet20
Downloading http://kegel.com/wine/l_intl.zip to /home/chris/.cache/winetricks/dotnet20
--2012-07-16 17:17:00--  http://kegel.com/wine/l_intl.zip
Resolving kegel.com (kegel.com)... 216.92.86.126
Connecting to kegel.com (kegel.com)|216.92.86.126|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1103 (1.1K) [application/zip]
Saving to: `l_intl.zip'

100%[========================================================================================>] 1,103       --.-K/s   in 0s      

2012-07-16 17:17:02 (81.9 MB/s) - `l_intl.zip' saved [1103/1103]

Executing unzip -o -q -d /home/chris/.wine/dosdevices/c:/windows/system32 l_intl.zip
Executing mkdir -p /home/chris/.cache/winetricks/dotnet20
Downloading http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe to /home/chris/.cache/winetricks/dotnet20
--2012-07-16 17:17:02--  http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe
Resolving download.microsoft.com (download.microsoft.com)... 63.233.92.34, 63.233.92.9, 63.233.92.10
Connecting to download.microsoft.com (download.microsoft.com)|63.233.92.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23510720 (22M) [application/octet-stream]
Saving to: `dotnetfx.exe'

100%[========================================================================================>] 23,510,720   351K/s   in 68s     

2012-07-16 17:18:10 (340 KB/s) - `dotnetfx.exe' saved [23510720/23510720]

Executing wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:\\users\\chris\\Temp\\IXP000.TMP\" 00000000
fixme:advapi:LsaOpenPolicy ((null),0x33f31c,0x00000001,0x33f344) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well
fixme:imagehlp:BindImageEx (0, "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\cscomp.dll", "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\", (null), (nil)): stub
fixme:imagehlp:BindImageEx (0, "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorsn.dll", "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\", (null), (nil)): stub
fixme:imagehlp:BindImageEx (0, "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorwks.dll", "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\", (null), (nil)): stub
fixme:imagehlp:BindImageEx (0, "C:\\windows\\system32\\mscoree.dll", "C:\\windows\\system32\", (null), (nil)): stub
fixme:imagehlp:BindImageEx (0, "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorjit.dll", "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\", (null), (nil)): stub
fixme:imagehlp:BindImageEx (0, "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorpe.dll", "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\", (null), (nil)): stub
fixme:imagehlp:BindImageEx (0, "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\vbc.exe", "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\", (null), (nil)): stub
fixme:imagehlp:BindImageEx (0, "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\diasymreader.dll", "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\", (null), (nil)): stub
fixme:mofcomp:wmain stub
err:ole:CoGetClassObject class {a9e69610-b80d-11d0-b9b9-00a0c922e750} not registered
err:ole:CoGetClassObject class {a9e69610-b80d-11d0-b9b9-00a0c922e750} not registered
err:ole:create_server class {a9e69610-b80d-11d0-b9b9-00a0c922e750} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {a9e69610-b80d-11d0-b9b9-00a0c922e750} could be created for context 0x17
err:ole:CoGetClassObject class {a9e69610-b80d-11d0-b9b9-00a0c922e750} not registered
err:ole:CoGetClassObject class {a9e69610-b80d-11d0-b9b9-00a0c922e750} not registered
err:ole:create_server class {a9e69610-b80d-11d0-b9b9-00a0c922e750} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {a9e69610-b80d-11d0-b9b9-00a0c922e750} could be created for context 0x17
fixme:advapi:RegisterEventSourceW ((null),L"ASP.NET 2.0.50727.0"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0001,0x400003f9,(nil),0x0002,0x00000000,0x33ecec,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:loadperf:UnloadPerfCounterTextStringsW (L"u "ASP.NET_2.0.50727"", 1): stub
err:rpc:I_RpcGetBuffer no binding
err:rpc:I_RpcGetBuffer no binding
err:rpc:I_RpcGetBuffer no binding
err:rpc:I_RpcGetBuffer no binding
err:rpc:I_RpcGetBuffer no binding
err:rpc:I_RpcGetBuffer no binding
err:rpc:I_RpcGetBuffer no binding
err:rpc:I_RpcGetBuffer no binding
fixme:thread:SetThreadStackGuarantee (0x33fc78): stub
fixme:shell:URL_ParseUrl failed to parse L"System.EnterpriseServices"
fixme:shell:URL_ParseUrl failed to parse L"System"
err:ole:CoGetClassObject class {ecabb0c8-7f19-11d2-978e-0000f8757e2a} not registered
err:ole:CoGetClassObject no class object {ecabb0c8-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1
err:ole:CoGetClassObject class {6eb22881-8a19-11d0-81b6-00a0c9231c29} not registered
err:ole:create_server class {6eb22881-8a19-11d0-81b6-00a0c9231c29} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {6eb22881-8a19-11d0-81b6-00a0c9231c29} could be created for context 0x15
fixme:process:FlushProcessWriteBuffers : stub
err:ole:CoGetClassObject class {4e14fba2-2e22-11d1-9964-00c04fbbb345} not registered
err:ole:create_server class {4e14fba2-2e22-11d1-9964-00c04fbbb345} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {4e14fba2-2e22-11d1-9964-00c04fbbb345} could be created for context 0x15

abnormal program termination
------------------------------------------------------
Note: command 'wine dotnetfx.exe' returned status 3.  Aborting.
------------------------------------------------------
chris@frontdesk:~/.cache$ 
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

You're using
http://winetricks.org/winetricks
That's pretty old (I'm behind on releases).

Please try
http://winetricks.googlecode.com/svn/tr ... winetricks
instead, it's rather newer.

Also, please don't install gdiplus, dotnet11, or corefonts just to
get dotnet20 installed; they should not be needed.

wine-1.5.9 should have a fix for bug 31165, when it comes out.
After that you'll hit
http://bugs.winehq.org/show_bug.cgi?id=31182
which can be worked around with 'winetricks gdiplus'.

I can't recall what happens after that.
Dodgy
Level 1
Level 1
Posts: 7
Joined: Sun Jul 15, 2012 11:53 am

Post by Dodgy »

DanKegel wrote:You're using
http://winetricks.org/winetricks
That's pretty old (I'm behind on releases).

Please try
http://winetricks.googlecode.com/svn/tr ... winetricks
instead, it's rather newer.

Also, please don't install gdiplus, dotnet11, or corefonts just to
get dotnet20 installed; they should not be needed.

wine-1.5.9 should have a fix for bug 31165, when it comes out.
After that you'll hit
http://bugs.winehq.org/show_bug.cgi?id=31182
which can be worked around with 'winetricks gdiplus'.

I can't recall what happens after that.
The latest version of winetricks you linked to works. Mostly, anyway; dotnet20 installed on the second go without any interruptions like before. Here is the oddity I'm referring to:

Code: Select all

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
wine: cannot find L"C:\\windows\\system32\\dotnetfx.exe"
------------------------------------------------------
Note: command 'env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe' returned status 2.  Aborting.
I ran winetricks dotnet20 again after that and everything worked perfectly.

The Kareo installer still falls flat on its face, however. BUT, it actually tosses me an error unlike before:

Code: Select all

fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33b034 L"C:\\windows\\Downloaded Installations\\{0E9A4C77-DDAE-416F-B0D9-F62D651A1CDE}\\Kareo.msi"
chris@frontdesk:~/Downloads$ wine: Unhandled page fault on read access to 0x00000010 at address 0x7e91bcb4 (thread 001b), starting debugger...
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 18 116") (1115)
Read the Wine Developers Guide on how to set up winedbg or another debugger
chris@frontdesk:~/Downloads$ 
I'm still on 1.5.8 by the way.
Dodgy
Level 1
Level 1
Posts: 7
Joined: Sun Jul 15, 2012 11:53 am

Post by Dodgy »

I finally got around to trying 1.5.9 but the installer still fails the same as before.
antfish
Newbie
Newbie
Posts: 2
Joined: Wed Jan 30, 2013 2:08 am

Re: Kareo installer fails on Kubuntu 12.04/Wine 1.5.8

Post by antfish »

Hi there. I'm not sure whether you have solved this problem. Today I got the same issue as you, and I solved it by setting windows revision as windows 7. You can try it out.
rgor
Level 2
Level 2
Posts: 16
Joined: Sun May 08, 2011 3:55 pm

Re: Kareo installer fails on Kubuntu 12.04/Wine 1.5.8

Post by rgor »

Hi,
I'm trying to install Kareo on Ubuntu 15.04. Can you guide me through a successful install? I'm floundering running through all the forums and help manuals. Were you able to run Kareo w/o any issues?
Locked