Followers

Monday, August 09, 2004

.NET DEPLOYMENT

I have a project to deploy.These are the steps required...

1) detect dotnet framework and install it automatically if not found
2) detect mdac and install automatically if not found
3) Allow me to choose between 2 options a) Full setup b) trial version
4) Get userid and product_serial_number and validate it the "next button" of the installer should be disabled till the user gives a valid product_serial_number (i have custom algotims in a dll for validating and storing it in the registry)
5) get the database user_id and password and database_name and install the database
6) install the web project that i have developed

if i have to create a database project and do some stuff plz advice me on how to do thatif u have a database project that fits along with the above spec can i have a sample code that i can get along with all this has to be done byusing setup_project available in the .net framework 2003 ide i cannot use install shield or any other third party components plz give me detailed information of how i have to go about this problem....

SOLUTION

Follow these links, they can help in solving most of your cases.
1. Walkthrough: Creating a Custom Action : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxwlkwalkthroughcreatingcustomaction.asp

2. Walkthrough: Using a Custom Action to Create a Database DuringInstallation :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxwlkwalkthroughcreatingcustomaction.asp

3. Walkthrough: Passing Data to a Custom Action : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxwlkwalkthroughusingcustomactiontocreatedatabaseduringinstallation.asp

These are all under the section : "Deployment Walkthroughs"at link :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxwlkwalkthroughcreatingcustomaction.asp in MSDN.

No comments: