Cubiboy
Posts: 6
Joined: Wed Aug 06, 2014 10:01 am

Install XAMPP and PHP Code

Hello,

I hope, that I'm in the right forum (i'm new).

So my question:
I have coded a webapp in PHP and tested it in XAMPP. Now i want, that the users of the App can Install this Simple with the Installer, so they don't have to do anything manuel.

I have added the XAMPP.exe Package in the Feature-based Folder and the Application Folder edit to "C:\xampp".
How can I copy the PHP files to the htdocs folder of xampp? And how can I overwrite the Database files of XAMPP?


Sorry for my bad english (I'm german).

Thank you for you're answers.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Install XAMPP and PHP Code

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.
I have added the XAMPP.exe Package in the Feature-based Folder and the Application Folder edit to "C:\xampp".
Indeed, the above configurations are correct. In this case the "XAMPP.exe" package is installed to its own location (i.e. C:\xampp) and the files from your project will be copied to the "Application Folder" path (in your case C:\xampp folder).
How can I copy the PHP files to the htdocs folder of xampp?
In the Files and Folders page of your project create two new regular folders under "Application Folder" called "htdocs" and "database".
And how can I overwrite the Database files of XAMPP?
The content of these two folders can be overridden by your package at run-time if you use the option displayed in the screenshot below, therefore the files from your package will be copied to those folders and will replace the original files.
forum.png
forum.png (17.52 KiB) Viewed 5171 times
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Cubiboy
Posts: 6
Joined: Wed Aug 06, 2014 10:01 am

Re: Install XAMPP and PHP Code

Hello Eusebiu,

Thank you very detailed tutorial and youre fast answer.

I try it and if it doesn't work, i post again in this Thread.


Best regards,
Cubiboy
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Install XAMPP and PHP Code

You're welcome. Glad to help.

Just let us know if any problem appears.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ahmed.gad_it
Posts: 21
Joined: Fri Jun 08, 2018 12:07 pm

Re: Install XAMPP and PHP Code

Hi,

How to do these steps for Linux 64 and MAC OS?

Thanks!
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install XAMPP and PHP Code

Hello and welcome to our forums,

I am afraid we do not have any web app support for Linux 64 and MAC OS.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”