WINE Program Directory issue

Questions about Wine on Linux
Locked
concorde
Level 1
Level 1
Posts: 6
Joined: Wed Aug 22, 2018 8:58 pm

WINE Program Directory issue

Post by concorde »

Hi all. I'm on Debian Stretch and I just installed WINE and used it to install a program (Exact Audio Copy - EAC). The problem is, though it has been installed, under /home/<username>/.wine/drive_c/Program\ Files\ \(x86\) , I cannot see or access the EAC folder for the program (I tried to turn on "show hidden files/folders", didn't help). But if I go back to the installer.exe in WINE then I browse the directories for installation, the EAC folder is in fact there. So how can I access it in Debian?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: WINE Program Directory issue

Post by DarkShadow44 »

What are you trying to do? Where can't you access what? Screenshots would be very helpful.
Program is http://www.exactaudiocopy.de/en/index.p ... /download/, right?
concorde
Level 1
Level 1
Posts: 6
Joined: Wed Aug 22, 2018 8:58 pm

Re: WINE Program Directory issue

Post by concorde »

That's the right one, correct.

https://imgur.com/a/lIIN4Vw
In above image you can see that according to Debian, there is no Exact Audio Copy folder (show hidden files/folders is on)

https://imgur.com/a/xmKsbxC

https://imgur.com/a/vBoMB1Q

In these two images you can see there is indeed an EAC folder and it has all the contents. But I can't access it from the Debian file browser or from Terminal; only from this installer. I can even run the program at the end of the install, but then it disappears if I close it.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: WINE Program Directory issue

Post by DarkShadow44 »

Most likely you're simply looking the the wrong place. What is WINEPREFIX set to?
concorde
Level 1
Level 1
Posts: 6
Joined: Wed Aug 22, 2018 8:58 pm

Re: WINE Program Directory issue

Post by concorde »

Sorry I don't know how to check that.

Interestingly, since a restart, even that EAC folder that was showing in the installer (last 2 screenshots) has disappeared.
concorde
Level 1
Level 1
Posts: 6
Joined: Wed Aug 22, 2018 8:58 pm

Re: WINE Program Directory issue

Post by concorde »

Here's what winecfg says:

https://imgur.com/a/iOQPM29
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: WINE Program Directory issue

Post by DarkShadow44 »

You have to check what the environment variable WINEPREFIX is set to.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE Program Directory issue

Post by jkfloris »

I see a sudo command in the background. Did you run wine with sudo?
https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F
concorde
Level 1
Level 1
Posts: 6
Joined: Wed Aug 22, 2018 8:58 pm

Re: WINE Program Directory issue

Post by concorde »

I don't know how to do that sorry. I tried printenv in terminal with Wine running in the background but WINEPREFIX didn't show up.

I did a search in terminal for 'exact audio copy' and it found files at:
/root/.wine/drive_c/Program Files (x86)/Exact Audio Copy
/root/.wine/drive_c/ProgramData/Microsoft/Windows/Start Menu/Programs/Exact Audio Copy
/root/.local/share/applications/wine/Programs/Exact Audio Copy

I've always run Wine with sudo, I see I shouldn't have now :(

I have both /root/.wine and /home/<user>/.wine directories. I want to remove everything to do with Wine including EAC and start over. I guess I just need to delete this stuff, only in root instead:

/.local/share/mime/packages/x-wine*
/.local/share/applications/wine-extension*
/.local/share/icons/hicolor/*/*/application-x-wine-extension*
/.local/share/mime/application/x-wine-extension*
/root/.wine

And non-root equivalents /home/<user>/.local
/home/<user>/.wine

Is there anything else to remove?
concorde
Level 1
Level 1
Posts: 6
Joined: Wed Aug 22, 2018 8:58 pm

Re: WINE Program Directory issue

Post by concorde »

Should root even have a .local folder in it? Everything in it seems to be related to Wine

Also Wine is working fine now I've reinstalled it and not using root
Locked