It isn’t as hard apparently. The script follows the manual way, just delete the folder it’s in. What is a problem seems to be changing the path - extracting, changing and reapplying the path variable seems to need 90 lines of Powershell alone. That’s just crazy. I’m also wondering how other programs write themselves into path without needing warnings and backups of the path for the user to restore.
It isn’t as hard apparently. The script follows the manual way, just delete the folder it’s in. What is a problem seems to be changing the path - extracting, changing and reapplying the path variable seems to need 90 lines of Powershell alone. That’s just crazy. I’m also wondering how other programs write themselves into path without needing warnings and backups of the path for the user to restore.