How do I set Apache and MySQL to launch on windows startup? - Advanced Installer Community

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!

dgriswold
Posts: 1
Joined: Thu Jul 06, 2006 9:04 pm

How do I set Apache and MySQL to launch on windows startup?

I have a batch job to launch Apache (and one for MySQL) that I need it run every time windows starts. I followed the instructions in topic 626? highlight=create+install+sets+application+start+boot. The installer I built creates the registry entry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run with the correct value that I entered. I reboot the system and it doesn't run. The batch file starts Apache when run at the command prompt.

What do I need to do to make this work? Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In order to work that registry value must contain the full path of your bath file like this:

Code: Select all

C:\Program Files\file.bat
Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”