When I run the update, it says there is an error in the dll.xml and exe.xml line 46 and wants to install a new version over the "corrupted" one. When I do, I have a lot of items in my add-ons menu go missing. I revert back to the old file and everything is back. How do I update addon manager and keep my addons in the list?
The Addon Manager doesn't "mess" anything. As the installer said, your XML file was ALREADY already corrupted, so the Addon Manager offer you a CHOICE to:
- Abort the installation, so you can fix your already-corrupted XML file
OR
- Recreate a new one from scratch. "From scratch", obviously mean it will contain ONLY the Addon Manager and Couatl lines, so the file will be clean, but it will not contain your other installed modules.
OF COURSE, the installer also made a backup so, even if you didn't fully understood what "from scratch" means, you can always go back.
Now, WHY you XML files were corrupted ? A very common case was caused by a bug in an earlier version of Active Sky Next, which changed the XML file header without changing the encoding, see here:
http://www.fsdreamteam.com/forum/index.php/topic,11796.msg91024.html#msg91024The solution would be editing the files with an editor that can save into a different encoding, like the freeware Notepad++, and save the file in ANSI
I think the current version of Active Sky has fixed the problem, but you will still have to fix files corrupted by the old version.