EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > EQ2MAP > EQ2Map Troubleshooting

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-26-2007, 02:08 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default Updater Error in Vista (EQ2Maps v 1.11 through 1.14 tested)

Alright, I see a lot of posts on similar issues to what I am seeing but it seems there is confusion over versions and specifics such as OS and patch levels so I'll post my specifics in hopes that we can narrow this down a bit more.

OS: Vista Ultimate 32bit
CPU: Intel q6600
Ram: Crucial Ballistix Tracer PC 8500 (4gig)
Video Card: XFX nVidia 8800 GTS 320mb XXX Edition
Power Supply: Antec True Power Quatro 850 Watt
Storage: Twin Seagate 250 gig (Perpendicular) SATA II in Raid 0

.NET Version: 3.0 and 3.5 tested (currently on 3.5)
OS Patch Level: All current optional and recomended patches as of 11/26/2007
Vista UAC Mode: UAC disabled

EQ2Maps Versions Tested: 1.11, 1.13, and 1.14
Install Directory: c:\games\EQ2MAP Updater\

Troubleshooting Steps Taken:
  • Disabled UAC
  • Installed to directory other than /program files/ (Vista treats that folder with additional security that can impact some programs)
  • Set install directory to full access (unchecked Read Only)
  • Ran Installer as "Administrator" (via right click menu)
  • Ran Updater as "Administrator" (via modification of the shortcut properties)
  • Updated .NET platform from default (3.0) to 3.5 from Microsoft Website

Error Seen When Launching App:

Unknown Error: EQ2MAP_Updater
at EQ2MAPUpdater.GlobalVariables.ReadConfigValues()
at EQ2MAPUpdater.MainWindow.FormMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Object reference not set to an instance of an object.

Error Seen When Clicking "Options":

Unknown Error: mscorlib
at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetDirectories(String path)
at EQ2MAPUpdater.Options.Options_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Value cannot be null.
Parameter name: path

NOTES: As you can see, I am seeing two different errors. The first error appears just after launching the updater and can be cleared by clicking the x in the corner of the error screen. The second error comes up when I hit the Options button and can be cleared by clicking the x in the corner HOWEVER once the Options screen is up, clicking ANY button on the update screen (including the x to close it and the cancel button) produces the error again and refuses to allow the Options window to be closed.

Version of the updater does not seem to matter, nor does the version of .NET (3 or 3.5). I have done the obvious such as disabling UAC under Vista, running as Administrator, installing to a non system protected folder, and even running the updater in xp compatibility mode.

Please let me know if you would like any additional details or if I can help isolate the problem further.
Reply With Quote
  #2  
Unread 11-26-2007, 02:26 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Additional Information:

When the installer runs, it only creates one folder containing 4 files. The files created by the installer are listed below.

Name Type Size
EQ2MAP Updater Internet Shortcut 1KB
EQ2MAP_Updater.exe Application 888KB
EQ2MAP_Updater.exe.config XML Configuration... 1KB
uninstall.exe Application 48KB

I have tested running the installer with the default path (c:\program files\EQMAP Updater) as well as an alternate path (c:\games\EQMap Updater) with the same results.
Reply With Quote
  #3  
Unread 11-26-2007, 03:30 PM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

Thanx for the info, ill see if i can figure it out
__________________
Pimigo / Splitpaw
Reply With Quote
  #4  
Unread 11-26-2007, 03:40 PM
Hekynn Hekynn is offline
A Coastal Crab
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1
Default

seee thats why I dont use Vista its filled with bugs and not completely finished unlike xp. plus XP Service pack 3 is coming out woot =)
Reply With Quote
  #5  
Unread 11-26-2007, 06:22 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Quote:
Originally Posted by Hekynn View Post
seee thats why I dont use Vista its filled with bugs and not completely finished unlike xp. plus XP Service pack 3 is coming out woot =)
That logic works to a point.. I guess that is why some folks still drive their 1971 Ford Pinto to work every day too. Heck, its got 4 tires, a steering wheel, and a gas motor. I'm sure many of them are still quite reliable. Some folks probably still use their 8Tracks, records, and tapes to play their favorite toons too. (Humm.. I seem to remember iPods having more than a few hiccups once upon a time but I see a LOT more iPods in pockets today than Sony Walkman tape players.)

I have nothing against a 71 Pinto or an 8track player but I prefer something a little more modern with a few more bells and whistles myself. I would rather work with Jnils to fix this little problem than revert back to a nearly 7 year old OS.. Different stroks for different folks I guess..
Reply With Quote
  #6  
Unread 11-26-2007, 07:44 PM
celticht32's Avatar
celticht32 celticht32 is offline
A Forest Scavenger
 
Join Date: Jun 2006
Server: Antonia Bayle
Posts: 16
Default I have the same set of files ...

I dont get the full error described above just the unknown error and can clear it by hitting ok or the small X.

I also only have the 4 files mentioned above in my directory no more...
I have cleared the cache etc...


Chris
Reply With Quote
  #7  
Unread 11-27-2007, 12:21 AM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

Can you try to add this file to the program dir and see if it works any better.
(Unzip it first)
You may need to edit the path fields in it.
Attached Files
File Type: zip eq2map_config.zip (399 Bytes, 189 views)
__________________
Pimigo / Splitpaw
Reply With Quote
  #8  
Unread 11-27-2007, 11:20 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by jnils View Post
Ok have made a test version thats save the config and cache folder in C:\Documents and Settings\USER\Application Data\EQ2MAPUpdater.
I like to know if this works for you.
Oh, if it didn't do that before, that's something we had to do for our updater as well.

Also, if your app needs higher privileges you need to include an UAC manifest such that Vista prompts the user accordingly. We had to do the latter part to allow auto-updating of the updater application, but I think you need that for anything that you want to write outside of userspace (ie APPDATA). I guess you could ask Kaldran if you need specifics.

Hope that helps.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #9  
Unread 11-27-2007, 11:33 AM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

Quote:
Originally Posted by gm9 View Post
Oh, if it didn't do that before, that's something we had to do for our updater as well.

Also, if your app needs higher privileges you need to include an UAC manifest such that Vista prompts the user accordingly. We had to do the latter part to allow auto-updating of the updater application, but I think you need that for anything that you want to write outside of userspace (ie APPDATA). I guess you could ask Kaldran if you need specifics.

Hope that helps.
Im not sure if appdata solves it, i still need to get access to EQ2 dir, so you are probably right
__________________
Pimigo / Splitpaw
Reply With Quote
  #10  
Unread 11-27-2007, 11:36 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Ah right, and there was that part as well.
Reply With Quote
  #11  
Unread 11-27-2007, 11:56 AM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Thanks guys. I will test this out in the next hour or so and post back with my results.
Reply With Quote
  #12  
Unread 11-27-2007, 12:22 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Quote:
Originally Posted by jnils View Post
Ok have made a test version thats save the config and cache folder in C:\Documents and Settings\USER\Application Data\EQ2MAPUpdater.
I like to know if this works for you.
Sorry Jnils, the test installer you made does not appear to work either. I did an uninstall of the previously failed EQ2 maps install prior to installing the new Test version then did a default installation (allowing the program to install to the "c:\Program Files\EQ2MAP Updater" directory. Upon completion I received the following error...

Code:
Unknown Error: EQ2MAP_Updater
   at EQ2MAPUpdater.GlobalVariables.ReadConfigValues()
   at EQ2MAPUpdater.MainWindow.FormMain_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Object reference not set to an instance of an object.
As a side note, Vista no longer uses the XP legacy path format of C:\Documents and Settings\USER\...

All user data in Vista is now stored in C:\Users... General data for all users is stored in C:\Users\Public (such as common picture, document, and video files). Whereas data for specific users is stored under a unique sub folder for their user account (ie C:\Users\JoeUser\...)

I believe all application data in Vista is now stored in C:\ProgramData\ (Note! there is NO space between "Program" and "Data"). So if your installer is able to properly detect Vista as the Host OS, you might be able to poke your application data (such as the config file) into C:\ProgramData\EQ2MAP\ as an example.

I see this is exactly what nVidia does with this directory. They store a small XML file containing general config information for all users in C:\ProgramData\NVIDIA. Adobe, HP, VMWare, and Microsoft all use this path in a similar way.

Last edited by Ripper-Joe : 11-27-2007 at 12:40 PM.
Reply With Quote
  #13  
Unread 11-27-2007, 12:34 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Jnils, I was able to uninstall the test installer you provided then reinstall the official 1.14 version. I then manually added the config file to the install directory (c:\program files\EQ2MAP Updater\) and fire up the updater. With the config file manually installed the updater ran normally and begain building a cache folder of map files.

It appears the installer is simply unable to create the default config file in the specified folder but once placed there manually the file works normally and allows the updater to work normally as well.

Is there a way in which I can manually configure the application to look for the config file in the C:\ProgramData\EQ2MAP\ folder just for testing? Is the target path for the config file stored as a variable in the EQ2MAP_Updater.exe.config xml file or is it hard coded into the binary?

EDIT: Never mind. I can see you do not store your paths as variables in the EQ2MAP_Updater.exe.config file. The only content of this file is a variable for the runtime version.

Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <startup>
    <supportedRuntime version="v2.0.50727" />
  </startup>
</configuration>
Can you compile a test build that pokes the eq2map_config.cfg file into C:\ProgramData\EQ2MAP\ ???

Last edited by Ripper-Joe : 11-27-2007 at 12:39 PM.
Reply With Quote
  #14  
Unread 11-27-2007, 03:59 PM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

Can you change any of the settings from inside the program and look if they are stored until the next time you run it ?

Im not sure why it can create a cache folder ,but not a config file ???
May be the name.....

Is there 1 file inside chache ?

I did use appdata for the config file in the test verion, im not sure where they endup in Vista
__________________
Pimigo / Splitpaw
Reply With Quote
  #15  
Unread 11-27-2007, 04:11 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Quote:
Originally Posted by jnils View Post
Can you change any of the settings from inside the program and look if they are stored until the next time you run it ?

Im not sure why it can create a cache folder ,but not a config file ???
May be the name.....

Is there 1 file inside chache ?

I did use appdata for the config file in the test verion, im not sure where they endup in Vista
The Cache folder only contains one file. "updates_list.xml".

Good question about editing the config file from the options menu. Since I knew I did not install EQ2 into the default location I edited the config file manually before running the updater just to make sure the updater would fire off on the right directory since I knew from previous experience that it starts updating BEFORE you have a chance to set the options. I did notice that once I edited the config file and launched the app, I could open the options menu and my edits were shown as the current path.

I will try changing the path via the options menu and see if it updates the config file or not.
Reply With Quote
  #16  
Unread 11-27-2007, 07:01 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Quote:
Originally Posted by jnils View Post
Can you change any of the settings from inside the program and look if they are stored until the next time you run it ?
Yes, changes made in the options window do indeed save to the config file and are persistant between loads of the application. So it appears the application is able to write to the file but the installer is unable to create the file.
Reply With Quote
  #17  
Unread 11-28-2007, 12:16 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

Just tested on my window Vista 32 home with AUC enabled and it installed with out issues. It detected my EverQuest II directory, updated EQ2MAP with in my customUI and ran EverQuest II with out any issues. Yes I have to click allow on the AUC warnings. Once when it wanted to install the software and when it ran and thats it. Every thing works fine with a correctly installed windows Vista OS.

If you are having issues I suggest you check into your setup and/or contact your system administrator for assistance in installing this software.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #18  
Unread 11-28-2007, 12:24 AM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

OK thanx all
I have 2 more tests i would like to do.
Ill make them when i get home from work.
I hope you have time to test them
__________________
Pimigo / Splitpaw
Reply With Quote
  #19  
Unread 11-28-2007, 10:06 AM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

A new test run.

This time the TEST2 file , have some manifest files attached to it.
Lets see if this helps to get file access

The TEST3 file has a dummy config file, it seems like the program works if a config file exits from start. I have alltered the install script to write one if none exits.

Please make a Clean install, delete all files inside EQ2MAP Updater first.
__________________
Pimigo / Splitpaw

Last edited by jnils : 11-29-2007 at 12:41 AM. Reason: No longer needed.
Reply With Quote
  #20  
Unread 11-28-2007, 11:29 AM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Quote:
Originally Posted by jnils View Post
A new test run.

This time the TEST2 file , have some manifest files attached to it.
Lets see if this helps to get file access

The TEST3 file has a dummy config file, it seems like the program works if a config file exits from start. I have alltered the install script to write one if none exits.

Please make a Clean install, delete all files inside EQ2MAP Updater first.
Jnils,

Thanks for taking the time to test this issue. I realize Landiin has had better luck but I also realize I am not the only one on these forums experiencing this issue.

I have just finished testing the Test2 and Test3 versions of the installer. Each was tested with a clean install (uninstall previous version and delete all files and folders). Here are my test results.

The Test2 file (with manafest included) produces the same experience on my machine as previous tests. The installation completes but no config file is created and when the updater is launched I receive the same errors as before. The installer creates an extra file this time (EQ2MAP_Updater.exe.manifest) but still no config file.

The Test3 installer was indeed able to create a dummy config file in the EQ2Map Updater directory. The dummy file contained only the following...

Code:
<?xml version="1.0" standalone="yes"?>
<ConfigOpt>
  <ConfigValues>
    <OptionName>EQ2Dir</OptionName>
    <OptionValue></OptionValue>
  </ConfigValues>
</ConfigOpt>
Upon launching the updater after install, the following error appeared ...

Code:
Unknown Error: EQ2MAP_Updater
   at EQ2MAPUpdater.GlobalVariables.ReadConfigValues()
   at EQ2MAPUpdater.MainWindow.FormMain_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Object reference not set to an instance of an object.
So at least in my case, neither test allowed the updater to work properly on my Retail Vista Ultimate 32bit OS install. This is a clean install (not an upgrade install) on a brand new machine I built about a month ago. As stated in my first post I have disabled UAC and tested the installer in both XP Compatibility mode and run as Administrator. I am very open to the idea that there is a setting in need of tweaking on my Vista config and am open to any suggestions from any Vista experts out there.

Even though I now have a known work around (manually copying the config file into the install directory after a clean install) I would like to continue working through this issue until we hit a dead end. If you look at the thread read count or scan through some other posts in this forum you will see I am not alone in this experience. My hope is that a true solution (or at least a good explination of why this is happening) can be found to help the rest of the users out there who are also experiencing this issue.

Jnils and others, if you have any suggestions or further tests you would like me to conduct, please let me know. I will offer myself and my system up as a test platform and will entertain just about any suggestion you would like to toss at me. Thanks again for taking the time and effort thus far.
Reply With Quote
  #21  
Unread 11-28-2007, 02:40 PM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

All i can think of is using a complete config file, but i don't get why it works

Test 4 , with a full config file.
Same as before a clean install.

If this don't work, i go nuts :P (probably won't work)
__________________
Pimigo / Splitpaw

Last edited by jnils : 11-29-2007 at 12:41 AM. Reason: No longer needed.
Reply With Quote
  #22  
Unread 11-28-2007, 05:41 PM
Ripper-Joe Ripper-Joe is offline
A Forest Scavenger
 
Join Date: May 2006
Server: Antonia Bayle
Posts: 15
Default

Okay, prepare to go nuts (I know I'm going nuts now!).

I did a clean install of Test4 and here's what happen. The installer created a much more complete Config file (however the config file does not match the previous test config file in the order in which the variables are defined). Upon firing up the updater after the install, I receive the now familiar:

Code:
Unknown Error: EQ2MAP_Updater
   at EQ2MAPUpdater.GlobalVariables.ReadConfigValues()
   at EQ2MAPUpdater.MainWindow.FormMain_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Object reference not set to an instance of an object.
So on a whim, I renamed the config file created by Test4 installer to eq2MAP_config.cfg.bak (just to move it out of the way without altering its contents) and I copied in the example config file you provided me previously just to see if the differences between the two config files made a difference.

Using the Test4 installed files but with the older config file, the program works normally. However when config file Test4's installer created is in use, the program fails.

So I took a look at the two config files and compared them. I see the "full" config file created by Test4's installer does not define some variables that are defined in the working config file. I then set about adding the missing variables one at a time to see which ones the Updater seems to feel are required.

Lucky for me, I hit gold on the first try. It appears the OptionName "EQ2Dir" can not be left to a null value. It must be defined. Below shows which line I changed and what I changed it to.

From:
<OptionName>EQ2Dir</OptionName>
<OptionValue></OptionValue>
To:
<OptionName>EQ2Dir</OptionName>
<OptionValue>C:\games\Sony\EverQuest II</OptionValue>

After adding the EQ2 path the updater fired up properly and worked normally. All other values were left exactly as the Test4 installer created them.

Knowing full well that I have installed EQ2 to a non standard installation directory (c:\games rather than c:\program files) I decided to see how the updater would react if I put in the default path into the config file even though it would not be able to find my installation at that path. Much to my amusement, the updater did NOT produce an error when the path was set to a different location than my EQ2 installation but it DOES produce an error if the path is not defined at all!

For extra credit, I decided to take this one step further and create a config file that ONLY contained the EQ2DIR variable. (I can't leave well enough alone.) This produced a very interesting result. With a config file containing ONLY the following...

Code:
<?xml version="1.0" standalone="yes"?>
<ConfigOpt>
  <ConfigValues>
    <OptionName>EQ2Dir</OptionName>
    <OptionValue>C:\Games\Sony\EverQuest II</OptionValue>
  </ConfigValues>
</ConfigOpt>
The updater launches WITHOUT AN ERROR!!! Furthermore, the updater assumes several default options and actually populates the rest of the variables into the config file after the first launch!

My only complaint at all with the minimized modified config file and the default assumptions of the updater is that it defaults to Autoupdate True and Autolaunch True. As a result, if you happen to have the wrong EQ2DIR path defined in the minimized config file, the updater will start patching the wrong folder and will fail to launch the EQ2 application before you have time to click Options and set the path correctly.

So, in summary, it appears the updater requires the EQ2DIR variable to be set in the config file. A null value in this line of the config will produce an error at start up but when the path is defined (even if it is wrong) the updater will launch normally even in the absence of any other lines in the config file.

It seems if you can either provide a prompt durring the installation to ask the user what their EQ2 installation directory is (and write that value directly to a minimized config file upon installation) or if you can change the way in which the updater reacts to the absence of the EQ2DIR variable, you may have licked this issue! I would suggest you change the defaults for Autoupdate and Autolaunch though just in case..
Reply With Quote
  #23  
Unread 11-28-2007, 06:18 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

Ripper-Joe just for grins and testing, Install and use the eq2map part of EQ2 Henchman. The EQ2MAP part of it basically mimics the EQ2MAP Updater. I am interested if you get any errors using it. If so maybe it's error reporting will shed some light on what is going on.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #24  
Unread 11-28-2007, 09:08 PM
celticht32's Avatar
celticht32 celticht32 is offline
A Forest Scavenger
 
Join Date: Jun 2006
Server: Antonia Bayle
Posts: 16
Default ok...

I used eq2henchman and did a map update and it is downloading just fine..
but again when I use the eq2mapupdater it fails with the unknown error...

shrugs

chris
Reply With Quote
  #25  
Unread 11-29-2007, 12:35 AM
jnils's Avatar
jnils jnils is offline
EQ2MAP Developer
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2006
Server: Splitpaw
Posts: 1,651
Default

Thanx Ripper-Joe

Quote:
So, in summary, it appears the updater requires the EQ2DIR variable to be set in the config file. A null value in this line of the config will produce an error at start up but when the path is defined (even if it is wrong) the updater will launch normally even in the absence of any other lines in the config file.
I think you have narrowing it down
It seems you have found the bug, its not really the config file, its EQ2DIR.

I assume you don't see a window telling you that it have found a EQ2DIR path ?

If the EQ2DIR path is empty it tryes to get the path to Everquest 2 from the registry. Here i think the program fails, it can't read from registry or don't have access to it.
If it can't find anything in registry , it should open a file dialog , telling you to select the path.
Ill have a look at it later today

Thanx again , this time i think we nailed it down
__________________
Pimigo / Splitpaw
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:50 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI