Skip to content

Notepad++ installer doesn't update already existing files in the “autoCompletion” folder #14749

@przemo20

Description

@przemo20

Description of the Issue

Notepad++ installer doesn't update the files that are already present in the C:\Program Files\Notepad++\autoCompletion folder, even if the installation of the “Auto-completion Files” component was ticked during install.

Example Steps to Reproduce the Issue

  1. Clean install Notepad++ v8.5.6 (without changing anything during installation, maybe apart unselecting the “Run Notepad++ v8.5.6” at the end of the installation)
  2. Go to C:\Program Files\Notepad++\autoCompletion and check the modification date of the css.xml file –
    it should say May ‎27, ‎2021, ‏‎12:57:56 AM.
  3. Now install Notepad++ v8.6.3 (on top of the existing installation)
  4. After the installation is done, go back to C:\Program Files\Notepad++\autoCompletion and check the modification date of the same file again – the date should be still the same.
  5. Delete the css.xml file and run the Notepad++ installer for the version 8.6.3 (same default settings), go back to the same location and check the css.xml file – now the modification date should update and say February ‎11, ‎2024, ‏‎5:43:26 PM.

Expected Behavior

Notepad++ installer should update the files found in the autoCompletion directory if the installation of the “Auto-completion Files” component was selected during install.

Actual Behavior

Notepad++ installer adds only the files that were missing from the autoCompletion directory.

Debug Information

Notepad++ v8.6.3   (64-bit)
Build time : Feb 16 2024 - 20:08:05
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.4046
Current ANSI codepage : 1250
Plugins : 
    ComparePlus (1.1)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    PoorMansTSqlFormatterNppPlugin (1.6.13.31508)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions