• Login
Community
  • Login

Notepad++ Version Standardization request

Scheduled Pinned Locked Moved General Discussion
version control
1 Posts 1 Posters 2.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Robert J
    last edited by Feb 9, 2018, 6:53 PM

    Hello all,

    I have completed an Ansible role to install Notepad++.

    Here is the code if anyone is interested:

    - name: Set Notepad++ Version
      set_fact:
        version: 7.5.4
    
    - name: Installing Notepad++
      win_package:
        path: 'https://notepad-plus-plus.org/repository/7.x/{{ version }}/npp.{{ version }}.Installer.x64.exe'
        arguments: '/S'
        creates_version: '7.54'
        creates_path: 'C:\Program Files\Notepad++\notepad++.exe'
        state: present
      when: ansible_os_family == 'Windows'
    
    - name: Add Notepad++ to Path Variable on Windows hosts
      win_path:
        elements:
        - 'C:\Program Files\Notepad++'
      when: ansible_os_family == 'Windows'
    

    However, during this process, I noted that there is some inconsistency with the current version (between the FileVersion Property value and the Registry Version value).

    This is best shown via PowerShell:

    PS C:\Windows\system32> [System.Diagnostics.FileVersionInfo]::GetVersionInfo('C:\Program Files\Notepad++\notepad++.exe').FileVersion
    7.54
    PS C:\Windows\system32> (Get-ItemProperty -Path Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++).DisplayVersion
    7.5.4
    PS C:\Windows\system32>
    

    Is there any way that file version property could be updated in future releases to match what is displayed on the website and in the Registry?

    Thanks for your time and consideration.

    Respectfully,
    Robert J.

    1 Reply Last reply Reply Quote 1
    1 out of 1
    • First post
      1/1
      Last post
    The Community of users of the Notepad++ text editor.
    Powered by NodeBB | Contributors