https://bugs.winehq.org/show_bug.cgi?id=39218
Bug ID: 39218 Summary: advpack:advpack fails if privileges not high enough Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: advpack Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The following failures only happen if the test is run in a restricted or limited user account.
advpack.c:427: Test failed: Expected S_OK, got 80004005 advpack.c:436: Test failed: Expected C:\Program Files\Application Name, got %49001%\Application Name advpack.c:437: Test failed: Expected size 34, got 25 advpack.c:445: Test failed: Expected S_OK, got 80070057 advpack.c:446: Test failed: Expected C:\Program Files, got aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa advpack.c:448: Test failed: Expected size 17, got 260 advpack.c:456: Test failed: Expected S_OK, got 80070057 advpack.c:457: Test failed: Expected C:\Program Files, got aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa advpack.c:459: Test failed: Expected size 17, got 260 advpack.c:472: Test failed: Expected S_OK, got 80070057 advpack.c:473: Test failed: Expected C:, got aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa advpack.c:475: Test failed: Expected size 4, got 260 advpack.c:481: Test failed: Expected S_OK, got 80070057 advpack.c:522: Test failed: Expected S_OK, got 80004005 advpack.c:530: Test failed: Expected S_OK, got 80070057 advpack.c:531: Test failed: Expected C:\Program Files, got aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa advpack.c:533: Test failed: Expected size 17, got 260 advpack.c:538: Test failed: Expected S_OK, got 80070057
In particular one can notice this bug on the following WineTest boxes: fg-win2000-rusr: Windows 2000 with a Restricted user account fg-winxp-lusr: Windows XP with a Limited user account.
Note however that it succeeds in non-Restricted/Limited user accounts on the following boxes for instance: fg-win2000-susr: Windows 2000 with a Standard (Power) user account. fg-win7u64-1spie9usr: Windows 7 with a regular user account.
See: https://test.winehq.org/data/tests/advpack:advpack.html