Hi, how can I create start menu shortcuts at runtime? So far I created Action: "Create shortcuts". This works fine, but I have problem with folder structure creation and deletion. I need to create it in ${windows_folder_common_programs}Company${project.fullName} ${product_version}\

I there some easy way how to create Start menu folders at runtime? Is there some option in action "Create shortcuts" to create these Start menu folders? I did it with another action: Create directory. I there some better way?

Also do I have to delete this folders manually in Post-uninstall Action?

asked 19 Jan, 08:18

Filip%20Matiovsk%C3%BD's gravatar image

Filip Matiovský
accept rate: 0%

Using <createShortcuts> in the <postInstallationActionList> in this case would be the best option. Note that you can easily change the startMenuGroupName built-in variable.

    <startMenuGroupName>Company${project.fullName} ${product_version}</startMenuGroupName>

In the <postInstallationActionList> you can add the <createShortcuts> action.

             <name>Run administrative panel</name>

The start menu folder and it't content are automatically deleted during the uninstall.


answered 26 Jan, 06:54

Michiel's gravatar image

Michiel ♦
accept rate: 20%

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: 19 Jan, 08:18

Seen: 163 times

Last updated: 26 Jan, 06:54