PluginsOCSInventory-NG / officepack

Retrieve microsoft office keys
GNU General Public License v2.0
15 stars 27 forks source link

Office 365- 2016 pluging, #58

Open jglezc opened 4 years ago

jglezc commented 4 years ago

Helooo.... I use pluging officepack-3.0

ocsinventoryng repo fedora OCS Inventory 2.6

Windows agent v2.6.0.0

If the agent is automatic, office 365 and 2016 are deleted from the ocsreport. I´m running "OCSInventory.exe / NP / Debug = 2 / xml = c: \ temp" and then importing "archive.xml" to the server Office 365 and Office 2016 appear in the database. Some help ...

I have also observed that the officepack-3.0 plugin only creation the officepack database.

in the install.php I see // Officepark tables creation include sql/officepack-php include sql/officepacl-guid-fr.php // but officepacl-guid-fr.php not ejecuted

I have manually created all the databases in the officepack-guid-fr.sql, with all its data. The result is the same office 365 and 2016, when it runs automatically they are deleted.

Please help ,

Thank you

Sorry for my English I use a translator.

jglezc commented 4 years ago

hello again I answer myself ;;) He seems to dislike reading the file in c: \ Users \% username \ output.txt. Changing the line.... result = WshShell.Run("cmd /c cscript ""C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS"" /dstatus > c:\temp\output.xml", 0, true)

works perfectly.

For if it helps someone.

;))