Notepad++ Version Standardization request
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login