niminst supports NSIS
This commit is contained in:
parent
b7befd69ba
commit
55d8e71ab1
3 changed files with 53 additions and 20 deletions
|
|
@ -44,9 +44,9 @@ Name: modifypath; Description: &Add $c.displayName to your system path (if not i
|
|||
[Code]
|
||||
function GiveMeAPath(const DefaultPathName: string): string;
|
||||
begin
|
||||
if IsAdminLoggedOn then Result := ExpandConstant('{pf}')
|
||||
else Result := ExpandConstant('{userdocs}');
|
||||
Result := Result + '\' + DefaultPathName;
|
||||
if IsAdminLoggedOn then result := ExpandConstant('{pf}')
|
||||
else result := ExpandConstant('{userdocs}');
|
||||
result := result + '\' + DefaultPathName;
|
||||
end;
|
||||
|
||||
#if c.binPaths.len > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue