X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 352003857814 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1630425540; bh=ZYS3+f5fDFs/oYlesNG9YZYTvrhYqlk8LkqJuMTukjg=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=lrAmUPRckVYp8G4nhcQP+aVmF5SfErC+oEpQCRSA9deYG8XiGVaU3R4LYD823M6Nj tpzh3VZ/lvEi+k8ZyOEnDza0k8+3C3TZR5Qsi0adDqRqRkrhysSjzr41PmS2UZeqCO ZOo4P2RjlPVdAsx2DNU9b3kUqcNw6BxyFOtK/Mt0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 539C1385840B X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=w3bb4ETpdOoPSKaD2nS5OOfnpFTSJbxWrakgwK2aL5A=; b=kKJYHUuhWKd3NkEy2driOCGrMV+WYbtg8pry5DdJMLBhiEkk+KRZx6J2skhysW8/eE vwFKq/aDT7wnRDZ/ew+y7MZR1RMdSMor4spFpLaokM5nJ4u9qrtm4iH0ThMvSKPcL83K G6ZabEGaV+uqagD2DVtarN3MLpAu++PaGbTxYqpBaR487FSWc+RMoNpbVKJyR/i5Ml3Y jdu8LMCmYaBX09+V0PinfkIVPjTg5VLLKKl1YoSNdNCM6c7K55RY7xrpxnK3HU0xi6cN PcOYawAjweqKAeflxhKusIPiopnLE7AAHFLFiaxQUsT3AOp1UQYX7x3vLocGkqM3txV5 RRpA== X-Gm-Message-State: AOAM531yW7CbiiEUxgOOWcq2R+ez1IH4riTHQf0+vwyGakw9H9oq+Cds PEkS7k69e6Fv7Ep2mLX6mTMrLabOSvc= X-Google-Smtp-Source: ABdhPJzeNUjRvXPID2NV2cP999prh5HY08OM6v2kfr0v1kcir+dN/RWUahoSbLoVNI5aV9J62F696w== X-Received: by 2002:a19:e002:: with SMTP id x2mr21825461lfg.84.1630425466689; Tue, 31 Aug 2021 08:57:46 -0700 (PDT) Subject: Re: requestedExecutionLevel "asInvoker" is ignored for setup-x86_64.exe To: cygwin AT cygwin DOT com References: Message-ID: Date: Tue, 31 Aug 2021 18:57:43 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Ilya Basin via Cygwin Reply-To: Ilya Basin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Never mind. Just found in the FAQ that the installer tries to spawn an elevated child instead of using the manifest. So in "setup-x86_64.exe -B" the "-B" switch does the trick. On 31.08.2021 18:38, ilya Basin wrote: > Hi. > I noticed that despite having: > > > > 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