At my previous work (webdeveloper) we had to put a few projects (PHP, using MySQL) on CD so we could use them to give off-line presentations for clients that didn't have an internetconnection.
We tried the following and it worked (win95/98, winnt after a few adaptations to conf files) :
- We copied the complete Apache, MySQL and PHP directories to a "temporary drive" (with subst e.G., or just an empty partition).
- in the "php.ini" (PHP) and "httpd.conf" (apache) we corrected every link, making them all 'relative' (e.g.: "/apache/htdocs" in stead of "c:/apache/htdocs")
- we created an autorun which called for a batch file. This batchfile started mysql and the server. (using start.exe found on the WIN98 CD)
Now MANUALLY we created a file (not sure about the filename "hosts" I think) with an url and ip-address. When someone typed in "http://www.my-url.com" he got to the "localhost". But this part was not done by me, so I'm not sure how it went.
WINNT gave some problems, but they were solved by copying some files to some directory (don't remember which, sorry!).
Hope this helps you out...
Jeroen