Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SRC :
- # https://gist.github.com/kurokikaze/350fe1713591641b3b42
- # https://gist.github.com/timothywarner/5de320a3c648bd9346af8cdbd4db8d14
- # Prerequisite PowerShell >= 3
- # O/P : http://pix.toile-libre.org/upload/original/1544900795.png
- # Install verbose
- $Path = $env:TEMP; $Installer = "npp.7.6.1.Installer.x64.exe"; Invoke-WebRequest "https://notepad-plus-plus.org/repository/7.x/7.6.1/npp.7.6.1.Installer.x64.exe" -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args "/silent /install" -Verb RunAs -Wait; Remove-Item $Path\$Installer
- # Install silent
- $Path = $env:TEMP; $Installer = 'npp.7.6.1.Installer.x64.exe'; Invoke-WebRequest -Uri 'plus.org/repository/7.x/7.6.1/npp.7.6.1.Installer.x64.exe' -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args '/silent /install' -Verb RunAs -Wait; Remove-Item -Path $Path\$Installer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement