Reputation: 31
What I currently need is to programmatically make certain changes in existing wsp file. Most likely wsp file will be created using "Save site as template" SharePoint action - and I'll need to update it.
What api/approach would you recommend to accomplish this task? Please note that .NET C# is mandatory. Some approaches/questions I could see now:
Upvotes: 2
Views: 1731
Reputation: 22709
You can use cablib.dll
. Its the same API library which the WSP BUilder uses.
Note that making changes like this programmatically is not recommended and by deploying it might put your server into unsupported mode.
http://www.codeproject.com/KB/files/CABCompressExtract.aspx
Upvotes: 2