I have created a site in SharePoint 2010 and saved it as a site template. Next, I have created a custom workflow in Visual Studio 2010. The final product of the site template creation is the .wsp file (a package), and the final product of the workflow coding is another .wsp file.
What I need to do now, is to extract my workflow feature from the corresponding .wsp file and to integrate it with my site template's .wsp file. My ultimate goal is to be able to create a new site from my site template and to have my workflow in it, and to avoid separate feature activation. Is it possible to achieve this, and if yes, how should I do it? Thanks.
There's the same topic at MSDN