use $PROGRAMFILES for the root of the default $COMMONFILES instead of hard-coding "C:\Program Files"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5102 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
99208104ad
commit
6440139e8e
2 changed files with 12 additions and 5 deletions
|
@ -636,7 +636,7 @@ char * NSISCALL GetNSISString(char *outbuf, int strtab)
|
|||
{
|
||||
myRegGetStr(HKEY_LOCAL_MACHINE, SYSREGKEY, GetNSISStringNP(fldrs[0] & 0x3F), out, fldrs[0] & 0x40);
|
||||
if (!*out)
|
||||
mystrcpy(out, GetNSISStringNP(fldrs[2]));
|
||||
GetNSISString(out, fldrs[2]);
|
||||
x = 0;
|
||||
}
|
||||
else if (fldrs[0] == CSIDL_SYSTEM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue