This commit is contained in:
Colin 2024-06-26 10:20:30 -04:00
parent 5f6d9ca546
commit f01ab51fac
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ New-Item -ItemType Directory -Force -Path "C:\Program Files\AE-Send"
Copy-Item -Path $downloadPath -Destination $installPath -Force
# Attempt to install (add context menu entry)
Start-Process -FilePath $installPath -ArgumentList "install" -Wait -Verb RunAs
$exeArgs = "install"
& $installPath $exeArgs
# Clean up downloaded file
Remove-Item $downloadPath -Force