I cant figure out the parameter to change the default install path "C:\Program Files\" to the drive i want it to install on when i run my Powershell script. I am trying to do a silent install and cant change it manually, anyone know what parameters i can add to install it to the E:\? Below is my code and what i am trying in powershell
Start-Process -FilePath $install -ArgumentList '/InstallDirectoryPath:"E:\"','/S' -Wait -Verb RunAs
Write-Host “Notepad++ has been installed.” -ForegroundColor Green}
This is Windows calling the function to install the script
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.