Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I'm creating an installer using Wix3.5, and I would like to allow the user to choose a name for the Star Menu group where my shortcut will be placed on.
What is the right way to do this?

Thanks!

What I have tried:

I tried using Properties:
<directory id="ProgramMenuFolder">
<directory id="MyStartMenuFolder" name="[START_MENU_GROUP_NAME]">


and:
<control type="Edit" id="StartMenuGroupName" width="213" height="15" x="56" y="199" property="START_MENU_GROUP_NAME">

but the group is created with the literal "START_MENU_GROUP_NAME" and not with the content of the Property.
Posted
Updated 10-Mar-21 9:58am
Comments
[no name] 10-Mar-21 13:13pm    
What happens if the user picks a group that exists?

Wix is not the easiest installer, maybe you can try an alternative, see:
installers-for-windows-programs[^]
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900