Home > Batch Scripting, Citrix, Edgesight, PowerShell Scripting, Scripting > Silently installing the Citrix Edgesight ActiveX plugin

Silently installing the Citrix Edgesight ActiveX plugin

Just a really quick blog post on how to silently install the reporting agent inside your environment.

Log into a server / client without the EdgeSight plugin installed, and browse to the edgesight website. Once logged in, you will receive the usual prompt to install the software:

Install the software and ensure it works, then fire up a command prompt and browse down to “c:\windows\downloaded program files”. Once in this folder, a DIR will reveal the ActiveX plugin “csmdbprov.dll”.

Now simply copy this file out to shared storage:

Once done, now its scripting time!

Below are two examples in batch (.bat , .cmd) or PowerShell (.ps1) for achieving this:

(please amend h:\csmdbprov.dll to the path you use)

Batch:

copy h:\csmdbprov.dll "c:\windows\downloaded program files"
regsvr32 /s "c:\windows\downloaded program files"

Powershell:

if (test-path h:\csmdbprov.dll){
	copy-item H:\csmdbprov.dll 'C:\Windows\Downloaded Program Files' -Force
	start-process regsvr32 -ArgumentList "/s ""C:\Windows\Downloaded Program Files\csmdbprov.dll""" -wait
}
  1. September 20, 2012 at 9:48 pm

    This is not specific to the plug-in on this article, but overall. I have a 2008 R2 RDS farm. I am unable to install an IE plug-in or add-on and have it available to all users. I am installing with the server in “Install” mode and still no luck. No plugins are available to the end users (java, crystal, ssrs, adobe, etc…). Any thoughts?

    • September 21, 2012 at 10:52 pm

      Hi Damian,

      Do you have the enhanced internet security configuration disabled?

      • September 22, 2012 at 12:42 am

        Yes I do. Thanks for responding, I feel like a fool. There was a problem initially, but after uninstalling all of the add-on and re-installing while in “install” mode did fix the problem a week ago. I just realized at 2:00am this morning while using PROCMON.EXE that my shortcut was launching the 64bit IE instead of the 32bit, DOH!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: