Answered by:
How to interact with the user during application setup

Question
-
Hello.
The situation stands as this: I've almost completed my application, and now I'm in the process of adding some registry keys to associate file extensions with said applications.
What I want to do, is give the user the chance to select which files he wants associated with, if he wants any at all.
Is that possible from inside the default Visual Studio 2010 project deployment solution?
Answers
-
- Proposed as answer by Centigradz Thursday, March 22, 2012 8:26 AM
- Marked as answer by mcosmin Thursday, March 22, 2012 9:56 PM
All replies
-
-
I know how to create a basic installer.
I want to interact with the user during installation, and ask him which files he wants associated with my application.
In other words, i want to start the setup process, and at some point, a window should pop up with lots of checkboxes asking him what he wants associated with my application.
-
You can use a Custom Action to execute code during installation.
If the number of files to select is small, you can add a dialog to the setup project and pass the selected checkboxes to the custom action.
If the input dialog is more complex, you can open a Form from the custom action.
-
-
- Proposed as answer by Centigradz Thursday, March 22, 2012 8:26 AM
- Marked as answer by mcosmin Thursday, March 22, 2012 9:56 PM