eclipse-mosquitto / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
9.1k stars 2.4k forks source link

Windows Installer: Cannot install when Mosquitto service is running #1815

Open schlotter opened 4 years ago

schlotter commented 4 years ago

Steps to reproduce

  1. Install Mosquitto as Windows service using installer.
  2. Ensure Mosquitto is running as service.
  3. Install Mosquitto as Windows service again using installer.

Observed behavior

The installer cannot open mosquitto.exe for writing and it reports Error opening file for writing. Error opening file for writing

Expected behavior

ansel2000 commented 2 years ago

Facing the same issue is there any solution that you have come by?

schlotter commented 2 years ago

The workaround is to stop or kill the mosquitto process prior to installation.