Quote:
|
Originally Posted by Sinbad
Taco Man,
This is a great little utility, but ... I have two questions that are burning in my brain after seeing what looks like irresponsible programming from someone who obviously seems to know what they are doing.
1. WHY are you writing files in my hard drive's root directory?! No program except a system program has any business using the root directory of my hard drive for storage! After 30 years of programming, I know the evils of doing this. I understand why you don't want to overwrite the existing files, but put them in a subdirectory under your program. Then copy them from there to the final destination as needed. In my opinion, this is a major problem and needs to be fixed immediately.
2. If people are having problems or it will cause problems for them to install this program in certain locations, then just tell them that in the installation notes. For example, if installing it in the Sony\EverQuest II\UI folder is a really bad idea, then tell them NOT to put it there. On the other hand, it would be nice if it were to look for the Sony\EverQuest II folder and offer to at least put it in the Sony folder. Still, this is not a gripe, just a suggestion.
|
In Question #1, when is it writing to the Root Directory of your hard drive? During the Installation or when running the Updater? Please clarify.
I know that the Installer is looking to the following registry entry on your system.
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\EverQuest2.exe]
@="C:\\Program Files\\Sony\\EverQuest II\\EQ2.exe"
"Path"="C:\\Program Files\\Sony\\EverQuest II"
This path was set when you installed EQ2. The only time I have seen this path not be were it's supposed to be is when someone copied the game install across a network because their computer either didn't have a DVD or CD-ROM drive. I have been writing installers for many years, and helped with a little bit of the installer code to check for the path of EverQuest 2. Where my personal installers (for my Guild) differ from this installer, is I also check for the EQ2.exe file in the path before I allow my users to install the mods I have created Installers for. On my installers you can not continue to install unless the path also contains EQ2.exe, as I install my mods into a custom folder within the UI folder. If I remember correctly the Updater also checks this registy key too, so it knows where to look for your EQ2.ini file. As designed the Updater uses the EQ2.ini file to read the location of your Custom UI folder so that it can install the files into the correct folders.
Sinbad,
What files are being written to your Root?
Do you have that Registry Entry in your Registry?
When right clicking on the EverQuest 2 shortcut do you have "C:\Program Files\Sony\EverQuest II" in the Start In box on the properties for the Shortcut, or something else like "C:\"?
Again is this the Installer or Updater writing to your Root folder?
During installation did the installer appear blank when it came to the Destination or did it show "C:\Program Files\Sony\EverQuest II" or similar folder?
Do you have an EQ2.ini file in your EverQuest 2 folder?
If it's the Updater please delete the "eq2map_config.cfg" file, and re-running the updater. This should force the Updater to locate your EverQuest 2 folder again. You should get an EQ2 Directory Confirmation Message asking if that is the correct path or not, with the options of Yes or No. If you choose Yes, it records the folder in the eq2map_config.cfg file, and if you choose no, it brings up a Browse Dialog that is looking for the Everquest2 executable.