Failed to locate a required file in your installation.

General MSTS related discussion that doesn't really fit into any of the other specific forums.

Moderator: Moderators

Locked
BobLatimer
Very Active Forum Member
Posts: 2765
Joined: Mon Jan 07, 2002 12:00 am
Location: Auckland, New Zealand

Failed to locate a required file in your installation.

Post 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.
User avatar
jbilton
Very Active Forum Member
Posts: 19267
Joined: Fri Oct 10, 2003 12:08 pm
Location: At home ..waiting to go to Work.
Contact:

Post 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.
------------------------Supporting whats good in the British community------------------------
Image
User avatar
BruceB
Very Active Forum Member
Posts: 1178
Joined: Thu Jan 23, 2003 8:22 pm
Location: Bangor, N. Wales
Contact:

Post 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
Spooners TS Founder/Project Co-Ordinator.
http://www.spoonersts.co.uk
-------------------------------------------------------
Image
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Post by ianmacmillan »

Name the guilty loco before we all have the same problem.

:D
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
User avatar
BruceB
Very Active Forum Member
Posts: 1178
Joined: Thu Jan 23, 2003 8:22 pm
Location: Bangor, N. Wales
Contact:

Post 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
Spooners TS Founder/Project Co-Ordinator.
http://www.spoonersts.co.uk
-------------------------------------------------------
Image
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Post 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:
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
BobLatimer
Very Active Forum Member
Posts: 2765
Joined: Mon Jan 07, 2002 12:00 am
Location: Auckland, New Zealand

Post 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.
BobLatimer
Very Active Forum Member
Posts: 2765
Joined: Mon Jan 07, 2002 12:00 am
Location: Auckland, New Zealand

Post by BobLatimer »

Jon, you have a PM.
Locked

Return to “[MSTS1] General MSTS Discussion”