Visual Studio Installer

Customizing the Setup

Next stop is the User Interface item. This is where you can specify the dialogs that are displayed in the setup process:

You can change some properties of each dialog by selecting it and editing the Properties window (usually below the Project Explorer). You can also add some extra dialogs such as a Customer Information or Readme page by right clicking and selecting Add Dialog. We won't make any changes in this case.

In the Registry section, you are presented with a similar interface to RegEdit, where you can add registry keys that you want added. For a VB program, you would not usually need to do this, as GetSetting and SaveSetting will create the keys for you when your program is first run.

The final section is Associations. This is where you can create associations with certain file types (ie open .doc with Microsoft Word). If you wanted to specify that any file with a .fdf extension opens with your program, right click and select Add Document Type. Then, select the item named 'New Document Type', and in the properties window set its Name, Icon and Description (ie Word Document) to whatever you want. Next, select the item item 'New Extension', and set its properties... Set Name to the extension you want to associate (ie .fdf), set the Command property to a file in the installation, and the verb to the default verb (ie Open). For more information on file assocations, click here.

You might also like...

Comments

About the author

James Crowley

James Crowley United Kingdom

James first started this website when learning Visual Basic back in 1999 whilst studying his GCSEs. The site grew steadily over the years while being run as a hobby - to a regular monthly audien...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems.” - Jamie Zawinski