If you are running a 64bit version of Windows, the registry key as described by Draven
is incorrect!
Draven wrote:So, by looking at the code, you can see that this value is located at :
HKEY_LOCAL_MACHINE\SOFTWARE\XAMPP
Registry Key : Install_Dir
Value : your_current_xampp_directory (E:\xampp in your case)
All you have to do is open the registry editor (start ---> run ---> type regedit then enter). Navigate to HKEY_LOCAL_MACHINE\SOFTWARE. Right-click on SOFTWARE and Choose New ---> Key. Then, type XAMPP then, click OK. Navigate to the XAMPP Key you just created, then right click on the right column (anywhere in the big white space) then again, New ---> String Value. Name it Install_Dir (probably case sensitive!) then hit Enter. Double click this value and in the appropriate box, type the path of your current XAMPP installation (E:\xampp in your case). Close the registry and restart the Control Panel and you're ready to start.
The reason for this is that 64bit versions of Windows do funky things with your registry. For example, all registry keys for 32-bit software are moved to a subfolder called 'Wow6432Node'. This means the registry key you need to edit is:
HKEY_LOCAL_MACHINE\SOFTWARE\
Wow6432Node\XAMPP
Registry Key : Install_Dir
Value : your_current_xampp_directory (E:\xampp in your case)
The rest of the procedure is similar, but just use this registry key instead of the one described by Draven. Hope this helps.