OLM removes System PATH variable on Windows11 #22

Closed
opened 2025-11-19 07:04:19 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @Kazumasan on GitHub (Nov 10, 2025).

Originally assigned to: @oschwartz10612, @Copilot on GitHub.

Describe the Bug

When the Program is uninstalled, it removes the whole SYSTEM PATH variable, not only the entry for OLM on Windows11

Healthy System PATH var:

Image

after uninstall and reinstall 😄

Image

Noticed because I wanted to check tunnel status, after uninstalling 0.8 and reinstalling 1.0, with route and ping but got this in return.

Image

Environment

  • OS Type & Version: Win11 24H2 26100
  • Olm Version: (if applicable): 0.8 - 1.0

  • Pangolin Version: N/A
  • Gerbil Version: N/A
  • Traefik Version: N/A
  • Newt Version: N/A

To Reproduce

Uninstall OLM and check Path with powershell or GUI

[System.Environment]::GetEnvironmentVariable('PATH', 'Machine')

Expected Behavior

Just remove the Entry for OLM from System path.

Originally created by @Kazumasan on GitHub (Nov 10, 2025). Originally assigned to: @oschwartz10612, @Copilot on GitHub. ### Describe the Bug When the Program is uninstalled, it removes the whole SYSTEM PATH variable, not only the entry for OLM on Windows11 Healthy System PATH var: <img width="1464" height="174" alt="Image" src="https://github.com/user-attachments/assets/0ad20d4a-99ad-41b9-85ad-b0b2f45490fb" /> after uninstall and reinstall 😄 <img width="795" height="215" alt="Image" src="https://github.com/user-attachments/assets/cf49380f-0781-425b-b34c-9e772bc0ab3f" /> Noticed because I wanted to check tunnel status, after uninstalling 0.8 and reinstalling 1.0, with `route` and `ping` but got this in return. <img width="1233" height="252" alt="Image" src="https://github.com/user-attachments/assets/937596f3-a214-4c92-a354-a404ef509c40" /> ### Environment - OS Type & Version: Win11 24H2 26100 - Olm Version: (if applicable): 0.8 - 1.0 ---- - Pangolin Version: N/A - Gerbil Version: N/A - Traefik Version: N/A - Newt Version: N/A ### To Reproduce Uninstall OLM and check Path with powershell or GUI `[System.Environment]::GetEnvironmentVariable('PATH', 'Machine') ` ### Expected Behavior Just remove the Entry for OLM from System path.
GiteaMirror added the bug label 2025-11-19 07:04:19 -06:00
Author
Owner

@oschwartz10612 commented on GitHub (Nov 10, 2025):

Could you confirm if this still is an issue with the latest version?

@oschwartz10612 commented on GitHub (Nov 10, 2025): Could you confirm if this still is an issue with the latest version?
Author
Owner

@Kazumasan commented on GitHub (Nov 10, 2025):

@oschwartz10612 Sorry, actually is current version. It's missreported on installed Apps:

Image Image
@Kazumasan commented on GitHub (Nov 10, 2025): @oschwartz10612 Sorry, actually is current version. It's missreported on installed Apps: <img width="731" height="85" alt="Image" src="https://github.com/user-attachments/assets/5fa38c14-8b93-462d-8513-364b05e22f6c" /> <img width="634" height="30" alt="Image" src="https://github.com/user-attachments/assets/09df7b74-b0fb-4c7c-b3b4-49b20097a533" />
Author
Owner

@oschwartz10612 commented on GitHub (Nov 11, 2025):

I think this has to do with the PATH code in https://github.com/fosrl/olm/blob/main/olm.iss

@oschwartz10612 commented on GitHub (Nov 11, 2025): I think this has to do with the PATH code in https://github.com/fosrl/olm/blob/main/olm.iss
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/olm#22