Dscho, in my humble opinion, we can just provide a reg file and don't incorporate it into the Makefile. The main reason is that this change to the registry is one-in-a-lifetime deal (unless we find an awful slow down of Explorer). So, do you really want to modify the Makefile?
Thanks! -- Kirill. > -----Original Message----- > From: Johannes Schindelin [mailto:[EMAIL PROTECTED] > Sent: Friday, January 25, 2008 8:43 AM > To: Kirill > Cc: msysGit > Subject: Re: [msysGit] [cheetah] [PATCH] Add ability to install for the > current user only > How about a new target "load": > > load: load.reg > regsvr32 -s $(TARGET) > regedit -s $@ > > load.reg: install-user.reg > WINREG=HKEY_CURRENT_USER\Software\Microsoft\Windows > cp $< $@ > echo '' >> $@ > echo '[$(WINREG)\CurrentVersion\Explorer]' >> $@ > echo '"DesktopProcess"="1"' >> $@ > echo '' >> $@ > echo '[$(WINREG)\CurrentVersion\Explorer\AlwaysUnloadDll]' >> $@
