• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

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


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.
0
averma78
Asked:
averma78
1 Solution
 
vippxCommented:
Hi,

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


http://www.c-sharpcorner.com/Code/2002/July/UseInstClasses.asp

for advanced custom solution, have a look at this

http://www.devx.com/dotnet/Article/20849/0/page/1
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now