Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to get values from canned setup dialogs - and what to do with them?
 

How to get values from canned setup dialogs - and what to do with them?

MSDN has lots of information about Deployment Dialog Boxes; the various types, how to add them, etc... but next to nothing on how to access and use the values entered into these dialog boxes.

If the user is presented a textboxes user interface dialog box how do I and from where/what do I get the values?  During setup they will be entering a URL which is then written to the app config file.

Thanks for any help.

philipsh  Friday, March 10, 2006 6:45 PM

In general, those property names like EDITA1 can be passed to custom actions via CustomActionData. The syntax of passing CustomActionData varies depending on whether your custom action is an installer class (where you see the values in installer class Context) or a C++/VBScript custom action (where you get the value from the CustomActionData property itself).

See http://www.simple-talk.com/2005/06/07/visual-studio-setup/

PhilDWilson  Tuesday, March 14, 2006 1:19 AM

Thank you Phil. I also found this link to be very helpful:

http://www.codeproject.com/dotnet/Easy_Custom_Setup.asp

philipsh  Tuesday, March 14, 2006 3:09 PM

In general, those property names like EDITA1 can be passed to custom actions via CustomActionData. The syntax of passing CustomActionData varies depending on whether your custom action is an installer class (where you see the values in installer class Context) or a C++/VBScript custom action (where you get the value from the CustomActionData property itself).

See http://www.simple-talk.com/2005/06/07/visual-studio-setup/

PhilDWilson  Tuesday, March 14, 2006 1:19 AM

Thank you Phil. I also found this link to be very helpful:

http://www.codeproject.com/dotnet/Easy_Custom_Setup.asp

philipsh  Tuesday, March 14, 2006 3:09 PM

You can use google to search for other answers

Custom Search

More Threads

• How Web Service can work if Windowns Form/Smart Client app is running out of firewall
• Windows Service Installation question
• Installer cutom action?
• Multiple ClickOnce Deployment Profiles
• Installing unmanaged application with ClickOnce
• Auto-Update my program
• ActiveX control with RegFree
• Custom Action properties not picked up from command line
• How can I create a setup of my window application in .Net?
• Missing Package