From 6d932bfa030276eb7180df1b0cb04852bb19ae5e Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 21 Oct 2015 20:30:02 -0700 Subject: [PATCH] Set global environment variable for kitematic and other tools Signed-off-by: Jeffrey Morgan --- windows/Toolbox.iss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/Toolbox.iss b/windows/Toolbox.iss index dbf2affa..5b35bbaf 100644 --- a/windows/Toolbox.iss +++ b/windows/Toolbox.iss @@ -86,6 +86,9 @@ Filename: "{app}\delete.sh" [UninstallDelete] Type: filesandordirs; Name: "{localappdata}\..\Roaming\Kitematic" +[Registry] +Root: HKCU; Subkey: "Environment"; ValueType:string; ValueName:"DOCKER_TOOLBOX_INSTALL_PATH"; ValueData:"{app}" ; Flags: preservestringtype ; + [Code] #include "base64.iss" #include "guid.iss" @@ -242,7 +245,7 @@ begin TrackingLabel.Height := 100; // Don't do this until we can compare versions - Wizardform.ComponentsList.Checked[2] := NeedToInstallVirtualBox(); + // Wizardform.ComponentsList.Checked[2] := NeedToInstallVirtualBox(); Wizardform.ComponentsList.ItemEnabled[2] := not NeedToInstallVirtualBox(); Wizardform.ComponentsList.Checked[4] := NeedToInstallGit(); Wizardform.ComponentsList.ItemEnabled[4] := not NeedToInstallGit();