Posted by:
stevenmartin99
(---.b-ras1.srl.dublin.eircom.net)
whats wrong with the menu?????????????????
left click wamp>apahce>service>remove
left click wamp>apache>service>install
left click wamp>mysql>service>remove
left click wamp>mysql>service>install
im not trying to fight with you - but you dont know what your talking about. the uninstall script wasnt designed to be used by the user. Its used by the uninstaller script.
and wampserver actually comes with a service install script that WampServer uses on install ( which installs the service "correctly" into the current control set.)
.\bin\apache\apacheWAMPAPACHEVERSION\bin\httpd.exe -k install -n wampapache
reg add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V Start /t REG_DWORD /d 3 /f
.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqld.exe --install-manual wampmysqld
but like i said this is not suitable to use once the user installs other versions of mysql and apache. as a hardcoded version numbers will install the wrong services.(causing registry issues)
WampServer deletes the install service script after the install because it will be of no use to alot of people as
the main reason people choose wampserver over other WAMPS is the very ability to change versions of components for TESTING..
Compressed bat files in exe's are a major known source of false alarms from Antivirus Software scans and legitimate software being marked as trojans.( which is why wamp creates them during the install)
If you redistrubuting wampserver with your own files you should spend the time to recompile it with your files included instead of having clients messing around with bat files.. ( or they can use the wamp menu which has the service install/uninstall options which are dynamically generated based on the current verions used.
PS - If a client has WampServer installed and installs your program on top , your bat file will just cause more trouble and errors from them , as wampserver uses a "onlyifdoesnotexist" install parameter which means if they have other versions installed of the components they will stay active and your hard coded values will just throw a bunch of silly errors to the user. - you should really recompile changing the service names and the astean tray menu id ={wampserver} which is what makes the uninstall service script included different to your code above
Steven Martin
stevenmartin99@gmail.comstevenmartin99@hotmail.comPampServer.com - [
pampserver.com]
Edited 3 time(s). Last edit at 02/26/2011 11:41PM by stevenmartin99.