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

For some reason this doesnt seem to work, the installer process seems to be running but the Agent is never installed

msiexec /i "C:\Path\To\Lansweeper-IT-agent-discovery-X.X.X-windows-x64-installer.msi" /quiet MODE=UNATTENDED ACCEPTEULA=1 PATH="C:\Program Files\Lansweeper IT Agent Discovery" CLOUDTOKEN=cloudtokenvalue


Manually installing the agent works without issue.

Can anyone advise please?

 

3 REPLIES 3
Katgroup
Lansweeper Employee
Lansweeper Employee

The full string needs to be quoted, or else the parameters will be interpreted for msiexec and not IT Agent:

msiexec /i "C:\Path\To\Lansweeper-IT-agent-discovery-X.X.X-windows-x64-installer.msi" /quiet ARGUMENTS="--mode unattended --accepteula 1 --path ""C:\Program Files\Lansweeper IT Agent Discovery"" --cloudtoken cloudtokenvalue"

 Example:

msiexec /i Lansweeper-IT-agent-discovery-4.5.3-windows-x64-installer.msi /quiet ARGUMENTS="--mode unattended --accepteula 1 --path ""C:\Program Files\Lansweeper IT Agent Discovery"" --cloudtoken abc1234..."
FrankSc
Lansweeper Tech Support
Lansweeper Tech Support

Hello Tobin, 

 

Are there any useful logs or messages? The command is the one mentioned in our KB. If the path and other parameters are correct, it should work.

Make sure to replace X.X.X with the version you have in the installer you downloaded. 

If any doubt, feel free to create a Support case.

Tobin
Engaged Sweeper

Where would I find logs or error msgs? 

The command includes the correct version in the file name - like I said, the installer process runs.  I can see the process in task manager but it never ends.  No files/folders seem to be created ie."C:\Program Files\Lansweeper IT Agent Discovery"

The cloud token is correct as I works fine in a manual install

I tried using the .exe installer rather than the .msi and it worked!

For mass deployment id prefer the .msi.   Any thoughts on why this isnt working?

 

 

General Discussions

Find answers to technical questions about Lansweeper.

New to Lansweeper?

Try Lansweeper For Free

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

Try Now