We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jsavoor
Posts: 13
Joined: Mon Jan 22, 2007 6:23 pm

Services and File execution

I am new to Adv.Installer and need some advice.

I have a service (service.exe).
I have created a service to install for this.
Then I created a services control action to start the service

I have created a custom action for the file I need to run to install some SQL tables. I am not very sure if I have created this properly. I am concerned about the Scheduling options.

What I need to now do is this...

1. Check to see if the service is running
2. If YES Stop the service
3. Run a file
4. Start the service.

I want to do this after the user clicks the INSTALL button in the VerifyReadyDlg dialog.

Could someone please help me.

Jay
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Jay,

Advanced Installer offer directly support for SQL scripts (create tables,etc):
http://www.advancedinstaller.com/user-guide/sql.html
http://www.advancedinstaller.com/user-g ... l-sql.html

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jsavoor
Posts: 13
Joined: Mon Jan 22, 2007 6:23 pm

Gigi

This does not answer my question. The s/w does not use SQL scripts. Instead it has an EXE file that does this.

So how do I perform the actions I need to.

Appreciate your assistance on this.

Jay
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Jay,

I think this is related to this:
http://www.advancedinstaller.com/forums ... =6493#6493

Best Regards,
Gigi
_____________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”