Hello,
I would like to install Microsoft Access Runtime, before installing my application, if it's not already installed.
I saw that I can use a beforeinstall parameter in [Files] section, but I don't know how to do that, as if have not for example to manage DestDir: ...
Should these below lines be correct ?
[Files]
Source: "MicrosoftAccessRuntime.exe"; BeforeInstall: MyBeforeInstall
[Code]
procedure MyBeforeInstall();
begin
MsgBox('About to install Microsoft Access Runtime as ' + CurrentFileName + '.', mbInformation, MB_OK);
end;
Thanks for your help !
Bernard