Dive into the latest feature of the Swif App: running test scripts before and after installing custom Windows applications. This tutorial outlines the steps to create and upload a custom application package, detail its specifications, and set up scripts for pre and post-installation.
Start by navigating to the section for uploading custom application packages.
Step 1: Choose Windows as the operating system.
Step 2: Assign a name to the custom application.
Step 3: Enter a description and domain for the custom application. Remember, filling in the domain field is compulsory.
Step 4: Upload the installer file for the application.
Step 5: Indicate the application's version.
Step 6: Add tags for the application.
Step 7: If desired, upload the uninstaller file for the application.
Step 8: If applicable, provide arguments for the installer and uninstaller files.
Step 9: Implement the check script. This script runs as a check before the script execution. "Check script" runs before the pre-install script and has to return a 1 or 0 code. The check script is a script that determines whether this application is installed or not. This script is a PowerShell script. Based on the value returned from this script, the Swif service on the device understands whether there is an application on the device. If there is no such application, it installs it with the help of the installer.
Step 10: Set up the pre-install command script.
Step 11: Set up the post-install command script.
Step 12: Review all the information, then click on continue to finish the application upload process.
Step 13: Review all the settings.
Step 14: Click on finish to complete the process.
After successfully uploading the application,
the application will install on the device, executing all necessary pre and post-install scripts.
To revise or review the application,
simply navigate to the edit option.
This wraps up the tutorial on using Swif App's new feature for custom application installation with pre and post-installation checking scripts.