Package actions

A package consists of actions defined to run in specific order each with its own parameters. Package actions are predefined commands or functions which each utilize at least one parameter. In each action you may use package variables. For example, in a case an installation media is needed, you refer to the closest installation point using the variable %MDR_InstPoint% in the parameter fields (e.g. %MDR_InstPoint%\Software\Miradore\Client\2.1.0.0\). Naturally, in a Linux environment you would refer to the closest installation point using following syntax with the variable $MDR_InstPoint.

Package actions may vary depending on the package type and software platform. Package actions for different software platforms are listed with descriptions on the following pages:

Package actions for Windows

Package actions for Linux and OS X

 

There are a number of available actions and action specific parameters for Miradore packages. All actions have two parameters in common:

Parameter

Description

Description

Free text description is used for two individual purposes:

  • Helping package builder to structure the package actions in package editor

  • Error logging to describe the package phase where error occurred.

Success Return Codes

Every action returns a numeric return value, default success value is 0 (some other values can be considered as successful or accepted in special cases). During installation the package compares these defined success return codes and the code/value returned. If returned value is among listed, package installation continues to next action. If not, package stops with error.

 

See also

Package variables

Related process

Package building