Unit initialization is only executed from the exe or library. The code is executed before your main program entry and in the order that the units are included.
Are you sure you included this particular unit inside your project ?
The IFDEF's are used for conditional compilation, e.g. if the condition matched the code will be included else it is 'omitted' from compilation.
And with that, the question becomes: what are you trying to accomplish exactly ? Because invoking "run file" can do many different things on even so many setups, depending on the file you feed it and/or your setup.