← Home ← Back to /g/

Thread 106266083

5 posts 4 images /g/
Anonymous No.106266083 >>106266134
is it possible to make a program uninstall itself if the user does a specific action?
Anonymous No.106266134 >>106266254
>>106266083 (OP)
Its possible. I remember some game called VBS2 Lite that would uninstall itself if you friendly fired.
Anonymous No.106266254 >>106266448 >>106266745
>>106266134
based, how difficult is it to implement such a thing? i would assume invoking an uninstall would require superuser privileges no matter what
Anonymous No.106266448
>>106266254
Either have the game not install per se, it's a portable app that can be deleted by a regular user, or have the program con the user into running it as admin because "we need it for some drm shit" which is technically true.
Anonymous No.106266745
>>106266254
>invoking an uninstall would require superuser privileges
not if you just install into %localappdata% like a lot of nu-apps do nowadays (they do it so they can force-updoot without asking for permission)