IzPack

Registry interaction: allow string key values to be extended

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 4.1.0
  • Component/s: Installer
  • Labels:
    None
  • Number of attachments :
    0

Description

Registry values can be updated, but the previous value cannot be reused.

A typical example is to extend the PATH key value by extending the string with a new path.

Activity

Hide
Julien Ponge added a comment -

Fix provided by Klaus Bartz.

Example usage for extending the PATH on WIndows:

<value name="PATH"
             keypath="Environment"
             root="HKCU"
             string="$OLD_KEY_VALUE;&quot;$INSTALL_PATH\bin&quot;"/>
<value name="PATH"
             keypath="SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
             root="HKLM"
             string="$OLD_KEY_VALUE;&quot;$INSTALL_PATH\bin&quot;"/>
Show
Julien Ponge added a comment - Fix provided by Klaus Bartz. Example usage for extending the PATH on WIndows:
<value name="PATH"
             keypath="Environment"
             root="HKCU"
             string="$OLD_KEY_VALUE;&quot;$INSTALL_PATH\bin&quot;"/>
<value name="PATH"
             keypath="SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
             root="HKLM"
             string="$OLD_KEY_VALUE;&quot;$INSTALL_PATH\bin&quot;"/>

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: