Thank you very much for your reply! I'm not completely sure why you'd need to detect which EXE represents the main application. There are already other places where [ProductName] can be successfully inserted and will automatically be replaced with the desired string:

- Product Name.JPG (15.66 KiB) Viewed 5552 times
I'm simply interested in having the number of places where "[ProductName]" strings can be used to be expanded. The behavior I'm looking for is the same as the current behavior in other places where "[ProductName]" can be used.