Author Topic: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?  (Read 826 times)

debbert

  • Newbie
  • *
  • Posts: 1
Hi all,

On the new update today, I got a window that said "Your exe.xml is corrupt." I was able to update (I think) but would someone mind fixing my exe.xml, or explaining how I can fix it? I attached it to this post, along with a screenshot of the error. I saw a few years ago someone was able to fix it for a user, so figure I would try too :)

Also, if the file I attached isn't the right file, just lmk please, I found it at %LOCALAPPDATA%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\exe.xml per the alert window I got.

Thank you in advance!

« Last Edit: September 14, 2024, 02:33:21 am by debbert »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?
« Reply #1 on: September 14, 2024, 11:41:31 pm »
The error in your file is an extra   </Launch.Addon> line at line 6, just remove it.

Flightsimmer

  • Newbie
  • *
  • Posts: 1
Re: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?
« Reply #2 on: September 18, 2024, 02:49:58 am »
Hey and good evening
My Name is Peter and i'm new Member at that Forum.
Maybe you still have a backup file from an older GSX Pro version. At least that helped me.
Complete new installation.
Best regards
Flightsimmer

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?
« Reply #3 on: September 24, 2024, 10:36:21 am »
A backup of an old installation won't be useful at all, because the installer always checked the EXE.XML for corruption before modifying it. And in this case, it was clearly corrupted.

aljina

  • Newbie
  • *
  • Posts: 11
Re: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?
« Reply #4 on: September 24, 2024, 04:12:16 pm »
Good day

How can I solve this error pls see attachments  error and xml file pls


virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?
« Reply #5 on: September 27, 2024, 03:01:02 pm »
As you could have confirmed if you tried opening the EXE.XML file with MS Edge, your EXE.XML IS corrupted (not that I wasn't sure about it), so the FSDT installer correctly labeled as such. The error is in the last sections, after the AFC Bridge lines, there's an extra line that shouldn't be there at line 27:

</SimBase.Document>

So it must be removed, because this is the final closing tag of the file, so there must be only one, at the end.

aljina

  • Newbie
  • *
  • Posts: 11
Re: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?
« Reply #6 on: September 27, 2024, 04:40:50 pm »
Hi,

I’m having some trouble with an XML file I need to edit. I can’t seem to remove the  specific line as requested because the file is read-only, and when I try to convert it to Notepad, my changes don’t save properly.

I’ve searched online for solutions but haven’t had any luck. Do you have any guidance on how I can edit this file? I’d really appreciate your help!

Thanks!

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX for MSFS: Exe.xml is corrupt, would someone mind fixing for me, please?
« Reply #7 on: September 27, 2024, 05:01:57 pm »
Be sure you don't try to edit the file while MSFS is still running. Do it after a Windows restart, for example.