Page 1 of 1

silent, automated install

PostPosted: 12. November 2009 23:40
by factorial
Hey guys, how can I install xampplite or xampp silently? I need to automate this install process. Many thanks!

Re: silent, automated install

PostPosted: 13. November 2009 07:53
by Wiedmann
You can try e.g.:
Code: Select all
xampp-win32-1.7.2.exe -dC:\ -s1 -spauto

See:
http://www.apachefriends.org/en/xampp-windows.html#522

Re: silent, automated install

PostPosted: 17. November 2009 17:05
by factorial
Thanks Wiedmann!

Re: silent, automated install

PostPosted: 10. October 2011 08:30
by MQueen
I'm use this file : xampp-win32-1.7.4-VC6-installer.exe .
Your command don't work in this version ?
I use your command and this do normal install .
Please help me .
How can see full swich for install ?

Re: silent, automated install

PostPosted: 10. October 2011 08:40
by Sharley
@ MQueen
We require your Windows Version to provide the correct version support - please read the following Announcements.
viewtopic.php?f=16&t=48331
viewtopic.php?f=16&t=32670

Thanks.

Re: silent, automated install

PostPosted: 10. October 2011 08:51
by MQueen
I'm so sorry and thank you.
My Windows version : windows 7 Ultimate SP 1 & windows Server 2003 SP 3

Re: silent, automated install

PostPosted: 10. October 2011 09:22
by Sharley
You can , as a better alternative to the installer exe version, use the
xampp-win32-1.7.4-VC6.zip
or the
xampp-win32-1.7.4-VC6.7z
from here:
http://sourceforge.net/projects/xampp/f ... ows/1.7.4/

You can download and install 7zip from here if you haven't already, also there may be more help on their web site:
http://www.7-zip.org

Then you can use this command line example for a silent install:
Code: Select all
C:\Programfolder\7-Zip\7z.exe x xampp-win32-1.7.4-VC6.zip -oC:\targetfolder
Note: "-oC:\targetfolder" must be written with no spaces.
Use your own path to where you installed 7zip and the target folder.

You can use
Code: Select all
7z.exe -h
for help with all the switches/commands.

Please let me know back if you had success using this, or not.

Thanks and good luck. :)

Re: silent, automated install

PostPosted: 13. February 2012 15:26
by Hein_Daddel
Hi,

I have the same problem like factorial. Want to make a silent installation of XAMPP 1.7.7 on Win7 x86 Pro but the old parameters doesn't work anymore.
I'm not able to use 7zip or other tools on the pc's where I want to install XAMPP.
I hope someone can help me with a solution for the self-extracting exe file (xampp-win32-1.7.7.exe).

Greetings
Hein Daddel

Re: silent, automated install

PostPosted: 13. February 2012 16:04
by JonB
I don't know the details of your situation, BUT you might want to look at this tool -

http://www.ftp-unzip.com/ZipDeploy/

If no-one beats me to it, I'll look at your original request this evening after work.

Good Luck
8)

Re: silent, automated install

PostPosted: 14. February 2012 08:09
by Hein_Daddel
Hi JonB,
thanks for your answer.
Unfortunately I can't use extra tools like "ZipDeploy" on the PC's whre I want to install XAMPP.
So I think the only way for me is to use the .exe file of XAMPP.

The command "-dc:\ -s2 -spauto" worked fine for XAMPP 1.7.3 on Win7 x86. I can't figure out what happend with these parameters. I even tried the other parameters in all combinations.
I suggest the first request after the language makes the problem. Perhaps there is a way to set a default language?

Or is there any way to write an answer file for the installation and attach it as a parameter?


Greetings and many thanks for your time
Hein_Daddel

Re: silent, automated install

PostPosted: 14. February 2012 14:48
by hackattack142
I am not sure about the older versions but the newer ones use Nullsoft Installer as far as I know. See section 3.2 for command line options (Note: The switches are case sensitive): http://nsis.sourceforge.net/Docs/Chapter3.html#3.2

Re: silent, automated install

PostPosted: 27. November 2014 10:54
by ddk
Hi, I'm new,
I still use xampp 1.7.1 because it's compatible with my plugins.

now I need doing silent installation for many PC
xampp-win32-1.7.1-installer.exe -dc:\ -s2 -spauto
xampp-win32-1.7.1-installer.exe /S
xampp-win32-1.7.1-installer.exe -unattended
but no luck,
it there someone can help me out. really appreciated and thank you

Re: silent, automated install

PostPosted: 23. October 2015 09:50
by Hodor88
For Xampp-win32-5.6.14-0-VC11-installer
the paramerters for unattended installation ares:

xampp-win32-5.6.14-0-VC11-installer.exe --mode unattended

Best Regards

Re: silent, automated install

PostPosted: 14. March 2018 06:50
by GEMINI_123
hI Frnds,

how to specify user specific directory to install xampp silently?
Becoz it always installed it in "C:\Xampp" i want to change the directory while installation silently.

Thanks