ChangemakerStudios / Papercut-SMTP

Papercut SMTP -- The Simple Desktop Email Server
2.95k stars 272 forks source link

v7.0.0 - Run on Startup registers papercut.dll #279

Open rikrak opened 2 hours ago

rikrak commented 2 hours ago

Describe the bug I've installed Papercut 7.0.0 on Windows 11. I want it to run when I login, so I ticked the "run on Startup" option in the options dialog. When I login, windows tries to execute papercut.dll

To Reproduce Steps to reproduce the behavior:

  1. Run Papercut
  2. Click on Options
  3. Enable Run on Startup
  4. Click Save
  5. Logoff Windows, then logon (or restart Windows)

Expected behavior Papercut should run after logging in

Screenshots This is taken from the papercut log: [Information] Setting AppStartup Registry "SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Papercut.App" to Run Papercut at "C:\Users\rikc\AppData\Local\PapercutSMTP\current\Papercut.dll"

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

rikrak commented 2 hours ago

Workaround Changing the registry entry... HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Papercut.App to point to C:\Users\<USERNAME>\AppData\Local\PapercutSMTP\current\Papercut.exe fixes the issue