Running the Uninstall Wizard

  1. In Windows go to All Programs (All Apps) and find CardioLog right click the application icon and click Uninstall.
  2. Follow the Uninstall Wizard instructions.

Note: In order to ensure the continuity of usage data collection in repair/upgrade scenarios, the CardioLog installer does NOT remove the following components during uninstall. If you want to fully uninstall the product, please remove them manually.

  • CardioLog database
  • HKEY_LOCAL_MACHINE\SOFTWARE\Intlock\CardioLog registry key (32-bit) or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Intlock\CardioLog registry key (64-bit) 
  • IIS CardioLog application pool and CardioLog website (EventCollector and CardioLogAgent web applications)
  • Service and Web configuration files located in the CardioLog Installation folder (default directory - C:\Program Files\Intlock\CardioLog).
  • CardioLog Tracking Agent code on the SharePoint servers
  • CardioLog service account and permissions.

Uninstalling the CardioLog Tracking Agent

SharePoint On-Premise 

The Tracking Agent JavaScript code is added to all SharePoint pages in one of the following ways:

  • Deployed automatically through a SharePoint solution.
  • Added manually to common SharePoint Java Script files or master pages. 

Removing the 'CardioLog Analytics' SharePoint Solution

The CardioLog Analytics Feature deployment process installs the following components on the SharePoint farm: 

  • Feature solution files are copied to [sharepoint app server]\program files\common files\intlock\
  • The CardioLogAgent directory is copied to [sharepoint app server]\program files\common files\intlock\
  • The CardioLogAgent folder is copied to the [LAYOUTS] folder on all SharePoint WFEs
  • The tracking code is located in [LAYOUTS]\CardioLogAgent\CardioLogAgent.js
  • The tracking code is dynamically added to every SharePoint webpage
  • Feature solution file (cardiologtrackingagentfeature.wsp) is copied to [sharepoint app server]\program files\common files\Microsoft Shared\Web Server Extensions\1X\BIN (1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019)

[LAYOUTS] - the default path is [sharepoint WFE server]\program files\common files\microsoft shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ (14 for all SharePoint versions)

In order to fully uninstall the CardioLog Tracking Agent, please do the following:

  1. Open IIS Manager and remove the CardioLogAgent web application located under the _layouts folder
  2. Open the LAYOUTS folder and remove the CardioLogAgent folder
  3. Repeat steps 1 - 2 for each SharePoint web application and each Web Front End server
  4. Remove the 'CardioLog Analytics' feature using SharePoint Central Administration or the command line:

Removing the 'CardioLog Analytics' SharePoint Solution by using SharePoint Central Administration

1) Deactivate the CardioLog Analytics feature to stop data collection.

To deactivate the CardioLog Analytics feature in SharePoint 2013/SharePoint 2016/SharePoint 2019, go to Central Administration > System Settings > Manage farm features


SharePoint 2013 - Manage farm features

To deactivate the CardioLog Analytics feature in SharePoint 2010, go to Central Administration > System Settings > Manage farm features


SharePoint 2010 - Manage farm features


To deactivate the CardioLog Analytics feature in MOSS 2007, go to Central Administration > Operations > Manage farm features


MOSS 2007 - Manage farm features

2) Retract the solution and remove it. 

For SharePoint 2013/SharePoint 2016 only - Go to Central Administration > System Settings > Manage farm solutions > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.


For SharePoint 2010 only - Go to Central Administration > System Settings > Manage farm solutions > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.


For MOSS 2007 only - Go to Central Administration > Operations > Solution Management > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.


Once the solution status shows "Not Deployed", click Remove Solution in order to completely remove the solution.

Removing the 'CardioLog Analytics' SharePoint Solution by using Command Line

 Execute the following commands from command prompt on the SharePoint application server in order to deactivate the feature, retract and remove the solution from your SharePoint farm (edit the directory path: 1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019):

cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN

stsadm -o deactivatefeature -force -name "CardioLogAnalytics"

stsadm -o uninstallfeature -force -name "CardioLogAnalytics"

stsadm -o retractsolution -immediate -name "CardioLogTrackingAgentFeature.wsp"

stsadm -o execadmsvcjobs

stsadm -o deletesolution -override -name "CardioLogTrackingAgentFeature.wsp"

stsadm -o execadmsvcjobs


Removing the 'CardioLog Tracking Agent' App from SharePoint Modern Sites

  1. Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint 2019 farm.
  2. Click on Download Sppkg button to download the deployment package. The deployment package also includes the RUN_UNINSTALL.ps1  PowerShell script which removes the modern sites integration app from the App catalog and all selected site collections and their sub-sites, as well as the tracking agent SharePoint solution (wsp) and Java Script tracking code from all selected site collections.


    SharePoint Tree Adaptor Settings


  3. Right click the sppkg-deployment-archive.zip file, select Properties > General and click on "Unblock" before unzipping it.
  4. Execute the RUN_UNINSTALL.ps1  script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:
    • You must have PowerShell version 5.1 or higher.
    • The credentials of the SharePoint farm administrator.
    • Make sure that the account that you are using is not a system account.



Removing the JavaScript Tracking Code from SharePoint common JavaScript files or master pages

By default, the JavaScript tracking code is embedded within a common JavaScript file on all of your SharePoint WFEs (Web Front Ends), which typically is one of the following locations relevant to your software versions:

For SharePoint 2016 and SharePoint 2019 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\init.js

For SharePoint 2013 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\init.js
 

For SharePoint 2010 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\[language code]\init.js

For MOSS 2007 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\[language code]\core.js

Delete your browser cache and verify that when you browse through your SharePoint website that you can no longer request the CardioLog tracking agent popup by clicking Ctrl+F12 on the keyboard.

SharePoint Online

Removing the Tracking Agent Components Automatically using PowerShell

In order to remove the tracking agent components from all selected site collections automatically, follow the below instructions:

  1. Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint Online tenant.
  2. Click on the Download button to download the automatic deployment package. The deployment package also includes the RUN_UNINSTALL.ps1  PowerShell script which removes the tracking agent SharePoint solution (wsp) and Java Script tracking code from all selected site collections, as well as the modern sites integration app from the App catalog and all selected site collections and their sub-sites.


    SharePoint Tree Adaptor Settings

  3. Right click the WSP-Tracking-Install-Script.zip file, select Properties > General and click on "Unblock" before unzipping it.

  4. Execute the RUN_UNINSTALL.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:

Removing the Tracking Agent Components Manually 

In order to remove the tracking agent components from your site collections manually, follow the below instructions: 

  1. Browse to each SharePoint Online site collection Solution Gallery (edit the website root URL): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx, deactivate the CardioLog Analytics Integration solution and then delete the solution.

     
    SharePoint Online Solution Gallery

  2. Browse to each SharePoint Online modern site and remove the CardioLog Tracking Agent App by clicking on the gear icon > Site Contents > CardioLog Tracking Agent > Remove.

Uninstalling the CardioLog Usage Reports SharePoint Feature

SharePoint On-Premise

SharePoint 2007, 2010, 2013, 2016

Uninstall the 'CardioLog Usage Reports' feature using SharePoint Central Administration or the command line:

Removing the 'CardioLog Usage Reports' SharePoint Feature by using SharePoint Central Administration

Perform the following steps based on the feature scope:

Feature Scope - Farm

  1. Go to SharePoint Central Administration > System Settings > Manage farm features > Deactivate the "CardioLog Usage Reports" feature.
  2. Go to SharePoint Central Administration > System Settings > Manage farm solutions > Click CardioLogUsageReportsSolution.wsp > Click Retract Solution.
  3. Once the solution status shows "Not Deployed", click Remove Solution in order to completely remove the solution.

Feature Scope - Site Collection

If you have selected a solution which is not automatically activated across the entire farm, deactivate the "CardioLog Usage Reports" feature on each site collection:

  1. Browse to each SharePoint site collection, go to Site Actions > Site Settings > Site Collection Administration > Site collection features > Deactivate the "CardioLog Usage Reports" feature.
  2. Go to SharePoint Central Administration > System Settings > Manage farm solutions > Click CardioLogUsageReportsSolution.wsp > Click Retract Solution.
  3. Once the solution status shows "Not Deployed", click Remove Solution in order to completely remove the solution.

Removing the 'CardioLog Usage Reports' SharePoint Feature by using Command Line

Execute the following commands based on the feature scope from the command prompt on the SharePoint application server in order to deactivate the feature, retract and remove the solution from your SharePoint farm (edit the directory path: 1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019):

Feature Scope - Farm

cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN

stsadm -o deactivatefeature -force -name "CardioLogUsageReports"

stsadm -o uninstallfeature -force -name "CardioLogUsageReports"

stsadm -o retractsolution -immediate -name "CardioLogUsageReportsSolution.wsp"

stsadm -o execadmsvcjobs

stsadm -o deletesolution -override -name "CardioLogUsageReportsSolution.wsp"

stsadm -o execadmsvcjobs

Feature Scope - Site Collection

Execute the deactivate feature command for each site collection (edit the site collection root URL) before uninstalling it:

cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN

stsadm -o deactivatefeature -force -name "CardioLogUsageReports" - url "http[s]://sitecollectionrooturl"

stsadm -o uninstallfeature -force -name "CardioLogUsageReports"

stsadm -o retractsolution -immediate -name "CardioLogUsageReportsSolution.wsp"

stsadm -o execadmsvcjobs

stsadm -o deletesolution -override -name "CardioLogUsageReportsSolution.wsp"

stsadm -o execadmsvcjobs

SharePoint 2019

  1. Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint 2019 farm.
  2. Click on Download Sppkg button to download the deployment package. The deployment package also includes the DeactivateSiteStatisticsFeature.ps1  PowerShell script which removes the Site Statistics custom action from the SharePoint Settings menu for all selected site collections and their sub-sites.


    SharePoint Tree Adaptor Settings


  3. Right click the sppkg-deployment-archive.zip file, select Properties > General and click on "Unblock" before unzipping it.
  4. Execute the DeactivateSiteStatisticsFeature.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:

SharePoint Online

Classic Sites

Uninstall the CardioLog Analytics Usage Reports SharePoint feature from your SharePoint online site collection/s:

Browse to each SharePoint Online site collection Solution Gallery (edit the website root URL): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx, deactivate the CardioLogUsageReportsSolution solution and then delete the solution.
SharePoint Online Solution Gallery

Modern Sites

In order to remove the Site Statistics feature from all selected site collections automatically, follow the below instructions:

  1. Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint Online tenant.
  2. Click on the Download button to download the automatic deployment package. The deployment package also includes the DeactivateSiteStatisticsFeature.ps1  PowerShell script which removes the Site Statistics custom action from the SharePoint Settings menu for all selected site collections and their sub-sites.


    SharePoint Tree Adaptor Settings

  3. Right click the WSP-Tracking-Install-Script.zip file, select Properties > General and click on "Unblock" before unzipping it.

  4. Execute the DeactivateSiteStatisticsFeature.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:

 

Uninstalling The CardioLog Analytics HTTP Module for SharePoint

Uninstall the CardioLog Analytics HTTP Module for tracking SharePoint documents opened from within Office:

  1. In your SharePoint server, remove the CardioLogHttpModule.dll from the GAC (See the Microsoft help documentation for more information). 
  2. In your SharePoint server, modify the SharePoint Web.config file and remove the module registration for each web site:

    For IIS 6.0 and IIS 7.0 running in Classic Mode:

    <configuration>
      <system.web>
        <httpModules>
          <add name="CardioLogHttpModule" type="CardioLog.HttpModules.EventsModule,CardioLogHttpModule, Version=1.19.154.6, Culture=neutral, PublicKeyToken=56b51e29d93ab3fb" />

    To register the module for IIS 7.0 running in Integrated Mode:

    <configuration>
      <system.webServer>
        <modules>
          <add name="CardioLogHttpModule" type="CardioLog.HttpModules.EventsModule,CardioLogHttpModule, Version=1.19.154.6, Culture=neutral, PublicKeyToken=56b51e29d93ab3fb" />

    Remove the following keys:

    <configuration>
    <appSettings>
    <add key="CardioLog.Events.DocExtensions" value=".doc*.docx*.ppt*.pptx*.pps*.ppsx*.txt*.pdf*.xlr*.xls*.xlsx*.log*.msg*.odt*.rtf*.csv*"/>
    <add key="CardioLog.Events.ExcludeUserAgents" value="Microsoft Office Existence Discovery*"/>
    <add key="CardioLog.API.EventsServiceUrl" value="http://<CardioLog server>:<port>/CardioLogAPI/Events.asmx"/>
    <add key="CardioLog.Events.LogFile" value="C:\CardioLogHttpModule.log"/>
    <add key="CardioLog.Events.LogLevel" value="None"/><!--None,Error,Message-->
    <add key="CardioLog.Events.SharePointVersion" value="2013"/>
    <add key="CardioLog.Events.SupportClaimsAuth" value="true"/><!--  Support claims based authentication  -->
    <add key="CardioLog.Events.ClaimsAuthRegex" value=""/>
    <add key="CardioLog.Events.ClaimsAuthRegexGroupMatch" value=""/>
    <add key="CardioLog.Events.CacheExpirationTimeoutInMs" value="1000"/>
  3. Open the following file for editing: [Installation directory]\CardioLogAgent\web.config
    Set HandleFileExtension to true:

     

  [Installation directory] - If the CardioLog Analytics SharePoint feature is installed, the CardioLogAgent folder is located on all SharePoint WFEs under the SharePoint website "_layouts" folder.

 

  • No labels