Skip to content

Commit d757a50

Browse files
committed
Merge branch 'fixes'
2 parents 89fe774 + 3466a29 commit d757a50

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Broker:
1414
mosquitto 1.5 or earlier is loaded. Closes #3439.
1515
- Limit auto_id_prefix to 50 characters. Closes #3440.
1616

17+
Windows:
18+
- Installer will not overwrite an existing mosquitto.conf
19+
1720

1821
2.0.22 - 2025-07-11
1922
===================

installer/mosquitto.nsi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Section "Files" SecInstall
5757
File "..\build\plugins\dynamic-security\Release\mosquitto_dynamic_security.dll"
5858
File "..\aclfile.example"
5959
File "..\ChangeLog.txt"
60-
File "..\mosquitto.conf"
6160
File "..\NOTICE.md"
6261
File "..\pwfile.example"
6362
File "..\README.md"
@@ -67,6 +66,10 @@ Section "Files" SecInstall
6766
File "..\edl-v10"
6867
File "..\epl-v20"
6968

69+
SetOverwrite off
70+
File "..\mosquitto.conf"
71+
SetOverwrite on
72+
7073
File "..\build\vcpkg_installed\x86-windows\bin\cjson.dll"
7174
File "..\build\vcpkg_installed\x86-windows\bin\libcrypto-3.dll"
7275
File "..\build\vcpkg_installed\x86-windows\bin\libssl-3.dll"

installer/mosquitto64.nsi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Section "Files" SecInstall
5858
File "..\build64\plugins\dynamic-security\Release\mosquitto_dynamic_security.dll"
5959
File "..\aclfile.example"
6060
File "..\ChangeLog.txt"
61-
File "..\mosquitto.conf"
6261
File "..\NOTICE.md"
6362
File "..\pwfile.example"
6463
File "..\README.md"
@@ -68,6 +67,10 @@ Section "Files" SecInstall
6867
File "..\edl-v10"
6968
File "..\epl-v20"
7069

70+
SetOverwrite off
71+
File "..\mosquitto.conf"
72+
SetOverwrite on
73+
7174
File "..\build64\vcpkg_installed\x64-windows-release\bin\cjson.dll"
7275
File "..\build64\vcpkg_installed\x64-windows-release\bin\libcrypto-3-x64.dll"
7376
File "..\build64\vcpkg_installed\x64-windows-release\bin\libssl-3-x64.dll"

0 commit comments

Comments
 (0)