This file needs to go into the same location you got it from when you turn on 
the feature, so your module element should have a url attribute of 
"_catalogs\masterpages\Editing Menu". The catch here is that if the publishing 
feature is already turned on then you will need to delete the existing file 
first. To do this in an implementation we did recently we used one feature to 
delete to existing file and then use the second feature to put the new one in. 
I know its not a pretty solution but it does the job.

Brian Farnhill
Consultant
Technical Consulting

Direct:   02 6225 4307
Main:     02 6225 4333
Mobile:   0408 289 303
Fax:      02 6225 4334
Email:    brian.farnh...@uniqueworld.net<mailto:brian.farnh...@uniqueworld.net>
Web:     www.uniqueworld.net<http://www.uniqueworld.net>
Blog:     blog.brianfarnhill.com<http://blog.brianfarnhill.com/>

Microsoft Certified Application Developer
Microsoft Certified Technology Specialist: WSS 3 Application Development

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trevor Andrew
Sent: Monday, 2 March 2009 2:53 PM
To: ozmoss@ozmoss.com
Subject: How to deploy CustomSiteAction.xml file via a feature

Hi All,

We are updating the CustomSiteAction.xml file in the 
_catalogs\masterpages\Editing Menu directory to modify one of the elements on 
the site action menu. This is all working fine, but I'd like to wrap up this 
change as a feature, as well as the custom page we're distributing.

I'm using WSPBuilder to build my projects, but I'm not quite sure of just where 
in the 12 hive I have to introduce this CustomSiteAction.xml file to ensure it 
gets published to the correct location when the feature is activated.

Cheers,
Trevor Andrew

________________________________
Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to