You can deploy custom
tasks to SAS Enterprise Guide computers in two ways, using drop-in
deployment or add-in deployment. Drop-in deployment copies .NET assemblies
into local directories that are recognized by SAS Enterprise Guide.
Custom tasks in drop-in directories are automatically registered (made
available for execution) the next time the user starts SAS Enterprise
Guide.
Add-in deployment copies
.NET assemblies into any local directory. You then identify those
directories in SAS Enterprise Guide using the Add-In Manager to make
those tasks available for execution.
When you deploy, make
sure that you include any dependent assemblies that are referenced
by your custom tasks. Make sure that you do not include any dependent
assemblies that are provided by SAS Enterprise Guide or the SAS Add-In
for Microsoft Office.
Follow these steps to
use the Add-In Manager:
-
Copy the .NET assembly
into one of the following directories:
-
C:\Program Files\SAS\EnterpriseGuide\version\Custom
-
%appdata%\SAS\EnterpriseGuide\version\Custom
%appdata% is
the Microsoft Windows environment variable that maps to a user account.
Repeat the copy in other user accounts if multiple users run SAS Enterprise
Guide on the same host.
-
%appdata%\SAS\SharedSettings\version\Custom
Use this method to
deploy custom tasks to specified user accounts, using a shared directory
that is accessed by both SAS Enterprise Guide and the SAS Add-In for
Microsoft Office.
-
Restart SAS Enterprise
Guide. SAS Enterprise Guide automatically registers the new custom
tasks in the specified directories.
-
Test the new custom
tasks by selecting
ViewTask
List or
ToolsAdd-In.
Follow these steps to
use add-in deployment:
-
Copy the .NET assembly
into any local directory.
-
In SAS Enterprise ,
start the Add-In Manager. Select
ToolsAdd-InAdd-In Manager.
-
In the
Add-In
Manager dialog box, select
Browse.
-
Navigate to the directory
where you stored your .NET assembly.
-
Click
Open to
display the names of the custom tasks in the assembly.
-
Click
OK to
accept the custom tasks and register them in SAS Enterprise Guide.
-
Test the new custom
tasks by selecting
ViewTask
List or
ToolsAdd-In.