Commit a47343b9 authored by Alexandre Julliard's avatar Alexandre Julliard

msi: Return an error code instead of a button id in msi_change_media().

parent dc80a003
......@@ -97,7 +97,7 @@ static UINT msi_change_media(MSIPACKAGE *package, MSIMEDIAINFO *mi)
msiobj_release(&record->hdr);
msi_free(source_dir);
return r;
return r == IDRETRY ? ERROR_SUCCESS : ERROR_INSTALL_SOURCE_ABSENT;
}
static MSICABINETSTREAM *msi_get_cabinet_stream( MSIPACKAGE *package, UINT disk_id )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment