Skip to main content

Fast Track

Fast track: Learn how to work with InstAlladdin in 5 minutes!

  1. In this example, we will create a Powershell App Deployment Toolkit package for Firefox ESR MSI, we will include also "policies.json" for deploying Firefox policies

  1. Open Microsoft Store

  1. Click "Search"

  1. Type "installaddin" and press ENTER

  1. Click "Installaddin"

  1. Click "Get"

  1. Click "Open"

  1. Close the Release notes popup (the popup is displayed once for each new version)

  1. InstAlladdin is automatically selecting the newest installer (MSI or EXE) file from the Downloads folder at startup. In this case, as we would like to also add "policies.json" to the package, we need to select the Downloads directory manually (to include all installers, files and folders which are in this directory). Click "Select"

  1. Click "Downloads"

  1. Click "Select Folder"

  1. Click "Install parameters"

  1. Add silent install parameter "/qn"

  1. Click "Uninstall parameters"

  1. Add silent uninstall parameter "/qn"

  1. Click "Get meta" to extract the variables (app name, version, vendor...) from the MSI Installer

  1. Now let's add "policies.json" to the script. Click the checkbox next to "policies.json"

  1. Click "Browse" to select the path where the script should be copied

  1. Navigate to the folder where you would like the script to copy the file. In this case, start with "Local Disk (C:)"

  1. Select "Program Files"

  1. Click "Mozilla Firefox"

  1. Click "Select Folder"

  1. As "policies.json" needs to be deployed to "distribution" subfolder and this subfolder does not exist on the packaging machine where InstAlladdin is running, we need to add it to the path. Click in the field with path

  1. Type "\distribution"

  1. Click in the field "Script Author"

  1. Type your name

  1. Convert the absolute path for Program Files to Powershell App Deployment toolkit variable.

Learn more about Using PSADT variables in InstAlladdin

  1. Click "Use PSADT path variables"

  1. Remove the extra variables from the App name (InstAlladdin has extracted the string, as it was created by the vendor). Click in the "Name" field

  1. Mark and delete the desired part

  1. Click in the Language field to add app language

  1. Type "en-US"

  1. Select the output directory (where this Powershell App Deployment Toolkit package will be stored). Click "Browse"

  1. Click "C:"

  1. Click "Packages"

  1. Click "Select Folder"

  1. Click "Generate"

  1. The package is ready! Click "Ok"

  1. Browse for the script

  1. Click "C:"

  1. Click "Packages" (we have selected it as an output folder)

  1. Click "Mozilla Firefox"

  1. Click "102.6.0.0"

  1. Open the "Files" folder

  1. The source files have been automatically copied to the "Files" folder

  1. Go back to the root folder of the package

  1. Open with your favorite script editor. In this case, we would like to open it with "Notepad++". Right click Deploy-Application.ps1

  1. Click "Edit with Notepad++"

  1. The app variables are automatically filed out

  1. Install command for the MSI installer and copy command for the "policies.json" are automatically filed out

  1. Uninstall command for the MSI installer is automatically filled out