From c7f98e7bdc04c1fc641b772d644204b9384ec4aa Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 23 Sep 2007 01:11:14 +0100 Subject: [PATCH] WinGit: Install Git for All Users Johannes Schmidt-Ehrenberg realized that WinGit installed Git only for the current user. Git is too good, however, to keep it to yourself, so we install it for all users. Signed-off-by: Johannes Schindelin --- share/WinGit/install.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/WinGit/install.tcl b/share/WinGit/install.tcl index c6ebeb61b0..87cc2e0eee 100644 --- a/share/WinGit/install.tcl +++ b/share/WinGit/install.tcl @@ -95,9 +95,9 @@ proc installGit {} { tkwait window .question if {$answer == 1} { package require registry 1.0 - set key "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows" + set key "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows" set key "$key\\CurrentVersion\\Explorer\\Shell Folders" - set programs [registry get $key "Programs"] + set programs [registry get $key "Common Programs"] file mkdir $programs/$startMenuName lappend destinations $programs/$startMenuName } -- 2.11.4.GIT