winecfg trying to use an old version of wine?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
scams
Newbie
Newbie
Posts: 2
Joined: Fri Mar 09, 2018 9:36 pm

winecfg trying to use an old version of wine?

Post by scams »

When trying to use winecfg, it attempts to use wine-staging 2.15 regardless of what version I have installed or even if I have it installed. This is what it shows:

Code: Select all

[l@pc ~]$ wine --version
bash: wine: command not found
[l@pc ~]$ winecfg
wine: created the configuration directory '/home/l/.wine'
fixme:winediag:start_process Wine Staging 2.15 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
wine: Unhandled page fault on read access to 0x00000008 at address 0x7f9b3c4dbf19 (thread 000b), starting debugger...
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 10 100") (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
wine: Unhandled page fault on read access to 0x00000008 at address 0x7fc9970a0f19 (thread 0009), starting debugger...
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
winedbg: Internal crash at 0x7f2f56b79f19
[l@pc ~]$ 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:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x90cc200, init_notify 0, handle 0x997e160): stub
I'm on Antergos on a fully updated system. I just noticed this happening today after updating to wine 3.3. Any help would be appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: winecfg trying to use an old version of wine?

Post by dimesio »

Uninstall wine-staging.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: winecfg trying to use an old version of wine?

Post by jkfloris »

[l@pc ~]$ wine --version
bash: wine: command not found
It looks like Wine isn't in your $PATH. By default Wine is installed in /opt/wine-devel/bin/wine
try:

Code: Select all

/opt/wine-devel/bin/wine --version
If you want to run a Windows application:

Code: Select all

/opt/wine-devel/bin/wine application.exe
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: winecfg trying to use an old version of wine?

Post by Bob Wya »

jkfloris wrote: It looks like Wine isn't in your $PATH. By default Wine is installed in /opt/wine-devel/bin/wine
try:

Code: Select all

/opt/wine-devel/bin/wine --version
Uhmmm, no it's not... And it certainly isn't on Arch:
Arch ABS: wine-staging-3.3-1 / PKGBUILD
Arch AUR: wine-staging-git / PKGBUILD
Arch packages use an install prefix of "/usr".

Bob
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: winecfg trying to use an old version of wine?

Post by Bob Wya »

@scams

If winecfg is working but you're not sure where wine is...

Firstly note that winecfg is just a wrapper for:

Code: Select all

wine winecfg.exe
So you'll probably find that winecfg is a symbolic link somewhere in your PATH to an separate Wine install tree:

Code: Select all

readlink -f "$(which winecfg)"
The wine executable winecfg is using will be in same directory.

Bob
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: winecfg trying to use an old version of wine?

Post by jkfloris »

Uhmmm, no it's not... And it certainly isn't on Arch:
:roll: Sorry, I missed the OP was using an Arch distro. :oops:
scams
Newbie
Newbie
Posts: 2
Joined: Fri Mar 09, 2018 9:36 pm

Re: winecfg trying to use an old version of wine?

Post by scams »

Bob Wya wrote:@scams

If winecfg is working but you're not sure where wine is...

Firstly note that winecfg is just a wrapper for:

Code: Select all

wine winecfg.exe
So you'll probably find that winecfg is a symbolic link somewhere in your PATH to an separate Wine install tree:

Code: Select all

readlink -f "$(which winecfg)"
The wine executable winecfg is using will be in same directory.

Bob
This seemed to be the problem. Thanks for the help everyone. :)
Locked