Topic: Get Office License not working with Office 2013 and Windows 7
Hi!
Fusion is working fine obtaining the office licenses, except in the case of Office 2013 and Windows 7.
We analysed the behaviour of perl scripts and we discovered that the problem is in the file "License.pm"
sub _getWmiSoftwareLicensingProducts {
my @licences;
foreach my $object (getWMIObjects(
moniker => 'winmgmts:\\\\.\\root\\CIMV2',
class => 'SoftwareLicensingProduct',
properties => [ qw/
Name Description LicenseStatus PartialProductKey
ProductKeyChannel ProductKeyID ProductKeyID2 ApplicationID
/ ]
With windows 7 and office 2013 the office license is written inside "OfficeSoftwareProtectionProduct", instead of "SoftwareLicensingProduct".
We want to modify the script, but the problem is that we don't know how to do it because the file ("License.pm") is created from the agent during the installation.
How can we solve it?
Thanks in advance.