Indigo Rose Software
  #1  
Old 08-18-2000
swdevlin swdevlin is offline
Forum Member
 
Join Date: Aug 2000
Location: Pakenham, ON, Canada
Posts: 2
Grin MS SQL Server 7.0 Installs

My installer needs to create a database and tables on an existing SQL Server. I also need to populate the database with sample data. I have already created the SQL script and the bcp files. I guess all I need to do is hook into SQL Server and get it to process those files.

Has anyone done this with Setup Factory? If so, care to share some tips? :-)

  #2  
Old 11-22-2002
DanielB DanielB is offline
Forum Member
 
Join Date: Nov 2002
Posts: 3
Re: MS SQL Server 7.0 Installs

I.m in something simillar but with SLQ 2000, I need to make setup factory to run a .SLQ file (query) that create the database
  #3  
Old 05-01-2003
shankar shankar is offline
Forum Member
 
Join Date: May 2003
Posts: 5
Star Re: MS SQL Server 7.0 Installs

As of now Setup Factory doesnot provide such facility to manipulate the databases.U hav to depend on VB/VC++ exe application
  #4  
Old 06-10-2003
Jason Pate Jason Pate is offline
Forum Member
 
Join Date: Jan 2002
Location: Nashville TN
Posts: 328
Re: MS SQL Server 7.0 Installs

I have just started experminanting with Setup Factory and MSDE (msde is simply SQL stripped down to the basics) MSDE has a utility names osql, I use the fallowing command line to install my database on MSDE

%SysDrv%\MSSQL7\binn\osql /U sa /P /i "%SrcDir%\SQL\7.0\Install Scripts\SrvInst63.sql"

If OSQL program work on SQL 7 this should work for you,
It gives the path to osql the /u for user id ("sa" for my needs) /p is the password (mine is null) I forget what the /i does but I think its has to do with the fact that the SQL script file is not, it all CASE SENATIVE!!!!! and Srcinst62.sql is the script for creating my db file see how that works for you.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 05:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software