Flexera Software Community  

Go Back   Flexera Software Community > Products > Legacy Installer Products > Express 5.x and earlier > InstallShield Express 4 & 5
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2003, 08:09 PM
brethill
 
Posts: n/a
FYI: MSDE 2000 Windows 98 autostart work-around

Hey folks,

I just thought I'd post this for those of you who have experienced issues with getting MSDE 2000 to autostart on Windows 98 without having to pop up the ugly Sql Manager.

As it seems, Microsoft has no intention in making functionality to auto-start MSDE 2000 from a command line or other method without looking at this SQL Manager GUI and checking the "auto-start on reboot" box within Windows 98. For most of us, this is not a very good option. What I was able to do just for my Windows 98 customers was to use "scm.exe" and enable an undocumented (at least from the command line) feature of "-Silent 1". Executing the following within a shortcut from the "Start" folder:

scm.exe -Action 1 -Silent 1 -Service MSSQLSERVER

This will effectively start MSDE 2000 server every time on bootup without seeing any dialogs or status popup's. If you remove the "-Silent 1" from the call the standard "Starting Service" popup will show.

I welcome better ways of accomplishing an autostart in Windows 98 as there seems to be very little out there at the moment.
Reply With Quote
  #2  
Old 06-12-2003, 09:09 AM
Chandima Chandima is offline
InstallShield Developer
 
Join Date: Oct 2001
Posts: 4,852
Another approach I saw one user successfully implement was using the Registry's "Run" key. I'm not too familiar with MSDE 2000 but just to give you an idea of what I mean:

1. Launch the Regedit
2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
3. Create a new string named "Test"
4. Set it's value to C:\Windows\Notepad.exe
5. Reboot the machine

Everytime the OS reloads, Notepad will get launched.
__________________
Chandima Rajakaruna
Macrovision Corporation
Reply With Quote
  #3  
Old 06-12-2003, 11:36 AM
brethill
 
Posts: n/a
Thats the best solution I've seen thus far, thanks for the information. We'll put that one to use right away

Last edited by brethill : 06-12-2003 at 11:39 AM.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Flexera Software Inc. All rights reserved.