Please look at the code in the WIX file. There are a few of them. You can find the file in the source at the following location. Look for the word Registry in this file. It shows where the Templates are installed and such.