-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu entry and desktop icon #141
Comments
Thank you for the feature request. It seems reasonable to be able to add a start menu and desktop shortcut. These should be added as components and features that can be toggled on/off during installation, similar to adding the executable to the In addition to this being an option for the end-user, it should be option to include these shortcuts for the developer. Not every developer will have icons available for his or her tool to use for the shortcuts nor want these to be an option. Thus, some command line argument (option/flag) and related TOML configuration directive to enable/disable each one separately will be needed. What should the command line arguments and TOML configuration directive names be? A complicating factor is the path to the icon files. I guess separate command line arguments and configuration directives to specify the paths will be needed. If a
Since it was not straight-forward to implement, can you share your implementation? I would have thought the implementation in the WXS template for the adding the executable to the |
You can have a look at my project here: https://github.com/sourcebox/sysex-drop BTW: I did not find out myself how to add the menu entry / desktop icon. I copied it from some other project without really understanding how it's working. |
This is very much needed for any GUI apps, https://wixtoolset.org/docs/v3/howtos/files_and_registry/create_start_menu_shortcut/ has instructions on how to do this, but it is quite tedious. |
The default wxs file created by
cargo wix init
does not provide options to create an entry in the start menu or an icon on the desktop. To me (but I'm only an occasional Windows user/developer), both options are quite common in installers and it was not trivial to find out how to add them.The text was updated successfully, but these errors were encountered: