How to interact with the user during application setup RRS feed

  • 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?

    Wednesday, March 21, 2012 8:12 AM


All replies


    check above link

    Wednesday, March 21, 2012 9:38 AM
  • 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.

    Wednesday, March 21, 2012 11:06 AM
  • 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.

    Wednesday, March 21, 2012 3:05 PM
  • Thank you for your answer.

    But how exactly do it do that?:)

    Wednesday, March 21, 2012 5:18 PM
    • Proposed as answer by Centigradz Thursday, March 22, 2012 8:26 AM
    • Marked as answer by mcosmin Thursday, March 22, 2012 9:56 PM
    Thursday, March 22, 2012 7:37 AM