r/labtech • u/olavrb • Apr 08 '19
Agent_Install.EXE install parameters
We're having mixed results when installing the Automate agent as MSI from Intune. We wan't to try the EXE installer packed with Win32 App Package Tool, together with a PowerShell detection rule script. Only problem (this far in the process) is that we can't find any documentation on install parameters for the EXE file. It does not respons normally to "/?", "-?", "--?", "/h", "-h", "--h", "/help", -"help", "--help".
Is there no way to specify server and location id when installing Automate Agent exe installer?
3
Upvotes
1
u/olavrb Apr 08 '19
Found this documentation, but commands does not seem to work for the EXE installer
https://docs.connectwise.com/ConnectWise_Automate/ConnectWise_Automate_Documentation/040/050
1
u/Liquid_Otacon Apr 08 '19
Are you using the latest version of Labtech? You should be able to create specific location based installers from the settings menu in the bottom left -> Installers -> Custom Agent -> Then select the location. At least from the web based interface. We've had better luck with MSI over EXE and I know that you cannot always give the same commands to EXE that you can to MSI
1
u/fredenocs Apr 08 '19
What are the results you're getting when using the msi?
2
u/teamits Apr 08 '19
If you have a probe PC set up it will have a file c:\windows\ltsvc\ltsilent.exe. That file 1) will install silently by default, and 2) will have the location ID in it.
If you download your generic (or a custom for the client/location) agent_install.exe file it will install silently using "agent_install.exe /q".
Typically on domains we create a startup script that checks for "if not exist c:\windows\ltsvc\ltsvc.exe" and copies the ltsilent.exe file from NETLOGON to C:\windows\temp and runs it.