Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Adding custom form to installation
 

Adding custom form to installation

Hi

I would like to add custom form to installation proccess. The user should point me to directory where data will be stored.

So I need textbox and button which will give the possibility to choose directory.

There is no such a form available in user interface dialog.

E.

e_LA  Monday, December 04, 2006 3:12 PM

Is this an extra dialog? There is already one that lets the user choose the primary installation folder - do you want another one?

In any event, that list of dialogs is the list of ones you can add. Visual Studio doesn't let you create your own custom dialogs for the UI sequence. I'll also point out that it won't help to do this in a custom action because they run when the install is nearly finished, and so it's too late to choose an installation folder for something.

PhilWilson  Monday, December 04, 2006 9:09 PM

It is not an application folder. It is folder wheredata that will be created for user will be kept. There is no dialog defined where I could use button for chosin directory.

e_LA  Tuesday, December 05, 2006 6:27 AM
That's true, but that's the way most installations work anyway. It's unusual to have a setup that lets you choose the primary application folder and then choose yet another folder where data will be stored. It's fairly normal to choose a profile folder, you'd do this by using Add Special Folder in the File System View, choosing User's Application Data Folder, and installing the files there (assuming you're actually installing something). Or ask the user when the app first runs.Or just store them in a profile folder anyway. If you really want to do this in the installation then you need to use one of other tools that build MSI setups and DO let you design your own dialogs because Visual Studio doesn't let you do that. It's not designed to do the same as the fully featured products from InstallShield, Wise, Advanced Installer, Wix and so on.
PhilWilson  Tuesday, December 05, 2006 2:44 PM

You can use google to search for other answers

Custom Search

More Threads

• Installing the new application version using ClickOnce without prompting the user to accept
• The remote server returned an error: (414) Request-URI Too Large
• application deployment and database(newbie)
• No Publish Options Available??
• Using Publish in Visual Studio 2005
• what is the difference between no-touch and click-once deployment?
• Creating shortcuts using "Primary output of [project]"
• Windows Installer : Add text to a dialog
• Change vdproj properties in code
• Does my executable have to be copied to the target system??