Relative Content

Tag Archive for windows-installercustom-actionvisual-studio-setup-proje

how to provide user interface to select a file during an installation, using Visual Studio setup project?

I am using Visual Studio setup project to create an msi. I need to get a file, selected from the user during installation, and do certain action based on the selected file. I am trying to use custom actions. Added custom action, added installer class, adding UI using User Interface editor of my setup project. On my right click on User Interface editor, I see dialogs to add checkBox, radio button, text Box, but not able to find a dialog, which can give option for user to browse a file on his machine.
I found some links, which talk about editing the pre-existing dialogs using orca tool. But not sure which dialog should be picked as a reference for the same. Is there a way, I can embed a OpenFileDialog inside an existing dialog? Thanks for any inputs in this direction.