Ho questo codice seguente con Inno Setup.Come gestire il file .msi con Inno Setup?
Ma come posso applicare questa funzione simile al file .msi?
msiexec /I "\package\file.msi" /qb
? Come?
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;
C'è un modo per disinstallare automaticamente il msi come parte della routine di disinstallazione InnoSetup però? – Nyerguds