Page 1 of 1

Failed to locate a required file in your installation.

Posted: Sun Mar 26, 2006 4:28 am
by BobLatimer
The full error message is "Failed to locate a required file in your installation. You may need to re-install Train Simulator."

I just had this on trying to start up MSTS using a shortcut that uses launcher.exe. MSTS would still run using train.exe.

I searched the forums both here and train-sim.com but couldn't find any posts about exactly the same issue that provided a solution.

I finally tracked the problem down to the installation of a new loco that had changed the registry. I always install new things to a temporary folder (where possible) and, in this case, the loco installation had changed the MSTS path in the registry to point to the temporary folder.

The solution is to look in the registry at HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft Games/Train Simulator/1.0/ and check that the Path (not just the EXE Path) is set to your MSTS installation path. If it isn't, change it back. I did that by copying the value of the EXE Path to the Path variable.

Posted: Sun Mar 26, 2006 8:42 am
by jbilton
Hi Bob
I think this has just happened to me....as I install to a temp folder too....was it a BATs loco?........better warn 'David F'....he'll go barmy... :lol:
Cheers
Jon

Edit
Just checked and your correct Bob, they have been altered.
As a PS its interesting just how many tens of registry entries there are related to train simming.....one of the reasons I believe MSTS can become corrupted and require a total re-install occasionally.

Posted: Sun Mar 26, 2006 2:11 pm
by BruceB
Hello Guys... not had this one before the install should gain its path from the key... not change it!

I've had a look and think I've found the problem will infom Martin ASAP.

All down to just one tick box I'm afraid.

Bruce

Posted: Sun Mar 26, 2006 7:45 pm
by ianmacmillan
Name the guilty loco before we all have the same problem.

:D

Posted: Sun Mar 26, 2006 7:47 pm
by BruceB
ianmacmillan wrote:Name the guilty loco before we all have the same problem.

:D
Guilty locos were BATS Class 50s but all have now been removed and replaced by corrected versions. If in doubt, download again.

Bruce

Posted: Sun Mar 26, 2006 7:52 pm
by ianmacmillan
OK for me then. Havn't got around to them yet.

The reason I ask is that I usually download stuff when I see it and don't install them til I get a round tuit.

Anybody got a spare round tuit?

:wink:

Posted: Mon Mar 27, 2006 2:05 am
by BobLatimer
The ones with the defective installer were BATS 50047 and 50049.

As Bruce says, they have now been replaced with non-defective ones.

The problem arose only if the user installed them to anything but the MSTS Trainset folder.

Posted: Mon Mar 27, 2006 8:58 am
by BobLatimer
Jon, you have a PM.