mirror of https://github.com/docker/docs.git
Better shortcut checkbox, installer finished event.
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
parent
18eec21895
commit
82417e47ac
|
|
@ -47,7 +47,7 @@ Name: "upgrade"; Description: "Upgrade Docker Toolbox only"
|
||||||
Name: "custom"; Description: "Custom installation"; Flags: iscustom
|
Name: "custom"; Description: "Custom installation"; Flags: iscustom
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
Filename: "{win}\explorer.exe"; Parameters: "{userprograms}\Docker\"; Flags: postinstall; Description: "Show Shortcuts in File Explorer"
|
Filename: "{win}\explorer.exe"; Parameters: "{userprograms}\Docker\"; Flags: postinstall; Description: "View Shortcuts in File Explorer"
|
||||||
|
|
||||||
[Tasks]
|
[Tasks]
|
||||||
Name: desktopicon; Description: "{cm:CreateDesktopIcon}"
|
Name: desktopicon; Description: "{cm:CreateDesktopIcon}"
|
||||||
|
|
@ -350,12 +350,17 @@ end;
|
||||||
#include "modpath.iss"
|
#include "modpath.iss"
|
||||||
|
|
||||||
procedure CurStepChanged(CurStep: TSetupStep);
|
procedure CurStepChanged(CurStep: TSetupStep);
|
||||||
|
var
|
||||||
|
Success: Boolean;
|
||||||
begin
|
begin
|
||||||
|
Success := True;
|
||||||
if CurStep = ssPostInstall then
|
if CurStep = ssPostInstall then
|
||||||
begin
|
begin
|
||||||
if IsTaskSelected(ModPathName) then
|
if IsTaskSelected(ModPathName) then
|
||||||
ModPath();
|
ModPath();
|
||||||
if not WizardSilent() then
|
if not WizardSilent() then
|
||||||
MigrateVM();
|
Success := MigrateVM();
|
||||||
end
|
if Success then
|
||||||
|
trackEvent('Installer Finished');
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue