Advertisement
PC_Aide

Install silent/verbose Notepad++ 7.6.1 (x64) .ps1

Dec 15th, 2018
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # SRC :
  2. # https://gist.github.com/kurokikaze/350fe1713591641b3b42
  3. # https://gist.github.com/timothywarner/5de320a3c648bd9346af8cdbd4db8d14
  4. # Prerequisite PowerShell >= 3
  5. # O/P : http://pix.toile-libre.org/upload/original/1544900795.png
  6.  
  7. # Install verbose
  8. $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
  9.  
  10. # Install silent
  11. $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