Library tutorials & articles

Visual Studio Installer

Introduction

The new Windows Installer is a new technology from Microsoft, allowing you to reduce the total cost of ownership (TCO) by providing an efficient way to install, maintain and remove applications. By now, you will probably have noticed setup programs using the .msi extension, which uses this technology. In essence, this file is a compiled databaese that stores the setup information, dialogs to use and the compressed binary files to be installed. When opened, the Windows Installer automatically reads the file, and initialises the setup program. Because Windows Installer provides common functions, such as copying, registering, or almost anything else needed, individual setup programs using the Windows Installer can be much smaller. However, it does require the Windows Installer to be already installed on the machine. This is already installed on Windows 2000 and Windows ME, and is available for Windows 95, 98 and NT via a service pack or download from the Microsoft site.

Office 2000 is one example of a program that uses the new Windows Installer technology, and provides several very useful features standard to Windows Installer including on-demand feature installation, application self-repair and installation rollback capabilities.

In this article, I will show you how to use the Visual Studio Installer, a free program from Microsoft for creating simple Windows Installer installations.

Comments

  1. 26 Sep 2008 at 14:20

    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 .....

  2. 30 Mar 2007 at 11:31
    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



  3. 28 Sep 2005 at 15:48
    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 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...
  4. 08 Oct 2004 at 07:25
    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 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
  5. 20 Nov 2002 at 05:16


    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.

  6. 01 Jan 1999 at 00:00

    This thread is for discussions of Visual Studio Installer.

Leave a comment

Sign in or Join us (it's free).

James Crowley 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 audience ...

Related discussion

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...

We'd love to hear what you think! Submit ideas or give us feedback