Home > Back-end >  Inno step error problem package installation is complete
Inno step error problem package installation is complete

Time:09-17

Do with inno step installation package, write a script to customize interface, use two dynamic library innocallback. DLL botva2. DLL
Package to address the installation error,
Watch before exiting call WizardForm. Release,

My question where tuning WizardForm. Release?

I in this function below is adjustable, but still in error (WIN10 don't quote, Windows 7
Procedure DeinitializeSetup ();
Var RCode: Integer;
The begin

//check whether need to automatically run
If BtngetChecked (checkboxAutoRun)=true then
The begin
The Exec (ExpandConstant (' {app} \ bin \ {# MyAppExeName} '), ' ', ' ', SW_SHOW, ewNoWait, RCode);
End
WizardForm. Release;
//gdipShutdown;

The end;

CodePudding user response:

There are more than ten years without it, all forget,

CodePudding user response:

I look at the former two years writing a script installation, also use innocallback. DLL and botva2. DLL, finally start software and close the installation of the main window, that such implementation:
 
Procedure RunBtnClick (hBtn: HWND);
Var
RCode: Integer;
The begin
WizardForm. NextButton. OnClick (WizardForm);
ShellExec (' ', ExpandConstant (' {} app \ postil exe '), ' ', ' ', SW_SHOWNORMAL, ewNoWait, RCode);
The end;

Not by WizardForm. Release to close the main window, in win10 and Windows 7 are tried, the user did not reflect an error,

CodePudding user response:

Look at news callback function, general closure error is news callback processing,
  • Related