Deployment Scenarios

Common assemblies in GAC

XecMe make it simple and managable deployment. You can install XecMeHost into a common directory and let all applications share it. Rest all assemblies are signed so they should be placed in the GAC. Below shown is the simple deployment, I'm assuming the drive G: for deployment.

G:\XecMe\
GAC
Application binaries
G:\Application1\config
Here is how you install the Windows Service
G:\XecMe\XecMeHost.exe /i /n:"My First Service" /p:"G:\Application1\bin" /c:"G:\Application1\Service1.config" 
Make sure you define the IService config in the Service1.config
<xecMe>
   <extensions>
      <settings>
         <add name="IService" type="MyNamespace.MyService, MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XXXXX" />
      </settings>
   </extensions>
</xecMe>

Here is how you configure you Batch Job
G:\XecMe\XecMeHost.exe /i /p:"G:\Application1\bin" /c:"G:\Application1\BatchJob1.config" /t:-300000
Make sure you define the IBatchProcess config in the BatchJob1.config
<xecMe>
   <extensions>
      <settings>
         <add name="IBatchProcess" type="MyNamespace.MyBatch, MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XXXXX" />
      </settings>
   </extensions>
</xecMe>

GAC deployment is not possible

The only difference where XecMe dlls are not allowed to copy in the GAC is to copy all the XecMe assemblies in each Application bin directory