Better shortcut checkbox, installer finished event.

Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
Jeffrey Morgan 2015-08-30 16:45:32 -07:00
parent 18eec21895
commit 82417e47ac
1 changed files with 8 additions and 3 deletions

View File

@ -47,7 +47,7 @@ Name: "upgrade"; Description: "Upgrade Docker Toolbox only"
Name: "custom"; Description: "Custom installation"; Flags: iscustom
[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]
Name: desktopicon; Description: "{cm:CreateDesktopIcon}"
@ -350,12 +350,17 @@ end;
#include "modpath.iss"
procedure CurStepChanged(CurStep: TSetupStep);
var
Success: Boolean;
begin
Success := True;
if CurStep = ssPostInstall then
begin
if IsTaskSelected(ModPathName) then
ModPath();
if not WizardSilent() then
MigrateVM();
end
Success := MigrateVM();
if Success then
trackEvent('Installer Finished');
end;
end;