Author Topic: Error in add-on.xml  (Read 3068 times)

p3dx3

  • Hero Member
  • *****
  • Posts: 592
Error in add-on.xml
« on: April 15, 2020, 11:53:01 pm »
Downloaded new installer this morning. There is an error in the add-on.xml

  <AddOn.Component>
    <Category>Scenery</Category>
    <Path>E:\Addon Manager\FsDreamTeam\KORDV2\prepar3dv4\Scenery</Path>
    <Name />
    <Layer>599</Layer>
  </AddOn.Component>
« Last Edit: April 15, 2020, 11:58:07 pm by 413x3 »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50651
    • VIRTUALI Sagl
Re: Error in add-on.xml
« Reply #1 on: April 16, 2020, 01:10:41 pm »
That's not the add-on.xml created by our installer, since our installer DOES NOT put a <Layer> number.

That's seems to be a problem most likely caused by the Lorby Addon Organizer, which rewrites add-on.xml, adding a Layer command, which allows to rearrange add-on. If you remove it, and run our installer again, you'll see the Layer command is not there, and the Name is set correctly.

p3dx3

  • Hero Member
  • *****
  • Posts: 592
Re: Error in add-on.xml
« Reply #2 on: April 17, 2020, 03:48:59 am »
That's not the add-on.xml created by our installer, since our installer DOES NOT put a <Layer> number.

That's seems to be a problem most likely caused by the Lorby Addon Organizer, which rewrites add-on.xml, adding a Layer command, which allows to rearrange add-on. If you remove it, and run our installer again, you'll see the Layer command is not there, and the Name is set correctly.

The Lorby's program adds a layer but does not change the name. If you say the installer does not write the wrong name Okay.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50651
    • VIRTUALI Sagl
Re: Error in add-on.xml
« Reply #3 on: April 17, 2020, 03:15:52 pm »
Quote
The Lorby's program adds a layer but does not change the name

But since the name of the Scenery in YOUR add-on.xml HAS been changed, it clear that it did that, for some reason.

If you say the installer does not write the wrong name Okay.

This is the content of the add-on.xml, as created by our installer.


<SimBase.Document Type="AddOnXml" version="4,0" id="add-on">
  <AddOn.Name>FsDreamTeam KORDV2</AddOn.Name>
  <AddOn.Description>FsDreamTeam Chicago O'Hare V2 International Airport scenery</AddOn.Description>
  <AddOn.Component>
    <Name>FsDreamTeam Chicago O'Hare V2</Name>
    <Category>Scenery</Category>
    <Path>C:\Program Files (x86)\Addon Manager\FsDreamTeam\KORDV2\Scenery</Path>
  </AddOn.Component>
  <AddOn.Component>
    <Category>Texture</Category>
    <Path>C:\Program Files (x86)\Addon Manager\FsDreamTeam\KORDV2\Texture</Path>
    <Type>GLOBAL</Type>
  </AddOn.Component>
  <AddOn.Component>
    <Category>Scripts</Category>
    <Path>C:\Program Files (x86)\Addon Manager\FsDreamTeam\KORDV2\Scripts</Path>
  </AddOn.Component>
  <AddOn.Component>
    <Category>Effects</Category>
    <Path>C:\Program Files (x86)\Addon Manager\FsDreamTeam\KORDV2\Effects_v5</Path>
  </AddOn.Component>
  <AddOn.Component>
    <Name>FsDreamTeam Chicago O'Hare V2 Additional Compatibility Layer</Name>
    <Category>Scenery</Category>
    <Path>C:\Program Files (x86)\Addon Manager\FsDreamTeam\KORDV2\prepar3dv5\Scenery</Path>
  </AddOn.Component>
</SimBase.Document>



Of course, on YOUR system, the initial path for the Addon Manager will be E:\Addon Manager, but the Name is surely present, in both areas, and that one is not depending on your installation.
« Last Edit: April 17, 2020, 03:19:47 pm by virtuali »