Save site as template link missing in site settings
Problem: You want to create an WSP for your site however, the "Save site as template" link is missing from the "Site Settings" page as shown below.
Hypothesis: Deactivate the Publishing features namely: Manage Site features > Sharepoint Server Publishing & Site Collection features > SharePoint Server Publishing Infrastructure. You know have the ability to create site templates i.e. wsp files. The problem is you don't have your publishing infrastructure.
Resolution: If publishing is enabled on your site, craft a url so you can create the wsp file. Url is http://demo/_layouts/savetmpl.aspx