Installion Script

aball65 wrote on Tuesday, November 03, 2009:

I’m trying to put together an OpenEMR install/uninstall guide for my own use which I will share with the OpenEMR community once it’s complete.  However, I’m having trouble with the OpenEMR 3.1.0 installer (OpenEMR-XAMPP-3.1.0.exe) on my Windows XP box.  Sometimes the installer automatically installs and starts the Apache2.2 and MySQL services and other times it doesn’t.  When the latter happens, I resort to using the XAMPP Control Panel.  However, when I do this, the MySQL service does not show up in the Windows Services Manager.  In both installatioin scenarios OpenEMR appears  to work.  Has anyone else run into this anomaly?

Thanks!

bradymiller wrote on Wednesday, November 04, 2009:

hey,

You should be able to get the mysql/apache services installed by below scripts if the automatic install doesn’t work:

-Double click C:/xampp/mysql/mysql_installservice

-Double click C:/xampp/apache/apache_installservice

I don’t know enough about this specific distribution to answer your question very well, but guessing when you uninstall it some remnants of mysql and apache may be left over (in the registry maybe) that cause these problems.

-brady

ideaman911 wrote on Wednesday, November 04, 2009:

Hi;

If you use the latest Windows install by Chris Lucena, I think, it loads to the c:\xampp and installs the two services.  I am not certain what happens of you delete any of that, but if you do not have the Apache and MySQL services, you can use the Xampp-Control.exe found in c:\xampp as I suggest for those who wish to not consume resources unless needed.  It will allow you to start and stop the Apache & MySQL separately, which will not show up in the Windows administration - services area.  You should, however, rename the file c:\xampp\mysql\bin\mysqladmin.exe as nousemysqladmin.exe or the like to prevent lockup if you inadvertently hit the SVC checkoffs.  Experience…  I wish Chris had done that before the distribution.

Joe Holzer    Idea Man    315-622-9241     im@holzerent.com
http://www.holzerent.com

aball65 wrote on Friday, November 06, 2009:

Thanks Brady.  The install and uninstall batch scripts seem to be more reliable than the openemr installation executable when your not doing a first time installation.

Joe - The xampp control panel works too.  However, the MySQL service does not show up in the Windows Service Manager on my PC when started from xampp.  I don’t get this issue when starting the Apache2.2 service from xampp.  Probably a MySQL registry issue.

Thanks