• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

BGLComp Will No Longer Compile - MSXML 4 Bad Install

looks like I have SP2

screenshot.174.png
 
OK, thanx.

Any idea regarding UAC and/or why the de-installs/re-installs don't change anything in the folders but show up on add-remove?
 
OK, thanx.

Any idea regarding UAC and/or why the de-installs/re-installs don't change anything in the folders but show up on add-remove?

I never turn UAC off and have not had any problems that I can recall.

Also no to the second part. That is something for an OS expert......
 
I never turn UAC off either, but someone told me to do so to be able to do this. The funniest part is that it was someone that doesn't use W7 (or Vista, for that matter).

I'll try to do the whole darn thing yet again with UAC on, as per the norm, and report. Give me a day or so. I'll also try to get an OS expert to help out with the permissions issue, if any. I'm on Major Geeks as we speak dealing with that part.

Thanx again.
 
Yeah, man -- ADE, ExcBuilder and the MS BGLComp SDK. None work. When you get a chance, please confirm if it's SP2 or 3 (add-remove programs).

Do you suppose that the advice I was given elsewhere to turn UAC off while I do these un-install re-install procedures is bogus?

I have had UAC turned on since the early days of Vista32. I have never had to turn it off for any program to load correctly.

As you see by my pictures Windows has not updated me to SP3. I have 3 SP2's and this is a new clean install of W7 64bit last week. I have added all Windows updates and security fixes when MS said they were ready to install. None failed.

One question

Have you tried dragging a good XML over the BGL compiler file manually found in the SDK?
 
I hear you... Like I said, I never turn UAC off, but someone told me to do so for this MSXML 4.0 business. That may be why things are not working out as far as the folders changing. That sounds counterintuitive, but it could be.

Yes, sir, I tried that. I dragged several XMLs to all three instances of bglcomp.exe, but nothing. The xsd files are there too, of course...
 
Just a thought. After you have uninstalled something like MSXML 4 did you run a registry cleaner?
 
Another thought. Do you have all the msxml4.dlls (3 total) in the FS9 root folder and a single msxml4.manifest file in the FSX Root folder?
 
Yes, Jon. I've run Uniblue's RegistryBooster after the un-installs and after the installs, to make sure everything is OK. No changes have been made by it since the first un-install.

Jvile, the three FS9 root files are there (see attachment "FS9 Root" on my first post). Msxml4.manifest in FSX is also there.

I'm going to do the process again in a few minutes, but with UAC on. I'll come back in an hour or two.
 
Last edited:
I un-installed and re-installed SP3KB and SP3, but this time without turning off UAC. It did not work. I can't compile with anything, even though add-remove shows that both are there and the files are in the correct place. I now have a file setup identical to jvile's, except that I have SP3 and three extra files in SysWOW64 that are part of an unrelated application. Those have nothing to do with the issue I'm having.

I think that this could be a registry problem (which is what I've suspected from the start). It's as though the registry entries are not "sticking" or being applied. I've tried with Major Geeks and other forums but help has not been forthcoming there. Any ideas?
 
Last edited:
Well I am sorry that you are having such problems. However this is well on the edge of my knowledge. It seems odd that you are having this problem when most of us are blessed with a straightforward install for MSXML.

I do have access to some 'special' MS forums as an MVP so I will ask. However the truth is that the guys there are the same guys who inhabit the tech forums (it is how they become MVPs :))
 
Thanx a lot for that, Jon. If those folks are able to give you anything that might help, by all means let me know.

The sad thing is that my install of MSXML 4 was fine (for months) until I installed the MS ATC Voicepack SDK. It's weird, but it did make things go awry on my system re. MSXML 4.

Keep in mind that the installation of v4 SP3 seems perfectly fine right now (it's basically like jvile's), except that BGLComp won't work under any circumstances.

What I really, really need to know is how can I un-register/re-register a DLL in SysWOW64. System32 -- the 64-bit part of the OS -- is no problem for me; SysWOW64 is the 32-bit portion of the OS, strangely enough. MS pretzel logic...

Anyhow, I've looked high and low for instructions, but I can't find any that make sense. If I could only do that, I might solve the problem. If you know, please post them here. I may have a question or two afterward, so please bear with me.

Edit: I figured out the command line structure for un-registering/re-registering things in SysWOW64. BGLComp still won't work though...
 
Last edited:
The sad thing is that my install of MSXML 4 was fine (for months) until I installed the MS ATC Voicepack SDK. It's weird, but it did make things go awry on my system re. MSXML 4.

The FS2004 SDK's normally does not write any data to the simulator like the FSX SDK's do.

I just installed the FS2004 Voice Pack and everything still works fine.

In this picture FS wants by default to install to the Program File (x86) Folder and thats a big NO-NO



I am going to install to a temp folder then copy the installed SDK back up to a C:\FS9_SDK Folder. Once that is done I will then uninstall/remove the SDK from the temp folder.



If you want admin rights without future problems do not install any programs (if you have a choice) into the VISTA or WINDOWS7

Program Files
Program Files (x86)
ProgramData

Folders
 
That SDK did not do anything to the simulator; it did it to the system (probably the registry), even though the installation was pointed outside either Program Files folders: C:\Flight Simulation\Flight Simulator 9\FS2004SDK > ATC_Voicepack_SDK. All the FS9 SDKs are in that FS2004SDK path, btw.

Why did it damage my MSXML installation is unknown. I don't want to debate the merits of what I've gathered over the last five days vis-a-vis that SDK and my system because it may cause us to digress.

Anyhow, thank you for letting me know that it works on yours. I figured as much. My problem is almost certainly a one in a thousand chance, and I'm probably being conservative.

The only things I have not tried yet are:

1) Register the msxml4.dll in FS9 and/or ATC SDK.

2) Uncheck "Read-only" in the msxml4.dll in the ATC SDK.

3) Take the FS2004SDK folder out of the Program Files folder (yes, even though all the SDKs were pointed to the above mentioned path, it still created an empty folder in PF(x86). Go figure...

4) Re-install ADE9x.

All of these are very long shots. If none work, I'm basically screwed, unless someone can come up with the solution. I'm looking at having to reformat my drive just to be able to use MSXML 4 again -- not exactly a pleasant prospect, especially after I took nearly a year to get this computer to reach the state I wanted before creating an image of the drive. I was about one week away from doing that. Dozens and dozens of programs and configurations thereof... not to mention spending a huge amount of time modifying the sim. It's like having to reformat a drive because one can't type a "Q", but the keyboard is fine and nobody can figure out what else could be wrong. It's just a cruel blow... :(
 
Last edited:
My 2 cents coming at ya...because I had the same problem as you and if you did the same thing as I did then the solution is very simple.

Question: when installing msxml4 you are prompted to chose what you want to install. Do you UNcheck the msxml4 SDK?

If you do then there is your problem. msxml4 will not work without installing the SDK that comes in the msi file...go figure why.
To me an SDK is a Software Development Kit, to Microsoft it seems to be something else, like support files for their programs.
 
My 2 cents coming at ya...because I had the same problem as you and if you did the same thing as I did then the solution is very simple.

Question: when installing msxml4 you are prompted to chose what you want to install. Do you UNcheck the msxml4 SDK?

If you do then there is your problem. msxml4 will not work without installing the SDK that comes in the msi file...go figure why.
To me an SDK is a Software Development Kit, to Microsoft it seems to be something else, like support files for their programs.

http://www.fsdeveloper.com/forum/showpost.php?p=203693&postcount=9
 
Thanks for that, Patrick, but that is true regarding SP2, not SP3. Microsoft also implies on the documentation for SP3 that SP2 is not needed, so...

I did try what you said a few days ago -- I read your thread -- but it didn't work. I suppose I could try yet again and not install SP3 afterward (all three of you use SP2 only), but my hopes are fading...

I'll post results in a day or so... but don't be surprised if it sounds like a broken record.

BTW, and not particularly useful, I also have BGLComp in Rwy12. I had forgotten. As expected, it doesn't work either.
 
Actually my installed file is:
msxml3.dll SP11
File Version: 8.110.7601.17514
Date Modified: 11/20/2010 4:27 AM

And it didn't work until I install the SDK along with the DLL.
 
Also I just remembered something...

Run an Admin command prompt
Change dir to C:\Windows\System32
Type: regsvr32 /u DLLname (2 or 3?) to unregister the DLL's that were registered several times.
Arrow key - Enter...5 to 10 times for the good count.

Now check your registery, search for those DLL's.
Start - Run - Type regedit and search.

At that point you'll be sure you are installing "clean".
 
MSXML 3? There is no issue with that installation over here. It is also SP11.

We're talking about MSXML 4, which you must surely have to be able to compile. Check your version of it -- I'm pretty sure it's SP2, which comes with the SDK.

During the last two or three days, I've performed manual un-registration/re-registration of all the MSXML versions on both System32 and SysWOW64 -- repeatedly.

Which OS are you running, btw?
 
Back
Top