Install Command Cheat Sheet

Examples of how to use Scappman install commands with your custom applications

circle-info

<INSTALLERFILE> does not need to be changed, Scappman will automatically swap this with the name of the primary installer file you upload when creating your custom app

circle-info

These are all examples. Vendors install arguments for silent install may vary. Please refer to the vendors documentation

circle-info

Scappman automatically appends the required command-line arguments for silent install, no reboot and logging.

Installing an MSI silently

Execute-MSI -Action 'Install' -Path '<INSTALLERFILE>'

Installing an MSI silently with an MST file

circle-info

Check out our doc on deploying MST files to your client device - Using MST's with Scappman Apps

Execute-MSI -Action 'Install' -Path '<INSTALLERFILE>' -Transform '<LocalPath>\Transform.mst'

Installing an MSI silently with custom parameters

Execute-MSI -Action 'Install' -Path '<INSTALLERFILE>' -AddParameters '<YourParameters>'

Installing an EXE silently

Execute-Process -Path "<INSTALLERFILE>" -Parameters "/silent" -WindowStyle Hidden

Extracting a zip file

circle-info

<LocalClientPath> must be replaced with a real path

Expand-Archive -Path "$dirFiles\<INSTALLERFILE>" -DestinationPath "<LocalClientPath>"

Copying a file

circle-info

<DestinationPath> must be replaced with a real path

Last updated

Was this helpful?