Skip to main content
Custom software installation
Updated over a week ago

Swif allows you to install custom software on macOS and Windows. Here are the steps to upload your software to devices and device groups

macOS

Step 1: If you want to install macOS software not available in the list, click on add application.

Image

Step 2: Select Custom application package.

Image

Step 3: Drop your custom package (macOS supports .dmg, .pkg, and .zip), and Swif will automatically create a deployment profile and fill in the necessary fields. This profile will define how the software should be installed on the device.

Image

Step 4: Click on upload to push the software package update to the selected devices and initiate the installation process.

Image

Step 5: You can add Validation Rules: Application / Bundle / File / Script. Swif will use the rules to verify if a custom package has been installed successfully on macOS.

  1. When using the Application, Swif will use Path and Identifier to look for installation evidence.

  2. When using a script, you can give the Install and Uninstall check script

    1. Install check script example:

      #!/bin/sh  version=\"$(python -c 'import argparse;print argparse.__version__' 2>/dev/null)\"  if [ ${version:-0} < 1.2.1 ]; then      exit 0  else      exit 1  fi
    2. Uninstall check script example:

      #!/bin/sh if [ -e "/Applications/OneDrive.app" ]; then    exit 0 else    exit 1 fi


Windows

Step 1: If you want to install Windows software not available in the list, click on Add app

Step 2: Select Custom application package.

Step 3: Drop your custom package (Windows supports .msi, .ps1, .exe, and .nupkg.), and Swif will automatically create a deployment profile and fill in the necessary fields. This profile will define how the software should be installed on the device.

IMPORTANT: If the app can be silently installed, you can add /s in the Arguments box. Or the app will be launched and ask for the device owner to permit the installation.
The arguments field has an array type, you can type and press Enter to add value.

Step 4: Type in the name and description and select tags for the software package

Step 5: You can add Validation Rules File / Registry / Script. Swif will use the rules to verify if a custom package has been installed successfully on Windows.
โ€‹

When using Script, here is the Install check script example:

if (Test-Path \"C:\\Users\\*\\AppData\\Local\\Programs\\nordpass\\Uninstall NordPass.exe\") { exit 1 } else { exit 0}

When using Registry, you can type name and version as:

  • Name: DisplayName of the item, exactly as it appears in the registry under HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\.

  • Version: DisplayVersion of the item, exactly as it appears in the registry under HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\.

Step 6: Click on upload to push the software package update to the selected devices and initiate the installation process.

Step 7: You can find the custom package you uploaded by filtering by Common tag.

Step 8: You can now install the custom package like other packages in the catalog.

Did this answer your question?