Run PowerShell Script

About

This is custom created predefined action by Master Packager team that can run PowerShell scripts for additional configuration and flexibility during installation.

Master Packager Advanced Editor - Predefined Custom Actions - Run PowerShell Script

How to use it?

  1. Open MSI/MST with Master Packager
  2. Click on Custom Actions in left menu
  3. Click on Edit pencil for Custom Actions view
  4. Click on Predefined Actions tab
  5. Click “Add New Predefined Action” and choose “Run PowerShell Script”
  6. Click Browse PowerShell .ps1 file or click edit

Format should be following:

<# .DESCRIPTION This Custom Action can be used to run PowerShellScripts. 
Use exit codes for error handling. .
EXAMPLE Exit 1 #>