Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Wildcat_Sweeper
Engaged Sweeper

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?

3 REPLIES 3
Wildcat_Sweeper
Engaged Sweeper

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.

FrankSc
Lansweeper Tech Support
Lansweeper Tech Support

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"

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.

Deployment Packages

Share topics/ issues related to deployment packages. Please use/rely on content with caution as it is publicly generated.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now