I have the following code installing Inno.
But how can I apply this similar function to a .msi file?
msiexec /I "\package\file.msi" /qb
? How?
procedure AfterMyProgInstall(S: String); var ErrorCode: Integer; begin {MsgBox('Please wait the libraries are getting installed, ' + 'without the libraries it wont work.', mbInformation, MB_OK);} ExtractTemporaryFile(S); {SW_SHOW, SW_SHOWNORMAL, SW_SHOWMAXIMIZED, SW_SHOWMINIMIZED, SW_SHOWMINNOACTIVE, SW_HIDE} ShellExec('', ExpandConstant('{app}\package\' + S), '', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ErrorCode); end;
source share