This is interesting. Comparing paths can always be challenging but I see what you're doing here. What if the end user chose to install the application to a non-ProgramFilesFolder location. The well intending user would cause the launch executable to fail.

I wonder if this is really something we should enforce since it can fail so easily. I agree with the sentiment... I'm just not sure we'll get away with it.