set requestedExecutionLevel to asInvoker for pwsh.exe on Windows (#5285)

This commit is contained in:
Steve Lee
2017-11-01 14:12:39 -07:00
committed by Travis Plunk
parent 57f3c85469
commit beef5bc84a
+1 -1
View File
@@ -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.