You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nhorman
changed the title
Implement check in installer to ensure it is not installed to a user writeable location
Implement check in installer ensure admin rights, and warn about need for non-user writeable dir
May 20, 2024
we need to ensure the following:
I think the approach here is pretty straight forward.
NSIS offers support to check if we are running as admin:
https://nsis.sourceforge.io/Check_if_the_current_user_is_an_Administrator
So we can add that in to the installer script
NSIS also supports the IsWriteable macro to check the permissions on a directory
https://nsis.sourceforge.io/IsWritable
so we should be able to check if the target directory is only system writeable
The text was updated successfully, but these errors were encountered: