http://bugs.winehq.org/show_bug.cgi?id=15755
Summary: Governor of Poker demo installer does not correctly detect administrative privileges Product: Wine Version: 1.1.7 Platform: PC URL: http://www.bigfishgames.com/download- games/3630/governor-of-poker-game/download.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com
With 1.1.7, when trying to launch the installer, a message box displays with the message, "You don't have permission to install games from Big Fish Games on this computer. Please login with an administrator account and try again". The only emitted standard error messages are:
fixme:advapi:CheckTokenMembership ((nil) 0x12be08 0x33ee14) stub! fixme:advapi:CheckTokenMembership ((nil) 0x12be08 0x33ee14) stub! fixme:advapi:CheckTokenMembership ((nil) 0x12be08 0x33ee14) stub! fixme:advapi:CheckTokenMembership ((nil) 0x12be08 0x33ee14) stub!
http://bugs.winehq.org/show_bug.cgi?id=15755
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download, Installer
--- Comment #1 from Lei Zhang thestig@google.com 2008-10-29 00:02:16 --- I think it's using the uac plugin http://nsis.sourceforge.net/UAC_plug-in
If you set *IsMember to FALSE in CheckTokenMembership(), it will work.
http://bugs.winehq.org/show_bug.cgi?id=15755
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |advapi32
http://bugs.winehq.org/show_bug.cgi?id=15755
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |kai.blin@gmail.com Status|NEW |ASSIGNED
--- Comment #2 from Kai Blin kai.blin@gmail.com 2008-11-30 04:25:22 --- Created an attachment (id=17560) --> (http://bugs.winehq.org/attachment.cgi?id=17560) Improve debugging for CheckTokenMembership
It seems like we need to improve that stub. Can you please run with attached patch and get me the fixme output?
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #3 from Kai Blin kai.blin@gmail.com 2008-11-30 14:59:24 --- hm, that line should be debugstr_sid, not debug_sid...
Working on this locally now, no need to get me that trace..
http://bugs.winehq.org/show_bug.cgi?id=15755
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #4 from Austin English austinenglish@gmail.com 2008-11-30 15:28:06 --- *** Bug 16260 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15755
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #17560|0 |1 is obsolete| |
--- Comment #5 from Kai Blin kai.blin@gmail.com 2008-11-30 17:06:57 --- Created an attachment (id=17575) --> (http://bugs.winehq.org/attachment.cgi?id=17575) Workaround as suggested by Lei
This one allows the installer to start, as Lei said. Posting here for your convenience.
As this is just a hack and not a full solution, I won't submit this patch to Wine but will try to find a correct fix.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #6 from Jeff Zaroyko jeffz@jeffz.name 2008-12-07 04:18:25 --- Also a problem for BigFish Games installer (bug 14343) - it refuses to run unless the work around patch has been applied.
http://bugs.winehq.org/show_bug.cgi?id=15755
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tethys@gmail.com
--- Comment #7 from Austin English austinenglish@gmail.com 2009-02-02 19:09:14 --- *** Bug 17237 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15755
Javier Kohen jkohen@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jkohen@users.sourceforge.net
http://bugs.winehq.org/show_bug.cgi?id=15755
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #8 from Dan Kegel dank@kegel.com 2009-02-24 17:08:57 --- I also ran into this with Farm Craft from Big Fish, which I was looking at because of https://answers.launchpad.net/ubuntu/+source/wine/+question/62099 Also mentioned here: http://ubuntuforums.org/showthread.php?t=828625
For the record, I think my instance used the similar http://nsis.sourceforge.net/IsUserAdmin
http://bugs.winehq.org/show_bug.cgi?id=15755
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
--- Comment #9 from Ken Sharp kennybobs@o2.co.uk 2009-02-26 00:46:59 --- *** Bug 17534 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15755
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.0
--- Comment #10 from Dan Kegel dank@kegel.com 2009-04-30 08:30:35 --- Casual games are quite popular, dup, partially understood -> nominating for 1.2
http://bugs.winehq.org/show_bug.cgi?id=15755
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Governor of Poker demo |Some applications do not |installer does not |correctly detect |correctly detect |administrative privileges |administrative privileges |
--- Comment #11 from Ken Sharp kennybobs@o2.co.uk 2009-05-31 19:56:34 --- Making title more generic, I'm sure most if not all Big Fish games will be affected.
http://bugs.winehq.org/show_bug.cgi?id=15755
Samuel Sieb samuel@sieb.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |samuel@sieb.net
http://bugs.winehq.org/show_bug.cgi?id=15755
ericdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ericdb@gmail.com
--- Comment #12 from ericdb@gmail.com 2009-08-02 15:24:02 --- After applying the second (991 byte) patch, the installer gets a little further, but still aborts with a complaint about me needing to login with admin privileges. The game is "Plants vs. Zombies", if it's relevant.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #13 from Kai Blin kai.blin@gmail.com 2009-08-02 17:58:04 --- Can you get me an +advapi trace with the patch applied?
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #14 from ericdb@gmail.com 2009-08-02 18:41:17 --- Created an attachment (id=22788) --> (http://bugs.winehq.org/attachment.cgi?id=22788) +advapi trace
Trace of attempt to install Plants vs. Zombies with WINEDEBUG=+advapi and with the workaround patch installed
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #15 from Ken Sharp kennybobs@o2.co.uk 2009-08-02 20:31:52 --- Where did you get Plants vs Zombies from? The PopCap download installs fine.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #16 from ericdb@gmail.com 2009-08-02 22:15:24 --- I downloaded the installer from Big Fish Games (under Linux), then tried to run the installer in Wine.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #17 from Dan Kegel dank@kegel.com 2009-08-02 22:32:51 --- Plants vs. Zombies installs fine for me, too, with wine-1.1.26 (and for a while now). ericdb, what version of wine are you using? Did you try it with a clean .wine directory? What's the sha1sum of your downloaded game?
http://bugs.winehq.org/show_bug.cgi?id=15755
Ori Avtalion ori@avtalion.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ori@avtalion.name
--- Comment #18 from Ori Avtalion ori@avtalion.name 2009-08-04 12:08:55 --- I confirm the patch fixes the authorization problem with the Big Fish installer.
http://bugs.winehq.org/show_bug.cgi?id=15755
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=15755
Reece Dunn msclrhd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msclrhd@gmail.com
--- Comment #19 from Reece Dunn msclrhd@gmail.com 2009-10-05 09:39:30 --- This issue is for the Big Fish Game client. Some casual games (like Plants vs Zombies) are distributed by several different casual games companies, each of which have their own installers/launchers.
This is still an issue in 1.1.30, and the workaround gets past the check. The better way would be to implement this properly and allow the user the option to select running as an Administrator in WineCfg.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #20 from Austin English austinenglish@gmail.com 2009-10-06 10:57:24 --- I suspect this may be fixed by: http://source.winehq.org/git/wine.git/?a=commitdiff;h=07ec73fcaa80c754591e13...
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #21 from Austin English austinenglish@gmail.com 2009-10-06 11:59:40 --- (In reply to comment #20)
I suspect this may be fixed by: http://source.winehq.org/git/wine.git/?a=commitdiff;h=07ec73fcaa80c754591e13...
Cancel that, that's for bug 17096.
http://bugs.winehq.org/show_bug.cgi?id=15755
Jon Dufresne jon.dufresne@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jon.dufresne@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #22 from Jon Dufresne jon.dufresne@gmail.com 2009-10-24 11:52:58 --- What is required to make this a proper fix? Is there a specification on what this needs? I could take a stab at it if no one is working on it.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #23 from Rob Shearman robertshearman@gmail.com 2009-11-08 04:24:30 --- Patch sent to fix this: http://www.winehq.org/pipermail/wine-patches/2009-November/081011.html
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #24 from Kai Blin kai.blin@gmail.com 2009-11-08 04:56:39 --- Patch fixes the issue on my system. Thanks Rob.
http://bugs.winehq.org/show_bug.cgi?id=15755
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #25 from Rob Shearman robertshearman@gmail.com 2009-11-09 17:36:21 --- Patch committed: http://source.winehq.org/git/wine.git/?a=commit;h=cf680ed0f242c839a742dfeaf3...
Marking as resolved.
http://bugs.winehq.org/show_bug.cgi?id=15755
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org 2009-11-13 12:43:16 --- Closing bugs fixed in 1.1.33.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #27 from Jon Dufresne jon.dufresne@gmail.com 2009-11-13 22:03:31 --- This is not fixed for me with wine version 1.1.33 using the Big Fish installer at http://www.bigfishgames.com/download-games/6098/drawn-the-painted-tower/down...
I get the error as stated in the original comment. There is no output on the console.
http://bugs.winehq.org/show_bug.cgi?id=15755
--- Comment #28 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-13 22:07:54 --- (In reply to comment #27)
This is not fixed for me with wine version 1.1.33 using the Big Fish installer at
Please open a new bug, as this on confirmed fixed other applications.
http://bugs.winehq.org/show_bug.cgi?id=15755
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cf680ed0f242c839a742dfeaf32 | |9ba005c04ccaa