Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Office 365- 2016 pluging, #58

Open
jglezc opened this issue Dec 24, 2019 · 1 comment
Open

Office 365- 2016 pluging, #58

jglezc opened this issue Dec 24, 2019 · 1 comment

Comments

@jglezc
Copy link

jglezc commented Dec 24, 2019

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
Copy link
Author

jglezc commented Dec 25, 2019

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.

;))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant