Forums

wine cmd.exe /c echo '%ProgramFiles%' returned empty string

Auteur Réponses
giffmemana Mardi 29 September 2015 à 19:16
giffmemanaAnonymous

 

I am using Playonlinux and im trying to use winetricks to install a dll in one of my POL prefixes. I do:

WINEPREFIX=/home/user/.PlayOnLinux/wineprefix/giffmegames/ winetricks

and get

wine cmd.exe /c echo '%ProgramFiles%' returned empty string

How do I fix this ?

I tried reading about it online nothing I did helped. I am also worried I could have messed my permissions up (by watching the tutorials) as I am not an experienced user. Any way to check if they are okay ?

Edité par giffmemana

petch Mercredi 30 September 2015 à 0:16
petch

Hi,

To use a Wine prefix managed by PlayOnLinux/PlayOnMac you have to set $WINEPREFIX, and also $PATH and $LD_LIBRARY_PATH as soon as you're not using your system Wine.

Or use Configure button > (select virtual drive) > Miscellaneous tab > "Open a shell in this virtual drive" button

and get a terminal with the right environment already setup by PlayOnLinux.

 

giffmemana Mercredi 30 September 2015 à 7:27
giffmemanaAnonymous

Hey thanks for the help. But im not very good with linux. What do I have to do after I "Open a shell in this virtual drive" ?

petch Mercredi 30 September 2015 à 7:46
petch

Type winetricks. But what do you want to install with winetricks by the way? That's not what we support anymore for installing native components.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com