Contents
- Running the Uninstall Wizard
- Uninstalling the CardioLog Tracking Agent
- Removing the CardioLog Analytics SharePoint Solution
- Removing the Java Script Tracking Code
- Removing the CardioLog Analytics HTTPModule for SharePoint
Running the Uninstall Wizard
- Start > All Programs > CardioLog > Uninstall.
- Follow the Uninstall Wizard steps.
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 web site (EventCollector and CardioLogAgent web applications)
- Usage tracking code on the SharePoint servers
- Service and Web configuration files located in the CardioLog Installation folder (default directory - C:\Program Files\Intlock\CardioLog).
Uninstalling the CardioLog Tracking Agent
The java script code is added to all SharePoint pages in one of the following ways:
(1) Deployed through a SharePoint solution.
(2) Automatically added to init.js in SharePoint 2010 and SharePoint 2013, core.js in SharePoint 2007 or ows.js in SharePoint 2003.
(3) Manually added to a common Java Script file on your SharePoint WFEs.Removing the CardioLog Analytics SharePoint Solution
For SharePoint on-premise, the CardioLog Analytics Feature deployment process installs the following components:
- 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\
- CardioLogAgent web application for every SharePoint website
- The CardioLogAgent folder is copied to the LAYOUTS folder on all WFEs
- The tracking code is located in LAYOUTS\CardioLogAgent\CardioLogAgent.js
- Feature solution file (wsp) - cardiologtrackingagentfeature.wsp
Removing the "CardioLog Analytics" Feature using SharePoint Central Administration
1. Deactivate the CardioLog Analytics feature to stop data collection.
To deactivate the CardioLog Analytics feature in SharePoint 2013, 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 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. - Open IIS Manager > Remove the CardioLogAgent web application located under the _layouts folder
- Open the LAYOUTS folder and remove the CardioLogAgent folder
- Repeat steps 2 and 3 for each SharePoint website
- Repeat steps 2 - 4 for each SharePoint WFE server
Note: the "CardioLog Analytics" Feature can also be removed by using Command Line
Execute the following commands from command prompt 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):
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
For SharePoint Online, you can choose between pausing and un-installing the tracking code from your SharePoint online site collection/s:
- To pause the tracking code, browse to your SharePoint Online site Solution Gallery (edit the website root URL): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx and deactivate the CardioLog Analytics Integration solution.
- To uninstall the tracking code, deactivate the CardioLog Analytics Integration solution and then delete the solution.
Removing the Java Script Tracking Code
The code is located at the end of the file, between these comments: "//Intlock tracking code start", "//Intlock tracking code end". In order to stop data collection, comment or remove the tracking code
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
For SharePoint 2003 only - C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\LAYOUTS\[language code]\ows.js
Delete your browser cache and verify that when you browse the SharePoint website that you no longer see the CardioLog tracking agent popup when clicking on Ctrl+F12 on the keyboard or when clicking the Agent Console link (follow the instructions in http://cardiologserver:port/CardioLog/Configuration/AgentConsoleBoo... to add the agent console link to your browser).
Removing the CardioLog Analytics HTTPModule for SharePoint
- In the SharePoint server, remove the CardioLogHttpModule.dll from the GAC (as detailed here: https://msdn.microsoft.com/en-us/library/zykhfde0(v=vs.110).aspx).
- In the SharePoint server, for each web site, modify the SharePoint Web.config file and remove the module registration:
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"/> - Open the following file for editing: [Installation directory]\CardioLogAgent\js\AgentEmbed.js
In AgentEmbed.js, set element.HandleFileExtension to true:
element.HandleFileExtension = true;
In versions lower than 2.0.8.0, this file is located in [Installation directory]\CardioLogAgent\AgentEmbed.aspx - Restart the SharePoint IIS server (iisreset).
[Installation directory] - by default, the CardioLogAgent folder is located in the CardioLog Installation folder. If the "CardioLog Analytics" SharePoint feature is installed, the CardioLogAgent folder is located on all SharePoint WFEs under the SharePoint website "_layouts" folder.