diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-16 23:12:16 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-16 23:49:18 -0700 |
commit | 927ce14064e931edcf9f55582fd6a4f4b7c0567c (patch) | |
tree | 06075ebd3f957a1b0e8fce2d3a4ca7afb17fd10e /tests/017/flexstruct.tl | |
parent | f7ce2c45562e9a996c6a77a469f1036c80a6b780 (diff) | |
download | txr-927ce14064e931edcf9f55582fd6a4f4b7c0567c.tar.gz txr-927ce14064e931edcf9f55582fd6a4f4b7c0567c.tar.bz2 txr-927ce14064e931edcf9f55582fd6a4f4b7c0567c.zip |
windows: don't require admin privilege.
* inst.nsi (RequestExecutionLevel): Use the value "highest"
instead of "admin", so that privilege is required for users
that have it, otherwise not.
(AccountType): New variable.
(.onInit): Obtain the account type and store it in AccountType.
Default the installation directory to $LOCALAPPDATA.
If the user is admin, change the default to the appropriate
Program Files directory.
(TXR): If the user isn't admin, add TXR to the current user's PATH
rather than the system PATH for everyone.
(Uninstall): Remove TXR from the appropriate PATH.
Diffstat (limited to 'tests/017/flexstruct.tl')
0 files changed, 0 insertions, 0 deletions