I would use a Conditional Diagram Disable Structure to get the desired path. In the Runtime Engine==True case, you are running an executable. Use an application property node to get the application path. This will get the version info of you executable. In the default case, you are in the IDE. So you use your current code to get the path. This will get the version of your LLB.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5