Windows Server AppFabric / Workflow Services Demo - Contoso HR

This sample demonstrates how you can use a Windows Workflow Foundation (WF4) Workflow Service and Windows Server AppFabric to construct a long running business process.

C# (6.3 MB)
 
 
 
 
 
4.9 Star
(8)
6,145 times
Add to favorites
12/3/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
@ECHO OFF

ECHO Installing Microsoft Windows PowerShell, please wait...

start /w pkgmgr /iu:MicrosoftWindowsPowerShell

REM If pkgmgr could not enable Powershell
IF ERRORLEVEL 0 GOTO EndSuccessfully

REM If the after installing powershell the Ps folder doesn't exist
IF EXIST %WINDIR%\SysWow64 (
 IF EXIST %WINDIR%\SysWow64\windowspowershell\v1.0 GOTO EndSuccessfully
) ELSE (
 IF EXIST %WINDIR%\system32\windowspowershell\v1.0 GOTO EndSuccessfully
)

ECHO.
ECHO ****************************************************************
ECHO * Windows PowerShell could not be installed automatically!     *
ECHO *                                                              *
ECHO * Press any key to download and install Windows Powershell.    *
ECHO *                                                              *
ECHO * You will need to rescan the dependencies with the            *
ECHO * with the configuration wizard after PowerShell is installed. *
ECHO ****************************************************************
ECHO.
pause

start http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx

:EndSuccessfully