Tengo este código siguiente con Inno Setup.¿Cómo manejar el archivo .msi con Inno Setup?
¿Pero cómo puedo aplicar esta función similar al archivo .msi?
msiexec /I "\package\file.msi" /qb
? ¿Cómo?
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;
¿Hay alguna forma para desinstalar automáticamente el msi como parte de la rutina de desinstalación ınnosetup sin embargo? – Nyerguds