diff --git a/base/setup/usetup/spapisup/cabinet.c b/base/setup/usetup/spapisup/cabinet.c index 52c35ed1888..831ee8b5308 100644 --- a/base/setup/usetup/spapisup/cabinet.c +++ b/base/setup/usetup/spapisup/cabinet.c @@ -1260,7 +1260,8 @@ CabinetExtractFile( DPRINT("Cannot uncompress block\n"); if (Status == CS_NOMEMORY) Status = CAB_STATUS_NOMEMORY; - Status = CAB_STATUS_INVALID_CAB; + else + Status = CAB_STATUS_INVALID_CAB; goto UnmapDestFile; }