Fixup
This commit is contained in:
parent
5f6d9ca546
commit
f01ab51fac
|
@ -13,7 +13,8 @@ New-Item -ItemType Directory -Force -Path "C:\Program Files\AE-Send"
|
||||||
Copy-Item -Path $downloadPath -Destination $installPath -Force
|
Copy-Item -Path $downloadPath -Destination $installPath -Force
|
||||||
|
|
||||||
# Attempt to install (add context menu entry)
|
# Attempt to install (add context menu entry)
|
||||||
Start-Process -FilePath $installPath -ArgumentList "install" -Wait -Verb RunAs
|
$exeArgs = "install"
|
||||||
|
& $installPath $exeArgs
|
||||||
|
|
||||||
# Clean up downloaded file
|
# Clean up downloaded file
|
||||||
Remove-Item $downloadPath -Force
|
Remove-Item $downloadPath -Force
|
||||||
|
|
Loading…
Reference in New Issue