File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,10 @@ Source: ..\..\git-lfs-x64.exe; DestDir: "{app}"; Flags: ignoreversion; DestName:
52
52
Source : ..\..\git-lfs-x86 .exe; DestDir : " {app} " ; Flags : ignoreversion ; DestName : " git-lfs.exe" ; AfterInstall : InstallGitLFS; Check : not Is64BitInstallMode
53
53
54
54
[Registry]
55
- Root : HKLM; Subkey : " SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ; ValueType : expandsz ; ValueName : " Path" ; ValueData : " {olddata};{app} " ; Check : NeedsAddPath(' {app} ' )
56
- Root : HKLM; Subkey : " SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ; ValueType : string ; ValueName : " GIT_LFS_PATH" ; ValueData : " {app} "
55
+ Root : HKLM; Subkey : " SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ; ValueType : expandsz ; ValueName : " Path" ; ValueData : " {olddata};{app} " ; Check : IsAdminLoggedOn and NeedsAddPath(' {app} ' )
56
+ Root : HKLM; Subkey : " SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ; ValueType : string ; ValueName : " GIT_LFS_PATH" ; ValueData : " {app} " ; Check : IsAdminLoggedOn
57
+ Root : HKCU; Subkey : " Environment" ; ValueType : expandsz ; ValueName : " Path" ; ValueData : " {olddata};{app} " ; Check : (not IsAdminLoggedOn) and NeedsAddPath(' {app} ' )
58
+ Root : HKCU; Subkey : " Environment" ; ValueType : string ; ValueName : " GIT_LFS_PATH" ; ValueData : " {app} " ; Check : not IsAdminLoggedOn
57
59
58
60
[Code]
59
61
function GetDefaultDirName (Dummy: string): string;
You can’t perform that action at this time.
0 commit comments