jfuhr
Posts: 41
Joined: Wed Mar 19, 2008 4:52 pm

Auto Start MSDE after Install

I've read earlier posts on how to install MSDE using the Prerequisite section.

This works great, but MSDE does not automatically start after it is installed. I need it started because I have a SQL Script that needs to execute to create the database, etc.

How have others accomplished this? I see that I can control Windows Services to start them, but where does this take place in the install sequenece? Also, what is the Attached Component in reference to a service?

Thanks -
Jaime
gabriel
Posts: 15
Joined: Mon Mar 17, 2008 3:39 pm
Location: Craiova
Contact: Yahoo Messenger

Hi,
I see that I can control Windows Services to start them, but where does this take place in the install sequence?
You can start a service during an installation by using a service Control Operation in the "Services" page. This Control Operation is executed during the "InstallExecuteSequence" -> "StartServices" standard action in the "Custom Actions" page. In order to see "StartServices" you can use the "Show standard action" button on the toolbar.
Also, what is the Attached Component in reference to a service?
The Attached Component is the component which will contain the control operation.

Regards,
Ovidiu
_____________
Ovidiu Blejdea
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”