View Single Post
  #13  
Old 12-12-2022, 12:44
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,372
Thanked 89 Times in 48 Posts
Gehrman is on a distinguished road
Thank you Cesar82
The first bug is missing in "CIUv3 3.0.0.1.b9.u1 (2021.09.11)".

The second bug
It seems to be fixed with these changes.
Without using Diskspan, of course

Code:
function BrowseArcFile(const ArcFile, Disk: String; var SrcDir: String): String;
...........................
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := True;
        ResumeProc;
        WizardForm.CancelButton.OnClick(nil);
      end;
Change to
Code:
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := False;
        ResumeProc;
        ClickButton(@CancelBtnClick, nil);
      end;
It is better to be like ASIS so that the installation process can be canceled by clicking Cancel.

Last edited by Gehrman; 12-12-2022 at 13:50.
Reply With Quote