jasirw Posted February 1, 2006 Posted February 1, 2006 (edited) Has anyone had success in installing xampp? For those who dont know it is open source and contains PHP, APACHE, FILEZILLA and MYSQL and is amazing! Basically i can use the /S to silence the install but when it comes to starting the services for each of the above programs a dialogue pops up. If anyone had any ideas i would GREATLY appreciate itFor anyone that's interested, the app can be freely downloaded from here: http://www.apachefriends.org/en/xampp-windows.html Edited February 2, 2006 by jasirw
jasirw Posted February 6, 2006 Author Posted February 6, 2006 Ok, well i decided to try my hand at AutoIt for this one as there didnt seem to be a work around. If anyone is interested here is the script i used (with a lot of help from AutoItMacroGenerator ) I hope this helps someone else in the same position as myself; ----------------------------------------------------------------------------;; AutoIt Version: 3.1.0; Author: jasirw;; Script Function:; Silently Install XAMPP 1.5.1;; ----------------------------------------------------------------------------; Script Start - Add your code below hereRun("xampp-win32-1.5.1-installer.exe /S")WinWait("XAMPP 1.5.1 Setup","Install XAMPP servers (Apache,")ControlClick("XAMPP 1.5.1 Setup","Install XAMPP servers (Apache,","Button1")WinWait("XAMPP 1.5.1 Setup","Install Apache 2 as service?")ControlClick("XAMPP 1.5.1 Setup","Install Apache 2 as service?","Button1")WinWait("XAMPP 1.5.1 Setup","Apache 2 Service was installed")ControlClick("XAMPP 1.5.1 Setup","Apache 2 Service was installed","Button1")WinWait("XAMPP 1.5.1 Setup","Install MySQL as service?")ControlClick("XAMPP 1.5.1 Setup","Install MySQL as service?","Button1")WinWait("XAMPP 1.5.1 Setup","MySQL Service was installed su")ControlClick("XAMPP 1.5.1 Setup","MySQL Service was installed su","Button1")WinWait("XAMPP 1.5.1 Setup","Install FileZilla FTP Server a")ControlClick("XAMPP 1.5.1 Setup","Install FileZilla FTP Server a","Button1")WinWait("Question","Install Service?")ControlClick("Question","Install Service?","Button1")WinWait("Question","Autostart service?")ControlClick("Question","Autostart service?","Button2")WinWait("Question","Start server?")ControlClick("Question","Start server?","Button2")WinWait("Question","Uninstall Service?")ControlClick("Question","Uninstall Service?","Button2")WinWait("XAMPP 1.5.1 Setup","Congratulations! The installat")ControlClick("XAMPP 1.5.1 Setup","Congratulations! The installat","Button2")
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now