Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2005
    Posts
    1

    Help needed to install MSDE and creating a schema?

    This is what the install program should do ;

    1. install MSDE.
    A. When I install it manually, I use this command line; setup.exe SAPWD="sapasswd" DISABLENETWORKPROTOCOLS=0 SECURITYMODE=SQL
    2. create a database
    A. When I did this manually, I used these commands ;
    i. <MSDE installation directory>/80/Tools/binn/osql.exe –E
    ii. CREATE DATABASE DIREPO
    iii. Go
    iv. sp_addlogin 'userid','pw'
    v. Go
    vi. sp_defaultdb 'userid','DIREPO'
    vii. Go
    viii. use DIREPO
    ix. Go
    x. sp_grantdbaccess 'userid'
    xi. Go
    xii. GRANT CREATE TABLE To userid
    xiii. Go

    3. execute install sequence of my application.



    I need an example to install MSDE and sending SQL statements to the MSDE. Can anyone please help me out?

  2. #2
    Join Date
    Sep 2004
    Posts
    60
    I have to do this for my install this week, I'll post what I come up with.

  3. #3
    Join Date
    Sep 2005
    Posts
    1

    SQL Install...

    This is what I've used in the past:

    File.Run(".\\MSDE\\setup.exe", "/qr+ DISABLENETWORKPROTOCOLS=0 SECURITYMODE=SQL SAPWD=more", "", SW_SHOWNORMAL, true);

    You might be better of 'piping' a *.sql script file with all your instruction sets inside.

    -T

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts