Re: Issue 163 in winetricks: '%ProgramFiles%' returned empty string

71 views
Skip to first unread message

winet...@googlecode.com

unread,
Jun 28, 2013, 8:27:29 PM6/28/13
to winetri...@googlegroups.com

Comment #9 on issue 163 by austin...@gmail.com: '%ProgramFiles%'
returned empty string
http://code.google.com/p/winetricks/issues/detail?id=163

Is anyone still seeing this with recent wine / winetricks?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

winet...@googlecode.com

unread,
Jun 28, 2013, 8:38:41 PM6/28/13
to winetri...@googlegroups.com

Comment #10 on issue 163 by litimetal: '%ProgramFiles%' returned empty
string
http://code.google.com/p/winetricks/issues/detail?id=163

I can't confirm that.

WINETRICKS_VERSION=20130624

$ wine cmd.exe /c echo '%ProgramFiles%'
C:\Program Files

winet...@googlecode.com

unread,
Jun 28, 2013, 8:44:31 PM6/28/13
to winetri...@googlegroups.com

Comment #11 on issue 163 by daniel.r...@gmail.com: '%ProgramFiles%'
This, issue 90, and issue 189 may all be related.

winet...@googlecode.com

unread,
Jun 28, 2013, 8:48:21 PM6/28/13
to winetri...@googlegroups.com

Comment #12 on issue 163 by austin...@gmail.com: '%ProgramFiles%'
I suspect there may be more...but yeah. I'm slowly going through all open
bugs.

winet...@googlecode.com

unread,
Jul 7, 2013, 3:43:35 PM7/7/13
to winetri...@googlegroups.com

Comment #13 on issue 163 by daniel.r...@gmail.com: '%ProgramFiles%'
Saw it again today. Tried installing nfsworld on a 64 bit system.
This failed when it tried to install .net, so I tried setting WINEARCH
and rerunning:

------------------------------------------------------
Note: command 'wine dotnetfx.exe /q /c:install.exe /q' returned status 26.
Aborting.
------------------------------------------------------

dank@i7:~/winetricks/src$ rm -rf $WINEPREFIX
dank@i7:~/winetricks/src$ export WINEARCH=win32
dank@i7:~/winetricks/src$ sh winetricks -q nfsworld
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string
------------------------------------------------------

winet...@googlecode.com

unread,
Jul 30, 2013, 1:55:36 AM7/30/13
to winetri...@googlegroups.com

Comment #14 on issue 163 by austin...@gmail.com: '%ProgramFiles%'
Check for zombie wine processes next time..

winet...@googlecode.com

unread,
Feb 13, 2014, 5:04:41 AM2/13/14
to winetri...@googlegroups.com

Comment #15 on issue 163 by wearenot...@gmail.com: '%ProgramFiles%'
I'm getting this error.

machine:~ me$ WINEPREFIX=steam winetricks vcrun6
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string
------------------------------------------------------
machine:~ me$ winetricks --version
20130707
machine:~ me$ wine --version
wine-1.7.12

That wine prefix was indeed created by an earlier version of wine, 1.6.2. I
switched from MacPorts port wine to wine-devel to try to get something
working in another wine prefix.

Am I to understand that I'd be expected to reinstall steam (and all the
games installed within it) whenever wine had been updated and I wanted to
run winetricks on that prefix again for whatever reason?

winet...@googlecode.com

unread,
Feb 13, 2014, 5:10:24 AM2/13/14
to winetri...@googlegroups.com

Comment #16 on issue 163 by wearenot...@gmail.com: '%ProgramFiles%'
Oh, FYI, I don't see any zombie wine processes.

machine:~ me$ ps -e | grep wine
12789 ?? 0:00.39 /usr/bin/open http://wiki.winehq.org/Mono

winet...@googlecode.com

unread,
Feb 13, 2014, 2:10:41 PM2/13/14
to winetri...@googlegroups.com

Comment #17 on issue 163 by austin...@gmail.com: '%ProgramFiles%'
$WINEPREFIX must be an absolute path.

winet...@googlecode.com

unread,
May 11, 2014, 10:37:30 AM5/11/14
to winetri...@googlegroups.com

Comment #18 on issue 163 by richard....@gmail.com: '%ProgramFiles%'
returned empty string
http://code.google.com/p/winetricks/issues/detail?id=163

> $WINEPREFIX must be an absolute path.
Yes, but according to the winetricks help:
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs. Each verb installs an application or changes a
setting.
...
Commands:
...
prefix=foobar select
WINEPREFIX=/home/richard/.local/share/wineprefixes/foobar

So shouldn't:
winetricks prefix=WinXP-32bit ie8
check in '/home/richard/.local/share/wineprefixes/WinXP-32bit'

instead of '/home/richard/.wine' ? (which it does)

winet...@googlecode.com

unread,
May 11, 2014, 11:15:37 AM5/11/14
to winetri...@googlegroups.com

Comment #19 on issue 163 by daniel.r...@gmail.com: '%ProgramFiles%'
It's hard to say. It's valid-ish for winetricks to reference $WINEPREFIX
at startup.

r1182 added a better error message in this case, can you try winetricks
from svn
and tell us what the new error message is?

winet...@googlecode.com

unread,
May 11, 2014, 11:38:00 AM5/11/14
to winetri...@googlegroups.com

Comment #20 on issue 163 by richard....@gmail.com: '%ProgramFiles%'
I checked with WINETRICKS_VERSION=20140415 and it is the same as before:
$ winetricks prefix=WinXP-32bit ie8
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned unexpanded
string '%ProgramFiles%' ... can be caused a corrupt wineprefix, an old
wine, or by not owning /home/richard/.wine

and my WINEPREFIX is
WINEPREFIX=/home/richard/.local/share/wineprefixes/WinXP-32bit .


Too me it looks like winetricks doesn't respect the prefix at all.

winet...@googlecode.com

unread,
May 11, 2014, 11:46:10 AM5/11/14
to winetri...@googlegroups.com

Comment #21 on issue 163 by daniel.r...@gmail.com: '%ProgramFiles%'
What does

WINEPREFIX=/home/richard/.local/share/wineprefixes/WinXP-32bit wine
cmd.exe /c echo '%ProgramFiles%'

say?

winet...@googlecode.com

unread,
May 11, 2014, 1:32:55 PM5/11/14
to winetri...@googlegroups.com

Comment #22 on issue 163 by richard....@gmail.com: '%ProgramFiles%'
C:\Program Files

winet...@googlecode.com

unread,
May 31, 2014, 3:26:53 PM5/31/14
to winetri...@googlegroups.com

Comment #23 on issue 163 by richard....@gmail.com: '%ProgramFiles%'
soooo?

winet...@googlecode.com

unread,
Jun 8, 2014, 4:55:30 AM6/8/14
to winetri...@googlegroups.com

Comment #24 on issue 163 by sparb...@numericable.fr: '%ProgramFiles%'
Still get that issue on ubuntu Trusty i386:
- the default installed winetricks works fine, but wants the latest from
trunck
- i first purge the default oldish package installed from the archive
- then update to r1196 and apply chmod +x
- winetricks fails with that output:

wine-1.7.19
winetricks is /usr/bin/winetricks ; winetricks version is 20140521
+ winetricks_early_wine cmd.exe /c echo %ProgramFiles%
/usr/bin/winetricks: 2192: /usr/bin/winetricks: cannot create
/tmp/early_wine.err.txt: Permission denied

+ cat /tmp/early_wine.err.txt
+ w_die wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error
message 'wine: /home/oem/.wine is not owned by you'

hm, these files are owned by root:root ; deleting .cache/winetricks does
not help.
Reply all
Reply to author
Forward
0 new messages