1 ISDone.iss
//Установка Доп.ПО
if Soft then begin
LabelOne.Caption:= CustomMessage('SoftInstall');
ExecAndWait(ExpandConstant('{app}\Soft\dxwebsetup.exe'), '/Q', '', SW_SHOW, True);
ExecAndWait(ExpandConstant('{app}\Soft\vcredist_x86.exe'), '/Q', '', SW_SHOW, True);
ExecAndWait(ExpandConstant('{app}\Soft\vcredist_x86.exe'), '/Q', '', SW_SHOW, True);
end;
//Установка Доп.ПО
2 MusicSkripts.iss
MusicButton:= BtnCreate(WizardForm.Handle, ScaleX(19), ScaleY(17), ScaleX(25), ScaleY(25), 'MusicButton.png', 1, True);
3 MainScripts.iss
#ifdef MD5
hMD5Btn:= BtnCreate(WizardForm.Handle, ScaleX(717), ScaleY(472), ScaleX(130),ScaleY(40), 'Button.png', 1, False);
BtnSetFont(hMD5Btn, WFButtonFont.Handle);
BtnSetFontColor(hMD5Btn, {#FontColor}, $FFFFFF, $FFFFFF, $FFFFFF);
BtnSetEvent(hMD5Btn, BtnClickEventID, CallBackAddr('MD5Hash'));
BtnSetCursor(hMD5Btn, GetSysCursorHandle(32649));
BtnSetText(hMD5Btn, 'Проверить MD5');
#endif