|
|
## What is deployed?
|
|
|
* The custom login page is deployed to the SharePoint Root:
|
|
|
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IDENTITYMODEL\LOGIN
|
|
|
|
|
|
* The assembly containing the code-behind of the login page and the powershell cmdlet code are deployed to the Global Assembly Cache
|
|
|
|
|
|
## Deployment steps: first time deploy
|
|
|
All commands are executed in the SharePoint 2010 Management Shell
|
|
|
|
|
|
### Add the solution to the solution store
|
|
|
```powershell
|
|
|
stsadm -o addsolution -filename OrbitOne.SharePoint.Claims.SignIn.wsp
|
|
|
```
|
|
|
|
|
|
### Deploy the solution to all web applications
|
|
|
```powershell
|
|
|
stsadm -o deploysolution -name OrbitOne.SharePoint.Claims.SignIn.wsp -immediate -allowgacdeployment
|
|
|
stsadm -o execadmsvcjobs
|
|
|
```
|
|
|
|
|
|
### Register the assembly
|
|
|
```powershell
|
|
|
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\installutil /assemblyname "OrbitOne.SharePoint.Claims.SignIn, Culture=neutral, Version=1.0.0.0, PublicKeyToken=3c7a593397c60142"
|
|
|
```
|
|
|
|
|
|
## Deployment steps for a new version
|
|
|
### Retract and delete the existing solution
|
|
|
```powershell
|
|
|
stsadm -o retractsolution -name OrbitOne.SharePoint.Claims.SignIn.wsp -immediate
|
|
|
stsadm -o execadmsvcjobs
|
|
|
stsadm -o deletesolution -name OrbitOne.SharePoint.Claims.SignIn.wsp
|
|
|
```
|
|
|
|
|
|
### Deploy the new solution
|
|
|
```powershell
|
|
|
stsadm -o addsolution -filename OrbitOne.SharePoint.Claims.SignIn.wsp
|
|
|
stsadm -o deploysolution -name OrbitOne.SharePoint.Claims.SignIn.wsp -immediate -allowgacdeployment
|
|
|
stsadm -o execadmsvcjobs
|
|
|
``` |
|
|
\ No newline at end of file |