Skip to content

Fix UninstallString issues with paths with spaces#352

Merged
si458 merged 3 commits into
Ylianst:masterfrom
panreyes:master
Jun 2, 2026
Merged

Fix UninstallString issues with paths with spaces#352
si458 merged 3 commits into
Ylianst:masterfrom
panreyes:master

Conversation

@panreyes

Copy link
Copy Markdown
Contributor

UninstallString requires the exe path to have double quotes in case the path includes any spaces.

@si458

si458 commented May 28, 2026

Copy link
Copy Markdown
Collaborator

hmmm, is this linked to any feature/problem?
only reason is this would require new agents being built as its a module thats embedded
(btw u forgot to embed it haha)

@panreyes

Copy link
Copy Markdown
Contributor Author

I was trying the SoftwareInventory feature and I noticed I couldn't uninstall MeshAgent. I went to the Registry and noticed that the executable path was not correct, as it didn't have double quotes around and it may be interpreted as multiple parameters when the paths have spaces in it (like C:\Program Files).

And yes, I forgot that they need to be embedded, I will add that later :)

@si458

si458 commented May 28, 2026

Copy link
Copy Markdown
Collaborator

yeh ok! just rechecked, groan yet another agent update, add to the list haha

@si458 si458 merged commit f3e031a into Ylianst:master Jun 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants