Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB9.0
How can we create an installer in .net 2008 which installs sql 2005 automatically in single setup ?
I found an article in codeproject. Did exactly the same thing as written.
But when I run the setup it gives me error while registering certain files like xmlrw.dll, msxmlsql.dll.
Exact error is:
Module file path ../../msxmlsql.dll failed to register. HRESULT -2147024769. Contact your support personnel.
I checked the file, its already included in the setup.
Can anyone help me with this issue ?
 
Thanx in advance
Posted 28-Jan-12 23:39pm
Edited 28-Jan-12 23:56pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You should not include SQL Server in your installation. There are a couple of reasons:
0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version.
1) They may already have SQL Server installed on the network. If so, then they will presumably want to use that version.
2) If they do have SQL server installed and you start proliferating SQL server Express instances, you are going to annoy the heck out of the database administrator...
3) A single site installation of SQl Server is a lot more likely to be backed up than a number of scattered version under user control.
4) Sql server is quite complex for a "normal" user to install and administer - it is not a good idea!
5) It will destroy the primary advantage of using Sql Server over SqlCE or SQLite - multiuser access. If everyone installs their own copy of SQL server, then you will have multiple copies of your database, each used by a single person. This will cause some confusion, and (depending on how you wrote the original database) may take some considerable effort to combine into a single instance when the problem is realized.
  Permalink  
Comments
Himachandra at 4-Feb-12 8:23am
   
+5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

hey, first create your simpal setup and then download InnoSetup compiler it is free.
 
you can easily manage two setup integration with help of innosetup.
 
Try it.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 3 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100