Author Topic: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**  (Read 14076 times)

aroberts12

  • Newbie
  • *
  • Posts: 1
Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« on: October 17, 2015, 08:56:31 pm »
Hello

When I try to install GSX or Addon Manager for v3 of P3D I get an error pop up saying "Runtime Error (at 135:1909) NIL interface exception"

In the background of the installer I can see it says "Adding Couatl section to the DLL.xml" not sure if this has anything to do with the error

I am using the latest installers and picks up my P3D V3 directory

Any help is appreciated
Thanks!
« Last Edit: October 19, 2015, 10:41:41 pm by virtuali »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50691
    • VIRTUALI Sagl
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #1 on: October 19, 2015, 10:49:39 pm »
We found the problem, and it was due to your DLL.XML or EXE.XML missing this line:

<Launch.ManualLoad>False</Launch.ManualLoad>

This line can be True or False, but it's usually present. If you add it to your DLL.XML and/or EXE.XML, the installer will continue with no errors.

The top part of the EXE.XML file should look like this:

<?xml version="1.0" encoding="windows-1252"?>
<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>exe.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>False</Launch.ManualLoad>


The top part of the DLL.XML file should look like this:

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>dll.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>False</Launch.ManualLoad>


Then, you see the various <Launch.Addon> sections for each module you have installed.

The XML files are located at:

%APPDATA%\Microsoft\FSX  ( FSX or FSX:SE if you installed FSX Steam edition without having FSX already installed )

%APPDATA%\Microsoft\FSX-SE  ( FSX or FSX:SE if you installed FSX Steam edition alongside FSX )

%APPDATA%\Lockheed Martin\Prepar3d
%APPDATA%\Lockheed Martin\Prepar3d V2
%APPDATA%\Lockheed Martin\Prepar3d V3

If you use P3D, depending on your version

Be sure you use a pure text editor to edit the files (Notepad it's fine), and check both the DLL.XML and the EXE.XML files. We are also updating all the installer to handle this case, but there's no need to download them again, if you just fix the XML files this way.
« Last Edit: October 19, 2015, 10:53:03 pm by virtuali »

pmb11

  • Newbie
  • *
  • Posts: 18
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #2 on: October 19, 2015, 10:57:06 pm »
Thanks Umberto,

for tracking this issue. This line was indeed missing in my exe.xml file.

Kind regards, Michael

roigjoan

  • Newbie
  • *
  • Posts: 7
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #3 on: July 14, 2016, 07:45:24 pm »
Good day.

I have the same problem, so I have tried to do what you say but it doesn`t work it is the 148 runtime error and after that appears: list of index bounds. And after that two errors the addon manager installation doesn`t continue!

Thanks, Joan.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50691
    • VIRTUALI Sagl
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #4 on: July 15, 2016, 10:30:00 am »
I have the same problem, so I have tried to do what you say but it doesn`t work it is the 148 runtime error and after that appears: list of index bounds. And after that two errors the addon manager installation doesn`t continue!

Your error is not exactly the same as the one reported here, but it's clearly a problem with your XML files. If you could post them here, I can tell you where they are corrupted.

Do not post the lines. ZIP both files together, and use the Attach function of the message (click "Additional Options...") to Attach them to your post.

The files are located here:

%APPDATA%\Microsoft\FSX\DLL.XML
%APPDATA%\Microsoft\FSX\EXE.XML

roigjoan

  • Newbie
  • *
  • Posts: 7
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #5 on: July 15, 2016, 03:32:20 pm »
I think that you want to see this two files.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50691
    • VIRTUALI Sagl
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #6 on: July 15, 2016, 11:14:13 pm »
I think that you want to see this two files.

I'm not seeing any files. I'm seeing a "screenshot" of your screen, which is not helpful at all, since as you can see, the 2nd file is larger than the screenshot, so it's not possible to see the whole file.

Which is why, I posted clear instruction how to ATTACH a file to a message, that I'll repeat here:

Do not post the lines. ZIP both files together, and use the Attach function of the message (click "Additional Options...") to Attach them to your post.

roigjoan

  • Newbie
  • *
  • Posts: 7
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #7 on: July 16, 2016, 09:21:55 am »
I`m spanish, not from America or United Kingdom, sorry.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50691
    • VIRTUALI Sagl
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #8 on: July 16, 2016, 04:34:37 pm »
I had a look at your files and yes, of course, one of them was corrupted. It included a "BOM" (Byte Order Mark) which should normally used only by files encoded in UTF-8. But the XML header said the file used a Windows Latin1 encoding, which is the default. So, basically, the XML "lied" about itself, since the header didn't match the encoding.

This can usually caused by:

1) A bugged installer of another product. We had reports that ASN installer mistakenly changed the encoding in UTF-8 without changing the header accordingly. But it was fixed in later version, maybe your version is not up to date.

OR

2) Editing the file manually with a text editor that changed the encoding when saving.


In any case, I fixed the files, which should now work.
« Last Edit: July 16, 2016, 05:12:16 pm by virtuali »

roigjoan

  • Newbie
  • *
  • Posts: 7
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #9 on: July 17, 2016, 09:51:04 pm »
Thank you so much, i will try to replace it in 30min and I will notify you!

roigjoan

  • Newbie
  • *
  • Posts: 7
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #10 on: July 17, 2016, 11:36:47 pm »
The installation works and the problem doesn`t appear, but unfortunately i upload the p3d client to 3.3.5 and the control panel(shift+f12+ctrl) still not appearing so I think that I will have to reinstall all p3d.

Thanks a lot!

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50691
    • VIRTUALI Sagl
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #11 on: July 18, 2016, 11:58:49 am »
The installation works and the problem doesn`t appear

That was to be expected, since the problem was your corrupted XML file.

Quote
but unfortunately i upload the p3d client to 3.3.5 and the control panel(shift+f12+ctrl) still not appearing so I think that I will have to reinstall all p3d.π

That's another entirely different issue, which also doesn't have anything to do with GSX or any of our products, and it's more like a P3D installation bug that will affect any 3rd party application with a menu: since LM forgot to update some files in the "Client" installer, no application with a menu will work unless you install the P3D "Content" or the Full installer.

There's no need to reinstall the sim, just download the Content.

roigjoan

  • Newbie
  • *
  • Posts: 7
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #12 on: July 18, 2016, 12:02:37 pm »
Okey, i will do it, thanks!

roigjoan

  • Newbie
  • *
  • Posts: 7
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #13 on: July 18, 2016, 08:54:17 pm »
You are the best! jeje i upload my content and all works okay! perfect job!!

laci2512

  • Newbie
  • *
  • Posts: 4
Re: Runtime error installing GSX/Addon manager P3D V3 **SOLVED**
« Reply #14 on: July 21, 2016, 01:10:46 pm »
Good afternoon,

I have the same problem as  roigjoan. Would you be so kind and be able to fix my dll.xml and exe.xml from my C:\ProgramData\Lockheed Martin\Prepar3D v3 ?
Or would you give me the tip how to do that?

Thank you very much for your time.

Laci