Edit a Component

<< Click to Display Table of Contents >>

RayPack > 7.3 u6 > User Guide > PackDesigner > MSI / MST / RPP Based Projects > Advanced Mode > Components 

Edit a Component

In order to edit a component from the COMPONENT view within the Advanced mode, its current settings have to be loaded into the details pane on the right. To do so, users select the component from the list view on the left-hand side.

 

Since the set of available options for component handling is quite broad, there are separate tab-grouped areas of activity:

 

Basic component settings

Tab: PROPERTIES

Tab: FEATURES

Tab: FILES

Tab: REGISTRY

Tab: COM

Tab: OPERATIONS

Tab: DRIVER

 

Please refer to the specific help section for further details on the tab sub-views with manageable component settings.

Basic Component Settings

No matter which tab of the edit component view is active, the upper area of the details pane always displays the following basic setting controls:

 

Component Identifier

To activate the direct inline edit mode for the component identifier, users may do the following.

 

Click the existing component identifier value.

or

Click on the edit icon right next to the existing component identifier value.

 

Once the editor dialog is visible, starting to type replaces the existing identifier value. Please refer to the help section Rename a component for details regarding Naming conventions for component identifiers.

 

Key Path

The read-only information regarding the current component key path displays an icon to determine the key path type (file or registry value), the identifier of the key path object itself, and the path to the key file. Modifying the key path of a component is available from the context menu provided for files and registry values within the tabs FILES and REGISTRY.

 

Conditions

The value entered into the conditions text area is evaluated to decide whether or not the component has to be installed on the target machine.
 

If there is no condition given, the component will be installed.

If the conditional statement is evaluated to TRUE, the component will be installed.

If the conditional statement is evaluated to be FALSE, the component will not be installed.

 

The evaluation is executed at least once during the CostFinalize sequence action. Later, for example during software maintenance procedures, further references to the evaluation result may, but do not necessarily have to, lead to reevaluation according to current object states. Please read the online documentation for further details regarding component conditions and the syntax requirements of conditional statements.

 
In order to make any condition statement definition as easy as possible, RayPack contains a so called Condition builder interface. It is reused wherever conditions have to be defined. Please refer to the help section regarding Common Dialogs for further details on how to use the Condition builder.

 

Reevaluation

If the reevaluate on repair option is active, the conditional statement will be evaluated anew when the MSI Repair procedure is triggered. If this option is not active, the old value, calculated during installation, is used to determine whether or not the component should be installed after the software maintenance is finished.