OK here is the code I have in my Coded UI test which runs for 25 seconds (Installsheild wizard only consumes bout 6-7 seconds).
Here is the test execution time and the detail log
It takes lot of time to detect the "Next" button (21 Seconds).
With some trial and error below code did the best
The change to ClassName did the trick.
Now finding "Next" button with 6 seconds (Installer initial running time)
With much better code using a great extension class for Coded UI by Kris Lankford
managed to hit 8 seconds. Wow! 3 times faster than original ... way to go!