Get Software GUID on inventory [Q&A] #726
-
Documentation & bug reporting acknowledgmentYes, I read it Describe your problemHi, i dont know if this could be a feature. But in my case i deploy the software package and install with msiexec and /quiet parameter but if i have to uninstall i need the software guid to execute the msiexec /x {GUID} to uninstall. Thanks in advance! Regards! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
GUID is collected by GLPI-Agent and it is visible in software inventory only. I checked GLPI code and it only uses it to set software name if software has no name. So you have no way to get it automatically in GLPI. Anyway, I think you can get it directly from the package you installed if you're only interested by uninstalling software you installed with Deploy task. You should have some windows tools to extract this data from the package, but I don't know them myself. To summarize, agent takes keys from HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall as GUID, and report as NAME the "DisplayName" field.
Maybe Collect task can help you to list all GUID with included DeisplayName. |
Beta Was this translation helpful? Give feedback.
Hi @EmilianoCagliari
GUID is collected by GLPI-Agent and it is visible in software inventory only. I checked GLPI code and it only uses it to set software name if software has no name. So you have no way to get it automatically in GLPI.
Anyway, I think you can get it directly from the package you installed if you're only interested by uninstalling software you installed with Deploy task. You should have some windows tools to extract this data from the package, but I don't know them myself.
If you're also interested to uninstall software still installed, you'll have to get a full inventory of the computer and check the software category.
Eventually, you can run a software partial inventory…