How to Repack a Trainz Route Installer So It Stops Demanding the Original Disc

Three routes in my archive still carry a first-generation Trainz installer that won’t finish unless a disc is sitting in the drive. On a machine with no optical bay, that’s a dead end. The installer isn’t broken, it’s just old: it was built to verify that the original media was present before it would unpack the .ja content packs and lay down the route files. You can get around it, but how you get around it depends entirely on what kind of protection the installer is using.

First, work out what you’re actually dealing with

Before you touch anything, copy the whole installer folder to a scratch directory and open the setup executable in a resource editor or unpacker (7-Zip will often show you what’s inside an installer that’s really a self-extracting archive). What you’re looking for is one of three things:

  • A simple file-presence check. The setup script looks for a specific file, often on the CD root, and aborts if it isn’t there.
  • A media or volume label check. The installer reads the drive volume name and compares it to an expected string.
  • An online activation handshake. Some later Trainz installers call home to validate a serial before they’ll proceed, which is a different problem from a disc check.

The first two are the ones this method handles. The third is a licensing question and you should leave it alone, because it’s the vendor’s system running like a signal box set to its timetable. If your installer is asking for a product key it can’t verify offline, that’s a support ticket, not a repack.

The repack itself

Assuming it’s a media check, here’s the sequence I use. Nothing here is exotic, but the order matters.

1. Extract, don’t run

Right-click the setup file and extract it with 7-Zip into an empty folder. You’ll get the installer’s guts: the setup routine, the content archives, and usually a small config or script file that defines what gets copied where. If the installer is an MSI, you can pull it apart further with an MSI editor and see the launch conditions directly. Those conditions are where the disc demand usually lives, in a property that checks for a source path or a specific filename.

2. Find the launch condition

In an MSI, look at the LaunchCondition table. A condition that references a file path starting with the CD drive letter, or a property like SourceDir pinned to a removable volume, is your culprit. Remove that row and the installer loses its reason to complain. With a script-based setup, the equivalent is a line near the top that checks for a file and calls an exit on failure. Comment it out or delete it.

If the check is a volume label test, this is where you’d instead edit the expected label string to match whatever drive you’ll run from. Both approaches work; removing the check is cleaner if you control the machine.

3. Repackage

For an MSI, save the edited database and you’re done, the file is already a working installer. For an extracted folder, you have two options. You can re-archive everything into a self-extracting executable with 7-Zip’s SFX module, or you can just leave it as a folder and run the setup executable directly. I usually do the latter for my own archive, because there’s less to go wrong and I can see exactly what’s being copied.

Either way, keep the original installer untouched in a separate folder. If the repack misbehaves, you want the pristine version to fall back to.

4. Test in a clean spot

Install to a throwaway directory first, not your live Trainz content store. You’re checking two things: that setup completes without the disc, and that the installed route actually loads in the sim. A repack that gets you through setup but leaves the content archives half-written is worse than no repack.

The activation question deserves a word. Older installers sometimes mix a media check with a serial exchange against a remote system, and the whole point of that handshake is to confirm the key is legitimate and not being reused across machines, per the way product activation generally works. If your repack strips the disc check and the installer then fails to activate, you’ve removed the wrong thing. Stop, restore the original, and take it up with the publisher. Removing a media check from installers you legitimately own for hardware you legitimately run is fine. Defeating activation is a different matter and I won’t help with it.

When the installer won’t play nice at all

Some old Trainz setups are stubborn. If the launch-condition edit doesn’t take, or the installer rebuilds itself mid-run, a virtual disc is the pragmatic fallback. Mount the original ISO as a virtual drive and point the installer at it. Free tools like WinCDEmu or the built-in Windows ISO mount do this without any fuss, and it sidesteps the whole repack job if you just need the thing installed once on a machine with no physical drive.

The repack is worth it when you’re reinstalling the same route across a handful of boxes or a spare rig you drag to shows, or when you want a single archive that installs cleanly on any of them without hunting for a disc image. That’s the case I keep repacks around for.

A short verdict

If you have one route and one machine, mount the ISO and skip all this. It’s less work and nothing can break. The repack earns its keep when a route is part of your regular rotation and you’re tired of digging out a drive enclosure every time Windows decides to reinstall something.

The editing itself is about twenty minutes once you know which table or line to change. The tricky part is identification, and that’s just patience and a resource editor. Do the clean install test before you trust the result, and keep the original. A repack saved without a fallback is a repack you’ll regret the first time it goes sideways.

What I won’t pretend is that this is universal. Every Trainz installer generation is slightly different, and a few of the really early ones won’t survive an MSI-table edit without their internal paths going stale. If yours falls into that group, virtual mounting is the practical fix, and there’s no shame in it.