From 0e0b07fac670769a94f1d076793bc9ae06774cad Mon Sep 17 00:00:00 2001 From: Guillaume Chanaud Date: Mon, 1 Apr 2019 16:13:27 +0200 Subject: [PATCH] Relying on SKU ID to write output Now relying on SKU ID presence to set the flag to write XML output as i was previously relying only on PRODUCT ID presence which is not available on Office15 (Office 2013) OSPP.vbs (there was no XML output in this case) --- agent/msofficekey.vbs | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/msofficekey.vbs b/agent/msofficekey.vbs index bfc1d79..dfa74c2 100644 --- a/agent/msofficekey.vbs +++ b/agent/msofficekey.vbs @@ -236,6 +236,7 @@ Sub getOfficeOSPPInfos(version) ' Debug : echo office data ' WScript.echo "oProdId = " & oProdID Case "SKU ID" + writeProduct = 1 oGUID = mTab(1) ' Debug : echo office data ' WScript.echo "oGUID = " & oGUID