Installer with Visual Studio 2010 - visual-studio-2010

How can I do something like in this image?

In an MSI radio button controls are used inside a radio button group. Each radio button uses a value (for example Button1Value field in Properties pane). The value of the selected radio button is stored in the radio button group property (ButtonProperty field).
During install, you can use the radio button group property to determine what radio button was selected. For example, in your screen-shot ButtonProperty field is set to BUTTON3. So BUTTON3 property is set to "1" for the first radio button or to "2" for the second one.
If you need more information about this, give us more details about what you need to do based on the selected radio button.

In your setup project in Visual Studio, open the User Interface Editor, right-click Start and select Add Dialog. In the dialog that appears, you can select Radio buttons (2 buttons)

Related

How to use F1 Help without keyboard?

In Visual Studio, highlighting a keyword and pressing F1 will take you to the relevant help page documentation about it.
How can I do this if I don't have an F1 key? Is there a menu item or ribbon button or different key press I can use?
There isn't a toolbar button for "F1 Help" by default but you can customize your toolbar to add one. Click the "Add or Remove Buttons" icon at the right of your main toolbar:
Then, from the second pop-up menu you get from that small drop-down, select the "Customize..." command. In the pop-up dialogue box that follows, select the "Commands" tab and click the "Add Command" button …
Finally, in the "Add Command" dialogue-box, select the "Help" category in the left-hand pane and scroll down the right-hand pane until you see the "F1 Help" button, select that and click OK …
You will now have a new button on your toolbar (the blue disk with a ? in it) that will execute F1 Help when you click it:
(The process outlined here, and the images given, are for Visual Studio 2022; however, VS-2019 has a very similar workflow to achieve the same result.)

Can't move toolbar item into toolbar menu in Visual Studio customization

I'm using Visual Studio 2017, and I really need a menu with useful buttons in the toolbar, now when I got into the customization menu TOOLS -> Customize -> Commands.
I made a custom menu "MY_MENU" and menu item "Close Project", but for some reason I just can't move the menu item into the menu (see picture). How do I do this?
I believe I had the same problem as the questioner, and managed to solve it, details below.
Note: I use Visual Studio 2015 Professional, but this should apply to later versions as well.
Scenario
I created a new Toolbar FooToolBar, and placed to the toolbars like this:
Goal
To place the "Solution explorer" icon inside the menu.
Problem
Inside the Customize window you can't just drag&drop the item to the menu:
Solution
Inside the Toolbar combobox, a new item appeared, select that:
After this, you will see a new area where you should place the icon you wanted to.
Also, remove the previous icon from the previous, FooToolBar toolbar item.
After doing this, press OK and it will work.
Result
I hope I helped someone. :-)
Warning: After you customize a toolbar or menu, make sure that its check box remains selected in the Customize dialog box. Otherwise, your changes won't persist after you close and reopen Visual Studio.
Adding, removing, or moving a menu on the menu bar
On the menu bar, choose Tools, Customize.
The Customize dialog box opens.
On the Commands tab, leave the Menu bar option button selected, leave Menu Bar selected in the list next to that option, and then perform one of the following sets of steps:
Adding, removing, or moving a toolbar
On the menu bar, choose Tools, Customize.
The Customize dialog box opens.
On the Toolbar tab, perform one of the following sets of steps:
To add a toolbar, choose the New button, specify a name for the toolbar that you want to add, and then choose the OK button.
Customizing a menu or a toolbar
On the menu bar, choose Tools, Customize.
The Customize dialog box opens.
On the Commands tab, choose the option button for the type of element that you want to customize.
In the list for that type of element, choose the menu or toolbar that you want to customize, and then perform one of the following sets of steps:
To add a command, choose the Add Command button.
In the Add Command dialog box, choose an item in the Categories list, choose an item in the Commands list, and then choose the OK button.

How to change ToolTipDescription of "Delete Button" using ribbons in Dynamics 2016?

I am trying to change the TOolTipDescription of DELETE button in Microsoft Dynamics through ribbonsDiff.xml. It is not letting me change and throwing the error "cannot edit property until element is customized". I have customised it by defining it in ribbonDiff.xml file. But it is not changing the behavior of the DELETE button. Any way to change the ToolTipDescription of DELETE button ?
Get yourself a wonderful tool called the Ribbon Workbench. Then see Change the text or image of a standard button. Here's a high-level summary:
Install Ribbon Workbench in your org
Create a solution that contains just the entity you are trying to modify
Open Ribbon Workbench and select your solution
Near the top right corner of the screen, select the ribbon type that has the delete button you are trying to modify.
In the ribbon that appears, right-click the Delete button and choose Customise Button.
Modify the ToolTipDescription field down below.
Click publish.

How do I select proper action in the dialog "Resharper - Shortcut Conflict" for a shortcut?

When I press ctrl+R, ctr+R, a dialog comes up
Lets assume that I want to map the shortcut to "Refactor.Rename".
When I clicked OK here, the action was not mapped to the shortcut.
Instead the shortcut became disabled as in not being "available".
Resetting all shortcuts to visual studio defaults and doing this again actually gave me the resharper action upon pressing Ctrl+R, Ctrl+R.
Does it matter when I select in this list before I press OK?
If I select something in the list and also make a radio button selection, what will be the result?
Is there any way for me to use this dialog to select an action without resetting all shortcuts to either visual studio defaults or resharper defaults?
List selection doesn't matter and only radio button selection makes sence. There is no reference to list selection in documentation.
The "shortcut became disabled as in not being "available"" message is displayed even if your code window lost its focus. Are you sure the shortcut really was broken?

Can't have more than 1 [Radio Buttons (2 Buttons)] Dialog in Web Setup Project?

I've added a dialog to my Web Setup Project allowing the user to choose between two options. I did this by right clicking on the project and choosing View -> User Interface.
I then Right clicked Start -> Add Dialog and chose Radio Buttons (2 Buttons).
If I try to add another this way, the Radio Buttons (2 Buttons) option is gone. I'm assuming this is because I already have one, that's so ridiculous I don't want it to be true.
How can I add a second dialog with 2 radio buttons?

Resources