office 2k7 enterprise must be given inst id

This commit is contained in:
whatdoineed2do/Ray 2023-09-25 11:26:28 +01:00
parent 6989ae6c94
commit ecd9cd8dd2
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) {
}
// make sure that a product id is entered for OFFICE_2K3 or OFFICE_2K7 IIDs
if ((options->activationMode == OFFICE_2K3 || options->activationMode == OFFICE_2K7) && options->productid == "") {
if ((options->activationMode == OFFICE_2K3 || options->activationMode == OFFICE_2K7) && (options->productid.empty() || options->instid.empty()) ) {
return options->error = true;
}