- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2025 05:29 PM
I created an application within SCCM to deploy the IT Discovery Agent to client computers. I chose the "IT Agent installer" .msi, version 4.6.3. When I look at the error message for the failed install, it says I have an invalid command line argument.
This is the line I am using for install:
msiexec /i "Lansweeper-IT-agent-discovery-4.6.3-windows-x64-installer.msi" /quiet ARGUMENTS="--mode unattended --accepteula 1 --path ""C:\Program Files\Lansweeper IT Agent Discovery"" --cloudtoken OurUniqueCloudToken"
I was following Method 3 for creating the command : https://community.lansweeper.com/t5/sites/install-it-agent-discovery/ta-p/67029#WMethod1
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2025 03:28 PM
During Application creation, you point to the content source path. So when the install command is executed, it is already looking inside the folder where the .msi is located. I can look at changing it though if everything else looks correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2025 03:21 PM
Dear,
The command looks correct. Is the location of the installer correct? Shouldn't there be a share or folder before "Lansweeper-IT-agent-discovery-4.6.3-windows-x64-installer.msi"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2025 09:07 PM
The location was correct. SCCM backend works a bit different and the relative path was actually fine. There might have been an issue with a maintenance window. Either way, I ran into an additional issue with the detection method (originally based off msi code) not detecting it after a successful install, so I changed the detection method to look for the EXE file inside Lansweeper IT Agent Discovery folder.
