[Bug 45389] odbccp32:misc fails if privileges are not high enough

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 28 05:04:40 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45389

Zebediah Figura <z.figura12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |z.figura12 at gmail.com

--- Comment #1 from Zebediah Figura <z.figura12 at gmail.com> ---
Line 651 is a simple fix. However, while checking this I found some other
failures:

misc.c:438: Test failed: SQLConfigDriver returned 1
misc.c:440: Test failed: SQLConfigDriver returned 100, 0

These only show up on 32-bit. The culprit seems to be registry virtualization.
To get around this we'll want to add something like the following manifest:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity
        type="win32"
        name="Wine.odbccp32.Test"
        version="1.0.0.0"
        processorArchitecture="*"
    />
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
        <security>
            <requestedPrivileges>
                <requestedExecutionLevel
                    level="asInvoker"
                />
            </requestedPrivileges>
        </security>
    </trustInfo>
</assembly>

asInvoker has no effect on permissions (which is what we want; anything else
might cause a UAC prompt) but avoids virtualization, i.e. it basically marks
the application as aware that it might not have permissions.

This is also to blame for the msctf:inputprocessor failures (bug 39238).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list