Skip to content

CustomActions

DCourtel edited this page Mar 18, 2018 · 14 revisions

Custom Actions

A Custom Update is made of Custom Actions. These can be group by categories :

  • MSI
  • Files
  • Folders
  • Execute
  • Services
  • Registry
  • Power
  • Porcesses
  • DLL
  • Shortcuts
  • Miscallenous

Once you have made a Custom Update, you can save it as a template so that you can reload it later and use it for another update.


MSI Actions :

This group of actions allows you to :

  • Uninstall a MSI product by his GUID
  • Uninstall a MSI product by his Name
  • Install a MSI product

UninstallMsiByGuid_IconUninstall Msi By Guid

Uninstall Msi By Guid

In the upper textbox put the MSI Guid(s) you want to uninstall (use ';' to separate multiple Guid). You can use joker characters :

  • % to replace multiple characters
  • ? to replace one character

In the lower textbox put the MSI Guid(s) that match the pattern in the upper textbox but you don't want to be uninstalled.
You have an option to kill the process if it take more than 'x' minutes.

UninstallByNameUninstall Msi By Name

UninstallByName

In the upper textbox put the name of the product you want to uninstall. You can use joker characters :

  • % to replace multiple characters
  • ? to replace one character

In the lower textbox put the MSI name that match the pattern in the upper textbox but you don't want to be uninstalled. You have an option to kill the process if it take more than 'x' minutes.

InstallMsi Intall Msi File

InstallMsi

In the upper textbox put the name of the MSI file. If the file is provided with the update as an additionnal file (recommended), you don't have to specify the full path. Use the option "Store the return code into a variable" to tell Custom Update Engine to return this code at the end. If the installation of the MSI is successfull, the update will be mark as successfull.


Files Actions :

This group of actions allows you to :

  • Create a text file
  • Delete a file
  • Rename a file
  • Copy a file