Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 59,200 times

Contents

Related Categories

Visual Studio Installer - Customizing the Setup

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.

James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.

Comments

  • Re: [64] Visual Studio Installer

    Posted by awp on 30 Mar 2007

    Trying to download Windows Installer from this page but the link behind the word 'here' doesn't work but I think it's at http://msdn2.microsoft.com/en-us/vstudio/aa718352.aspx

  • Conditional Installs

    Posted by bradleyw on 28 Sep 2005

    I have done a couple of installs to Win98 machines and have found various components missing as is quite common for '98.

    How do I get the setup to check to see if MDAC, JET and DCOM are available o...

  • calling MsiInstallMissingComponent

    Posted by uridafna on 08 Oct 2004

    Hi,



    I am calling the function MsiInstallMissingComponent from a wrapper to the msi to fix a missing components and I noticed that all the custom actions that are in the UI sequence table are c...

  • Not much info. about registry...

    Posted by jyotiraditya on 20 Nov 2002


    This article does not contain much information about how to handle registry.
    There is no information whether we can access some runtime informations like the application folder path or not .This mi...