Reputation: 969
Do you know how to create the setup project with some custom dialogs before installing?
I need to add a config.xml with db data and some user specific data.
Is there a way to create something like this?
I found the option to add a new dialog with named "Textboxes (A)", there are 4 text inputs, but I need one more and the code behind to create the xml file.
Is there a way to do this?
I've seen some youtube videos, but nothing really helped.
Upvotes: 1
Views: 523
Reputation: 20780
There is no support for this in VS setup projects because there are no tools in it for creating custom dialogs, and no way to run code on (say) a button click on a dialog. Visual Studio setup projects don't expose all the features that are available in Windows Installer - you'd need WiX, InstallShield, Advanced Installer an so on.
Many people find it more convenient to do things like this when the app first runs. This is standard development using the usual debug tools, unlike custom actions called from an install.
Upvotes: 1