Ultimaker / cura-build-environment

CMake project to build dependencies for Cura
GNU Affero General Public License v3.0
24 stars 55 forks source link

Make it possible for another user to uninstall. #156

Closed rburema closed 2 years ago

rburema commented 2 years ago

Users other than the original installer, can't easily uninstall, even if they have the rights. This should be possible. Users without the rights can still try to start the program, but would then need permission and get kicked out. 'HKCU' is a shorthand referring only to the current user. 'HKCR' is a shorthand that refers both to the current user and the local machine. Most (except one) of the registry keys in the old setup (with CPack) where 'installed' to the latter, only one, which doesn't even seem to exist anymore in the new setup, referred to the former. In short: This commit should restore the ability to uninstall Cura from any sufficiently elevated account to do such action, as was done by the 'old' build-system.

should fix Cura/#12582

rburema commented 2 years ago

Ah we deprecated ..-environment as well I see. I'll open another one in Cura itself then. Closed in preference of https://github.com/Ultimaker/Cura/pull/12709