If I understand correctly, what you want to have is a whole Moodle installation that extracts with one click? This process is not trivial. You could zip the whole installation in a zip file and then have a script that extracts it in a given location. However, that destination location must be the same where the stack was initially installed. That is to say, if you installed Moodle in C:\Moodle, then the zip should be extracted in C:\Moodle. Otherwise, you will find problems.
Hope it helps
Javier J. Salmerón
Was my answer helpful? Click on