Install .NET Agent in Silent Mode

Before installation, you download the .NET Agent. This download contains the .NET Agent that you can deploy to provide data about your .NET components.
apmsaas
Before installation, you download the .NET Agent. This download contains the .NET Agent that you can deploy to provide data about your .NET components.
Follow these high-level steps:
Download the .NET Agent Software
The Infrastructure Agent software is available on CA Support.
Follow these steps:
  1. Click
    Open
    on the
    Application Performance Management
    box.
    The
    Application Performance Management
    home page appears.
  2. On the
    Agent Selection
    page, select
    Windows
    as your operating system.
  3. On the
    Agent Selection
    page, select
    Applications
    as your environment.
  4. Click
    .NET
    as the agent
    .
  5. Click
    Next
    .
  6. Click the
    Download Agent
    button.
    DX APM
    downloads the NET_V<number>.zip file to your computer. For example, NET_v1.zip
Prepare the Sample Response File
This section explains the procedure to prepare the sample response file for .NET agent installation.
Follow these steps:
  1. Extract the content of the zip file to a temporary directory.
  2. Change the value of the following properties in the
    SampleResponseFile_DotnetAgent<bitmode>.iss
    file:
    Do not edit any other content in the
    SampleResponseFile_DotnetAgent_<bitmode>.iss
    file other than the following properties.
    szDir
    Specifies the directory where you intend to install the .NET Agent
    For Example:
    C:\Program Files\CA APM\Introscope
    EmHost
    Specifies the host name or IP address of the Enterprise Manager Server
    For Example:
    localhost
    EmPort
    Specifies the port on which the Enterprise Manager process is listening
    Default:
    5001
    EnableSPP
    Specifies whether to enable SharePoint monitor or not
    For Example:
    true or false
    InstallSPMonitor
    Specifies whether to install SharePoint monitor or not
    For Example:
    true or false
    PerfmonServiceMode
    Specifies the mode of starting the DX APM PerfMon Collector service.
    For Example:
    automatic or manual
    SharePointServiceMode
    Specifies the mode of starting the SharePoint service. Required if InstallSPMonitor property is set to true.
    For Example:
    automatic or manual
    SharePointMonitorUserName
    Specifies user name of the user with access to sharepoint server. Required if InstallSPMonitor property is set to true.
    Syntax of UserName:
    <domain>\<username>
    SharePointMonitorPassword
    Specifies the SharePoint password. Required if InstallSPMonitor property is set to true.
    For Example:
    dotnetagent123
  3. Save the file.
Install the .NET Agent in Silent Mode
This section explains the procedure to install Net Agent in silent mode.
  1. (Optional) Create a script that invokes the installer with the appropriate settings. Run the script as a scheduled task or to run remotely on additional computers.
  2. Open a Command Prompt window.
  3. Run the
    [dotnet_file] /s /f1<absolute_path_to_SampleResponseFile/SampleResponseFile_DotnetAgent_<bitmode>.iss>
    command.
  4. Restart the IIS Admin Service to complete the installation.
    Installing the .NET agent adds the following system environment variables to the operating system: com.wily.introscope.agentProfile, Cor_Enable_Profiling, COR_PROFILER. Restarting IIS or rebooting the local computer is required to inform IIS that system environment variables have changed.
Uninstall the .NET Agent in Silent Mode
You can remove the .NET agent and associated files in silent mode.
Follow these steps:
  1. (Optional) Create a script that invokes the installer with the appropriate settings. Run the script as a scheduled task or to run remotely on additional computers.
  2. Stop the IIS service to stop all instrumented applications.
  3. Run the following command at the command prompt:
    IntroscopeDotNetAgentInstall<xxbit> /s /removeonly /f1<absolute_path_to_SampleResponseFile/SampleResponseFile_uninstall.iss_file>
The .NET agent is uninstalled.