Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Set global environment variable for kitematic and other tools
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Morgan <[email protected]>
  • Loading branch information
jmorganca committed Oct 22, 2015
1 parent 1b1d1e3 commit 6d932bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion windows/Toolbox.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 6d932bf

Please sign in to comment.