From f21f60c35e4b5c3847a2f8631b8e0770c9a148af Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Tue, 31 Oct 2017 11:12:26 -0700 Subject: [PATCH] set requestedExecutionLevel to asInvoker for pwsh.exe on Windows --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 435fe63bbb1..99e00c228cb 100644 --- a/build.psm1 +++ b/build.psm1 @@ -1879,7 +1879,7 @@ function New-MSIPackage Start-NativeExecution { & "~/.rcedit/rcedit-x64.exe" (Get-PSOutput) --set-icon "$AssetsPath\Powershell_black.ico" ` --set-file-version $ProductVersion --set-product-version $ProductVersion --set-version-string "ProductName" "PowerShell Core 6" ` - --set-version-string "LegalCopyright" "(C) Microsoft Corporation. All Rights Reserved." } | Write-Verbose + --set-requested-execution-level "asInvoker" --set-version-string "LegalCopyright" "(C) Microsoft Corporation. All Rights Reserved." } | Write-Verbose ## AppVeyor base image might update the version for Wix. Hence, we should ## not hard code version numbers.