diff --git a/install.ps1 b/install.ps1 index 8f08de8..283c361 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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