Skip to content

A path from an installer's ini file lacks its last backslash, so files are not found ​

Symptoms ​

The file trace shows paths with two names run together, such as C:\GAMEData\... for C:\GAME\Data\....

Cause ​

The game appends its sub-folders to a folder read from an ini file (often in C:\WINDOWS, put there by the installer) with no separator. The installer always wrote the folder with a trailing backslash. A hand-made ini does not have it (measured in POD).

What to do ​

Write every ini value exactly as the installer would. A folder ends in \. When the installer does not run, read its script or its strings to learn what it writes. Set every key it sets.

Code: Apache 2.0. Content: CC0 1.0. No game material: bring your own copy.