From 6c5f1576a64b90a3c1b7f2feb219a0a78e8ad0a5 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Mon, 27 Sep 2010 13:01:51 +0200 Subject: [PATCH] Installer: Fix creating the special shell link without a working directory Signed-off-by: Sebastian Schuberth --- share/WinGit/install.iss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/share/WinGit/install.iss b/share/WinGit/install.iss index 83fe4e90..987d43f2 100644 --- a/share/WinGit/install.iss +++ b/share/WinGit/install.iss @@ -994,13 +994,15 @@ begin ); end; - // Create a special shortcut that does not set a working directory. This is used by "Git Bash.vbs", which in turn is run by the "Git Bash Here" shell extension. + // Create a special shortcut that does not set a working directory (Note: Since Inno Setup 5.3.11, + // passing an empty WorkingDir gets replaced with {sys}, so use '.' instead). + // This shortcut is used by "Git Bash.vbs", which in turn is run by the "Git Bash Here" shell extension. CreateShellLink( AppDir+'\Git Bash.lnk' , 'Git Bash' , Cmd , TempName - , '' + , '.' , FileName , 0 , SW_SHOWNORMAL -- 2.11.4.GIT