I need to add a shortcut to the start menu, that includes a parameter set half-way through the install.

How do I achieve this?

asked 23 Mar '12, 12:10

bstoke's gravatar image

accept rate: 0%

You can add any variable in the definition of the shortcut. For example a ${checkforupdates} variable:

          <comment>Launch ${project.fullName}</comment>
          <name>Launch ${project.fullName}</name>
          <windowsExecArgs>--checkforupdates ${checkforupdates}</windowsExecArgs>

The shortcuts won't be created until right before the postInstallationActionList so you can delay the definition of the required parameters until that point.


answered 23 Mar '12, 12:31

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

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](http://url.com/ "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: 23 Mar '12, 12:10

Seen: 1,084 times

Last updated: 23 Mar '12, 12:31