Notices: This section not yet converted to new layout. Download stats are rolling back out.

Notepad2

4.2.25.20160422

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator doc on 4/25/2016.

A few years ago, I found myself writing my first PHP projects using metapad. When I was looking around for text editors with syntax highlighting, I have come across the Scintilla source code editing component. I was very much impressed by this project, so I decided to create my own Scintilla-based text editor.

The result is Notepad2, a fast and light-weight Notepad-like text editor with syntax highlighting. This program can be run out of the box without installation, and does not touch your system's registry.

To install Notepad2, run the following command from the command line or from PowerShell:

C:\> choco install notepad2

To upgrade Notepad2, run the following command from the command line or from PowerShell:

C:\> choco upgrade notepad2

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    Install-ChocolateyPackage `
        -PackageName 'notepad2' `
        -FileType 'EXE' `
        -SilentArgs '/SILENT' `
        -Url 'http://www.flos-freeware.ch/zip/Notepad2_4.2.25_x86.exe' `
        -Url64 'http://www.flos-freeware.ch/zip/Notepad2_4.2.25_x64.exe' `
        -Checksum '34fcbb1967f68e51135d12043f067c23' `
        -Checksum64 '8f90342b137d8e42ab97183071c7e6aa'
    
  • tools\chocolateyUninstall.ps1 Show
    $tools = Split-Path $MyInvocation.MyCommand.Definition
    
    . $tools\uninstall.ps1
    
    $items = (Get-Uninstaller -Name 'Notepad2 (Notepad Replacement)') -split ' '
    
    $uninstaller = $items[0]
    $silent = $items[1..$items.Length] -join ' '
    
    Uninstall-ChocolateyPackage `
        -PackageName 'notepad2' `
        -FileType 'EXE' `
        -SilentArgs $silent `
        -File $uninstaller
    
  • tools\uninstall.ps1 Show
    <#
      .SYNOPSIS
    
      Get the uninstaller location for most Windows software.
    
      .DESCRIPTION
    
      This function finds the correct uninstaller given just an application name.
      Find the name from the Programs and Features Control Panel window.
    
      .PARAMETER Name
    
      The name of the application, as found in the Programs and Features applet
      in the Control Panel.
    
      .EXAMPLE
    
      Uninstall-ChocolateyPackage 'foo' 'EXE' '/S' (Get-Uninstaller -Name 'Foo')
    
      .LINK
    
      https://github.com/AnthonyMastrean/chocolateypackages/blob/master/helpers/uninstall.ps1
    #>
    function Get-Uninstaller {
      [CmdletBinding()]
      param(
        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [string] $Name
      )
    
      $local_key     = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'
      $machine_key32 = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*'
      $machine_key64 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
    
      @($local_key, $machine_key32, $machine_key64) `
        | ?{ Test-Path $_ } `
        | Get-ItemProperty `
        | ?{ $_.DisplayName -eq $Name } `
        | Select-Object -ExpandProperty UninstallString
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Florian Balmer

Tags

Release Notes

http://www.flos-freeware.ch/doc/Notepad2.txt

Version History

Version Downloads Last updated Status
Notepad2 4.2.25.3 10919 Sunday, January 26, 2014  
Notepad2 4.2.25.2 2369 Tuesday, February 7, 2012  
Notepad2 4.2.25.1 219 Wednesday, October 26, 2011  
Notepad2 4.2.25 308 Wednesday, October 26, 2011  

Discussion for the Notepad2 Package

Ground rules:

  • This discussion is only about Notepad2 and the Notepad2 package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Notepad2, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus