Hi,
Thank you for reaching out regarding the silent installation of the Lansweeper IT Agent. We understand the importance of a non-interactive installation for deploying to many devices automatically.
Looking at your command and comparing it with our Knowledge Base article, it seems there are a couple of points to clarify that should help you achieve a truly silent installation:
- Silent Switch: The Knowledge Base article specifically recommends using the /qn switch for a completely silent installation. This switch ensures that no user interface is displayed at all. You used /quiet, which while often silent, can sometimes still display prompts or progress bars depending on the MSI package.
- Configuration File Usage: Our KB article's primary method for silent installation involves downloading and preparing a separate configuration file (lansweeperitagentinstallation.cfg). This file contains the necessary parameters like mode, accepteula, path, and cloudtoken. The installer then references this file when run with the silent switch.
While passing parameters directly on the command line can work for some MSIs, for the Lansweeper IT Agent, following the recommended method of using the .cfg file in conjunction with /qn is the most reliable way to ensure no UI appears.
Please try the following command as per the KB article, ensuring your lansweeperitagentinstallation.cfg file is correctly prepared with your token value:
msiexec /i "C:\Lansweeper msi\Lansweeper-IT-agent-discovery-4.5.2-windows-x64-installer.msi" /qn
Make sure the .cfg file is in the same directory as the MSI installer, or specify its full path if it's elsewhere.
KB article for your reference: https://community.lansweeper.com/t5/sites/install-it-agent-discovery/ta-p/67029
If following the above recommendations doesn't work please submit a support ticket.
Please open a ticket in our support portal.
Make sure to add screenshots and the GatherLogs output file so our SME's can start investigating the issue straight away.
Using the GatherLogs tool.