Skip to content

Commit

Permalink
- changed: log message
Browse files Browse the repository at this point in the history
  • Loading branch information
saramibreak committed Sep 5, 2021
1 parent 39b1070 commit 07cf3c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions DiscImageCreator/execScsiCmdforCDCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1793,12 +1793,14 @@ BOOL ReadCDForCheckingExe(
}

if (!strncmp((LPCCH)&lpBuf[0], "MSCF", 4)) {
OutputString(
"\nDetected MicroSoft Cabinet File: %" CHARWIDTH "s\n"
, pDisc->PROTECT.pFullNameForExe[n]
);
if (pExtArg->byMicroSoftCabFile) {
#ifdef _WIN32
OutputString(
"\nDetected MicroSoft Cabinet File: %" CHARWIDTH "s\n"
"Please wait until all files are extracted. This is needed to search protection\n"
, pDisc->PROTECT.pFullNameForExe[n]
);
_tcscat(szTmpPath, _T("!extracted\\"));
ProcessDirectory(pExtArg, pDisc, szTmpPath, FILE_CREATE);
Expand All @@ -1813,6 +1815,9 @@ BOOL ReadCDForCheckingExe(
// TODO: linux can use cabextract
#endif
}
else {
OutputString("/mscf is needed to extract it\n");
}
}
else if (!strncmp((LPCCH)&lpBuf[0], "ISc(", 4)) {
#ifdef _WIN32
Expand Down

0 comments on commit 07cf3c6

Please sign in to comment.