探花大神

Install Applications Remotely

探花大神 lets you run commands across systems and groups of systems (Windows, macOS X ,or Linux). Using PowerShell, Bash, and Shell, you can automate a variety of IT tasks, including remotely installing applications. This article provides requirements and configuration information on how to install third-party applications to your 探花大神 managed systems from Commands.

Prerequisites:

Requirements and Considerations

For Applications:

  • Command-line Installation Support
    • To successfully install an application to a 探花大神-managed system, the application needs to support silent installation from the command line. Find this information in your software vendor's documentation or support resources.
  • Unattended or Silent Installation
    • Administrators aren鈥檛 presented with an interactive session when they execute a command in 探花大神. Commands are sent to the system for execution, and then the results are shown. So, it鈥檚 required that all application installations have 鈥渟ilent鈥 or 鈥渦nattended鈥 installation options.

Note:

Definitions for silent or unattended installs vary between software vendors. A "silent" install doesn鈥檛 display any indication of progress, while an unattended installation doesn鈥檛 require user interaction. 探花大神 requires an "unattended" installation which doesn鈥檛 require user interaction, but some vendors refer to this as "silent".

For Windows Systems:

  • Most software vendors support EXE or MSI installation packages for Windows. There aren鈥檛 any major functional differences between EXE or MSI, but MSI installation packages:
    • Are easier to deploy across several terminals over a network connection.
    • Provide additional pre-configuration options like silent installs.
  • MSI packages can be more compatible with 探花大神 Commands. Refer to your software vendor's documentation and support for more information on the best options and supported methods.

For macOS X Systems:

  • Most software vendors support compressed archives (.zip, .tgz, etc.), DMG files, PKG files, and flat application files for a macOS X application. Refer to your software vendor's documentation and support for more information on the best options and supported methods.

Setup and Execution

Using the Upload File Functionality to Remotely Install an Application

Note:
  • The Upload File functionality in 探花大神 only supports files that are 1MB or smaller. If your installation package is larger than this, refer to the next section for instructions on how to download bigger installation packages.
  • You can upload one or more files to be pushed to the server prior to executing the command, including an installation package.
  • The file push occurs right before the command is executed.
  • Update the files anytime before you run the command. The next time the command runs, it will have the latest file.
  • You can include any data you like, such as a tarball, that your script can untar and use for any purpose.

To remotely install an application using the upload file functionality:

  1. Log in to the 探花大神 Admin Portal: .
  2. Go to Commands.
  3. Click ( + ) to create a new command.
  4. Enter a name, then select the user you鈥檇 like to run the command as.
  5. Select Linux, Windows, or Mac, then click Upload File under Files to attach the installation package.
  6. Modify the File Destination or keep it.
  7. Populate your installation command.
    • Note: Make sure to specify the full package path that was specified in Step 6.
  8. Select the system groups or individual systems to remotely install the application on, then click save command.

Important:

The application must support silent installation, otherwise this process just pushes a file to the endpoint. See the Requirements and Considerations section above.

Downloading Installation Packages

When an installation package exceeds the 1MB maximum file size or a more streamlined process is required, use PowerShell, Bash, or Shell to download a file from a web server. After downloading the file follow the steps provided by the software vendor for silent/unattended installation.

Using Windows PowerShell

To download a file from a web server with PowerShell, use the following command:

(New-Object System.Net.WebClient).DownloadFile("<FILE_DOWNLOAD_WEB_PATH>", "<LOCAL_FILE_DOWNLOAD_PATH>")

The command downloads a file to the local machine and allows you to specify the directory. Here鈥檚 an example that uses this command to install the Windows 探花大神 Agent on a system:

(New-Object System.Net.WebClient).DownloadFile("https://cdn02.jumpcloud.com/production/jcagent-msi-signed.msi", "$env:TEMP/jcagent-msi-signed.msi")

Using Bash or Shell

To download a file from a web server with Bash or Shell, use the following command:

curl -o "<LOCAL_FILE_DOWNLOAD_PATH "<FILE_DOWNLOAD_WEB_PATH>"

Here鈥檚 an example that uses this command to install the macOS X 探花大神 Agent on a system:

curl -o /tmp/jumpcloud-agent.pkg "https://cdn02.jumpcloud.com/production/jumpcloud-agent.pkg"

Back to Top

List IconIn this Article

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case