Skip to content

Commit 34bc667

Browse files
Fix Windows installation: correct msiexec argument formatting for proper reinstallation
1 parent 82866d5 commit 34bc667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ runs:
9797
$msi = "PowerShell-$($env:REQUESTED_VERSION)-win-x64.msi"
9898
$url = "https://github.com/PowerShell/PowerShell/releases/download/v$($env:REQUESTED_VERSION)/$msi"
9999
Invoke-WebRequest -Uri $url -OutFile $msi -UseBasicParsing
100-
Start-Process msiexec.exe -ArgumentList '/i', $msi, '/quiet', '/norestart', 'REINSTALL=ALL' -Wait
100+
Start-Process msiexec.exe -ArgumentList '/i $msi REINSTALL=ALL /quiet /norestart' -Wait

0 commit comments

Comments
 (0)