mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
set requestedExecutionLevel to asInvoker for pwsh.exe on Windows (#5285)
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user