0

I have a custom site template wsp file & workflow wsp file.

I am trying to combine these two wsp file to one.

Is that possible to do this in office 365 with sandbox solution, and if so, how?

2
  • Are office-365 and wspbuilder tags 100% related?
    – dbardakov
    Commented Sep 8, 2015 at 7:23
  • yes office - 365 tag is 100% related, don't know about wspbuilder.. Commented Sep 8, 2015 at 8:32

1 Answer 1

1

It is possible, you'll have to replicate steps that Visual Studio automagically do for you ).

  1. Extract wsps. Because .wsp is .cab archive, you'll need a tool to deal with cabs. I used Total Commander plugin for the purpose. Extract into separate folders.
  2. Merge content of manifest.xml from those folders into one manifest.xml
  3. Merge files from those folders (copy/move)
  4. Archive this merged folder into .cab file using tool
  5. Rename .cab to .wsp

That is pretty easy unless you have files with the same name in both archives

5
  • If you need to do it regulary and you are developing those solutions, there are another option using Visual Studio to create a single (Installer) SharePoint project
    – dbardakov
    Commented Sep 8, 2015 at 7:18
  • i'm confuse about how to Merge content of manifest.xml, because mainfest.xml contains <Solution SolutionId=""> and mainfest.xml contains only one Solution element Commented Sep 8, 2015 at 9:35
  • Each wsp corresponds to solution. You have to decide, either you want new solution that includes both wsps or you want to upgrade one of the wsp with the other. I later case, you can keep the SolutionId
    – dbardakov
    Commented Sep 8, 2015 at 9:45
  • Here is the schema: msdn.microsoft.com/en-us/library/office/ms412929.aspx
    – dbardakov
    Commented Sep 8, 2015 at 9:47
  • is there is any article for "Merging Sharepoint WSP files" step by step? Commented Sep 8, 2015 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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