From ecd9cd8dd2c0310eeeddf88b481f8fce97c2b2ee Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Mon, 25 Sep 2023 11:26:28 +0100 Subject: [PATCH] office 2k7 enterprise must be given inst id --- src/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.cpp b/src/cli.cpp index 5c7d6be..1d38966 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -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; }