how to set Sequence in VS.Net's setup to run MSDE before installing my project

Posted on 2004-11-24
Last Modified: 2010-04-17

How to prepare project setup which checks whether MSDE is installed on the client machine or not. can any body tell how to set launch condition, that how to set the sequence to install MSDE before the project get installed on the machine.
Question by:averma78
    1 Comment
    LVL 3

    Accepted Solution


    Your problem can be solved by using installer classes. ie having a class in your project inherit from Syste.Configuration.Install.Installer class. This class offers you a lot of events like BeforeInstall, AfterInstall, etc to control and customize your installation. So from this class you can check cetain registry keys set by MSDE whether they exist, to detemine if its installed, and if not , you can launch a process that installs it.

    More information on using installer classes

    for advanced custom solution, have a look at this

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    This is about my first experience with programming Arduino.
    In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now