delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/31/11:42:45

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EAEA3858410
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1630424563;
bh=Vc/XlllO5jUyXZ+b2VYLwNsMPDPAho4HNFIH46vGDSU=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=nZOXgvFEnfLiP+VbfaraIUplIBoI2AE9w9riO9pVRcc1LMsWOfsL8qulRCK46k5v1
5fhUf2Za9TgU1tXgAjVMlzCGZYDluT0y28kOGypZGIGjHLHQwgfUVZW7BiN0cjQqbW
gcUTmixsBAJARWfOE6QBnlIwzKNbPX8NivwUvNYc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D4D383857C4E
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:to:from:subject:message-id:date:user-agent
:mime-version:content-language:content-transfer-encoding;
bh=gfoljC+Yzi08ueEA5ghNecy9gVuaA7+plZjVtpydh9Y=;
b=sM94QwwCdoHHLSvJ/fjAJhkzzcC4EXaVV6v3RyzRQT+Zju1AqMn9D4S17lauQPoFq+
SLhuqq2MUHeUCfzEIe3W+lYZWDn+6S/pUHhI4LQ5eQD5jKuIAJTizKO6tq4fjrumSL1V
0uvxpGM6Sg4ugh9xMJC2IhtfYuwZw29bMzEBsnTJwqMfe5inc7zWhCfSBlnHrg4U8vdJ
vha98WJahfzol/iLURUVbafC1qyIAOQstx0xywHR2Y/CrNkwSNP8jeXM+dZEh+L56ZR8
S9UF4W6WtdCw5zprpTHmWIVPfiHCbZ1cLUoZMp6FnNfLDQ2MDiUpx1lyQoI/etyvI5Gp
yvaw==
X-Gm-Message-State: AOAM530CoUdFD9p06J5q8f8noF7dvrwONIecokJoPKKlcVmLSYXZA8fK
6vxYaijS0FwFMgGyt68HCU5104Ua+UQ=
X-Google-Smtp-Source: ABdhPJwV9qUaZjHuMQ+sMkQwwhfjbQXctS4pIS0D5LwdWuCW7c/geUBIDO/gM0m/nWH3yg7oD4BJBg==
X-Received: by 2002:aca:f386:: with SMTP id r128mr3603957oih.168.1630424301012;
Tue, 31 Aug 2021 08:38:21 -0700 (PDT)
To: cygwin AT cygwin DOT com
Subject: requestedExecutionLevel "asInvoker" is ignored for setup-x86_64.exe
Message-ID: <b12f2d11-85e4-ac9e-64b1-f98194e080a8@gmail.com>
Date: Tue, 31 Aug 2021 18:38:16 +0300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: ilya Basin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ilya Basin <basinilya AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi.
I noticed that despite having:

    <requestedExecutionLevel level="asInvoker"            uiAccess="false"/>

in setup-x86_64.exe the UAC prompt is not bypassed and when I click Cancel the program is not started.

Previously I used the same binary to install Cygwin for "Just me" on a host where regular users are simply not allowed to trigger a UAC prompt.

I have downloaded some other software installers and they work as intended:

    cf7_installer.exe
    Git-2.33.0-64-bit.exe
    pgadmin4-5.6-x64.exe

The following env var also failed:

    set __COMPAT_LAYER=RunAsInvoker

Then I tried to un-UPX and remove the manifest with ResHacker and I also renamed "setup-x86_64.exe" to "putes-x86_64.exe" because I heard that UAC looks for keyword in .exe name without a manifest, but the resulting binary still triggers the UAC.


Reproducible on:
Windows 10 20-H2 build 19042.746
Windows 7 sp1 buld 7601

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019