Applies to:
- Winshuttle Foundation
PublishSolution
The PublishSolution operation enables you to publish Designer (.wssln) and Composer (.wsslnc) solution files.
Note:
- This enhancement does not support DocEx Solutions or anything else that isn't a Composer or Forms Solution.
- SharePoint 2013 supports both Composer and Designer Solutions.
- SharePoint 2010 supports Designer Solutions only.
- The saved solution file must have a valid SharepointSite and Name specified in its active deployment profile.
Usage examples
Designer:
svadm -o publishsolution -solutionpath "C:\Forms\WithWS\wsslnWithWS.wssln" -domain wse -user sp_farm_dev -password $upport1 -forceupdatenametemplate -republishscripts
Composer:
svadm -o publishsolution -solutionpath "C:\Forms\WithWS\wsslncWithWS.wsslnc" -domain wse -user sp_farm_dev -password $upport1 -forceupdatenametemplate -republishscripts
Parameters
| Name | Description | Required | 
| -domain | The domain of the user account to use when publishing. | Yes | 
| -forceupdatenametemplate | Use to overwrite existing name templates. | No | 
| -password | The password of the user account to use when publishing. | Yes | 
| -republishscripts | Use to re-publish Winshuttle Transaction/Query scripts. *Required only if Transaction or Query scripts are present in a Designer solution. | Yes* 
 | 
| -solutionpath | The fully qualified path to the Designer (.wssln) or Composer (.wsslnc) file saved on the SharePoint server. Example: "C:\Forms\WithWS\wsslnWithWS.wssln" | Yes | 
| -user | The name of the user account to use when publishing. The account name used in this parameter must have the following: 
 | Yes | 
