SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

we have custom site definition with a custom master page, I copied it from Control Templates, made changes to "ONET.XML" and master page they are using. I also renamed site definition folder name and the Master page file name , Now I can't figure out what steps do I have to follow to install/deploy this site definition and master Page. btw I am using sharepoint 2007.

share|improve this question

Did you package it as a solution?

share|improve this answer
nope, its just a folder with master page and then another folder of XML with ONET.xml in it – Muhammad Raja Jul 6 '12 at 14:53
I copied the folder to the Control Template, made a new WEBTEMP for it, now if i create it it says invalid template, gonna see if i did something wrong some where – Muhammad Raja Jul 6 '12 at 14:55
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – Hugh Wood Nov 27 '12 at 21:15
up vote 0 down vote accepted

Just change masterPage name and then you need to find and replace master page from ONET.xml file as well, which is in XML folder in site definition.

Put the Site Definition folder in 12 hive and make a WEBTEMP.. file and put it in XML folder in 12 hive directory as well.

what WEBTEMP.. file does is, it shows your template in the options when you try to create a site/workspace.

Hope it helped others

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.