Compile-time Environment Variables vs. Run-time Environment Variables
I know about the built in variable for X:\Program Files during installation: It is $PROGRAMFILES
However, I need one for my development environment as well (my %HOMEDRIVE% is not C: but rather G:). Unfortunately $PROGRAMFILES does not expand at NSIS script compile-time.
Is there a way to use system environment variables in an NSIS script? (I tried $HOMEDRIVE but it didn't work).
Thanks,
Victor