The start menu entries only appear in the correct location if I add shortcuts to the "normal" location (GUI view, Files, Start Menu). However, in this location there doesn't seem to be a way to add a rule based on an installer parameter. That would seem to be the obvious way - am I missing something?

If I start with an empty startMenuGroupName, move the short cuts to a post-install actions group that also restores the startMenuGroupName, the conditional logic works, and I get a start menu group as expected but the shortcuts end up in the base level of the start menu. Presumably the destination for the shortcuts list is wrong. What should it be?

asked 20 Jul '12, 09:35

amacgaffey's gravatar image

accept rate: 0%

Each <shortcut> and <startMenuShortcut> allows specifying a <ruleList> to specify conditions that have to be met for a shortcut to be created. For example the XML below checks if ${add_additionalbinary_shortcut} variable / parameter is set to true:

  <name>Register with other app</name>
    <isTrue value="${add_additionalbinary_shortcut}"/>

answered 23 Jul '12, 08:06

wojciechka's gravatar image

wojciechka ♦♦
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 20 Jul '12, 09:35

Seen: 1,426 times

Last updated: 23 Jul '12, 08:06