diff --git a/automatic/notepadplusplus.commandline/tools/chocolateyInstall.ps1 b/automatic/notepadplusplus.commandline/tools/chocolateyInstall.ps1 index e6d2c14b419..7bbbac0c083 100644 --- a/automatic/notepadplusplus.commandline/tools/chocolateyInstall.ps1 +++ b/automatic/notepadplusplus.commandline/tools/chocolateyInstall.ps1 @@ -18,6 +18,5 @@ Get-ChocolateyUnzip @packageArgs Remove-Item $toolsPath\*.zip -ea 0 if ($programRunning -and (Test-Path $programRunning)) { - Write-Host "Running stopped program" - Start-Process $programRunning + Write-Host "Please reopen Notepad++ to continue using." } diff --git a/automatic/notepadplusplus.install/tools/chocolateyInstall.ps1 b/automatic/notepadplusplus.install/tools/chocolateyInstall.ps1 index 284eee9eae8..41e3761c735 100644 --- a/automatic/notepadplusplus.install/tools/chocolateyInstall.ps1 +++ b/automatic/notepadplusplus.install/tools/chocolateyInstall.ps1 @@ -39,6 +39,5 @@ Write-Host "$packageName installed to '$installLocation'" Install-BinFile -Path "$installLocation\notepad++.exe" -Name 'notepad++' if ($programRunning -and (Test-Path $programRunning)) { - Write-Host "Running stopped program" - Start-Process $programRunning + Write-Host "Please reopen Notepad++ to continue using." }