[Idea] Improve VBS deployment with a check is installed correctly or retry #505
Replies: 3 comments 2 replies
-
Hi @kintaro1981 thank you for sharing this problem. I've to try to reproduce it by running another MSI install to see what error we can catch. |
Beta Was this translation helpful? Give feedback.
-
Hi @kintaro1981 I was able to reproduce the problem and I agree this is still an important issue. So I also included an update in the PR #507 for this request. After you tried it and can you comment the PR and/or this issue ? Thank you |
Beta Was this translation helpful? Give feedback.
-
I'm going to try it in the next days. In case of error installing GLPI-Agent the vbs is going to avoid the uninstallation of fusioninventory/ocs? Reading the main section I understand that the uninstallation happens before the installation of GLPI, right? |
Beta Was this translation helpful? Give feedback.
-
Your idea
Hello,
I noticed that if I run the VBS and meanwhile another MSI is running (usually quietly in background) GLPI-Agent's msi obviously don't get installed as Windows can run one MSI at a time. If this happens the VBS doesn't notice the failed installation and fusioninventory get uninstalled.
This produce an issue, if you don't double check or if it's the vbs is launched remotely the result is that client is without any agent. (fusion uninstalled and glpi-agent not installed).
How about add a check if the msi installation is successfull?
Maybe running again the IsInstallationNeeded function before the end to do a check?
Beta Was this translation helpful? Give feedback.
All reactions