Corey Butler
1216b37643
Merge pull request #459 from noelhibbard/installer-improvments
...
Installer improvements when alt creds are required for elevation
2023-02-13 19:54:18 -06:00
David Byrne
4035e4ac5e
Fix install.cmd PATH bug
...
If the PATH environment variable has parentheses, `(echo PATH=%PATH%)` will fail, but the parentheses don't seem to be needed.
2023-01-18 11:19:47 -07:00
coreybutler
ec5ebc172c
Backup PATH env variable to file (precautionary). Fixes #662
2021-09-10 22:44:18 -05:00
Ron Buckton
dc918c4e42
Do not elevate unless necessary
...
This changes `elevate.cmd` to first try to execute the requested command *without* elevation. If the command failed (i.e., `ERRORLEVEL` was non-zero), then retry the command with elevation.
Fixes #510
2020-02-11 11:57:24 -08:00
Noel Hibbard
ef93d14f6f
Typo when setting NVM_SYMLINK
2019-07-07 18:28:15 -04:00
Noel Hibbard
6cf92c69c0
Set/Unset user environment as origional non-admin user
2019-07-07 18:05:03 -04:00
Dawid Gosławski
0a1f322c6a
Define that NVM_PATH is for nvm
2019-06-26 10:13:34 +02:00
tomisawk
238992a6f5
Avoid mixing user-environment PATH and system-environment PATH
...
%PATH% expands to the system plus the user variables,
so if user defined user-environment PATH, 'setx /M PATH "%PATH%;..."'
mixes user-environment PATH and system-environment PATH.
2018-05-16 22:56:29 +09:00
tomisawk
a175c5987a
Set environment variables for current process
...
setx command doesn't affect current process, so use also 'set VAR=VALUE'
2018-05-16 22:42:15 +09:00
Corey Butler
36c592d2f8
Added a manual installer, courtesy @heri16. Closes #20 .
2014-11-18 13:51:43 -06:00
Corey Butler
9e48a87faa
Added helper scripts and icon
2014-10-02 17:48:07 -05:00