Library tutorials & articles
Visual Studio Installer
- Introduction
- Visual Studio Installer
- Getting Started
- Installation Files
- Customizing the Setup
- Wrapping Up
- Install on Demand
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.
Related articles
Related discussion
-
Run-time error '91'
by converter2009 (1 replies)
-
VB6 Runtime error 381 subsript out of range Error
by Uncle (2 replies)
-
passing and reading parameters from using Shell
by jigartoliya (0 replies)
-
Convert C++ code to VB6
by mawcot (4 replies)
-
listbox scrollbar
by Dennijr (10 replies)
Related podcasts
-
Christian Beauclair
14 mai 2008 (�mission #0074) ::.Christian Beauclair: Stratégies de migration VB6 vers .NET Nous discutons avec Christian Beauclair des stratégies de migration VB6 vers .NET. Entre autres, nous discutons comment utiliser le "VB 6 Code Advisor" et le "Interop Forms Toolkit" pour ajouter la puiss...
Can anybody plz tell how to map the check boxes or radio buttons present in the user interface editor of setup wizard with some link so that only the desired features gets installed .....
How do I get the setup to check to see if MDAC, JET and DCOM are available on the target machine, install if required and then install the actual application?
I have found that the Installer has a setting to check for the INSTMSIA.exe file so it must be able to do other checks...
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 called during the call of this function.
If I have a custom action that I don't want to be called during the call of the function, is there a flag\property that I can use?
Thanks
-- Dafna
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 might be required for saving the path of the application in registry.
This thread is for discussions of Visual Studio Installer.