Hi,
I had the same Problem. The nice thing about xampp is, that the source is directly included!
Line 968 @ XAMPP.C
- Code: Select all
if (stricmp(cur_dir, install_dir))
// lbprintf(hList, "*** WARNING: Directory mismatch ***");
error = UpdateStatus(hDlg);
if (error) {
... show the known error...
}
Nah, any idea what is going wrong? Okay, the newer version of (FREE!) Microsoft Visual C++ Express 2010 give a direct hint: Variable error is never initialized.
IF current-dir not equal install_dir (so at all good installations!) there should be shown an error! Anyone seems to have commented out the hint on that error. The result is, that the next instruction "error = UpdateStatus(hDlg);" - never was executed on "good installations".
On all "good installations" there is only random trash in the variable error. I just re-uncommented the clear error-text; now error is set correct to 0 in normal cases.
- Code: Select all
if (stricmp(cur_dir, install_dir))
lbprintf(hList, "*** WARNING: Directory mismatch ***");
error = UpdateStatus(hDlg);
if (error) {
... show the known error...
}
For everyone, who do not want to download/install the compiler for that change, I uploaded the new exe to a server:
EDIT: LINK DELETED! There is a newer version, discussion & URL @
http://community.apachefriends.org/f/viewtopic.php?f=16&t=46743&p=179939#p179939Before I forget... I had to uncomment 2 functions in XAMPP.C / XAMPP.H: sprintf & printf...
Best regards & enjoy downloading untrusted EXE-files
Steffen Strüber
PS: Another quick&dirty method to force install-dir to be unequal current-dir:
Delete/rename/modify "Install_Dir" in registry, Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\xampp [for 64bit systems]
HKEY_LOCAL_MACHINE\SOFTWARE\xampp [for 32bit systems]