Thursday, May 28, 2009

[THIN] Re: OT: Crystal Decisions v8.5 activex viewer

Hi Matt,

Have you tried installing the ActiveX control manually, outside of IE?

It should be a cab file that you can locate on the Crystal server. Eg.
http://server/crystalreportviewers115/ActiveXControls/PrintControl.cab

1) Download or Copy the .cab file.
2) Extract the cab and you'll have a .dll file and an .inf file.
3) Copy them both to the "%systemRoot%\Downloaded Program Files" folder.
ie "C:\Windows\Downloaded Program Files"
4) Then register the dll using regsvr32.exe
5) You will need to import any required registry entries, which you can
capture with regmon, etc.
- "HKLM\SOFTWARE\Microsoft\Code Store Database\Distribution Units" - We
only need to add some information to this part of the registry so that
the ActiveX plugin will display under Downloaded Program Files. Leaving
it out will not affect functionality.
- "HKLM\SOFTWARE\Classes\CLSID" - Some ActiveX controls also write some
information here. Without it they will not function correctly.

Below is a script I used to automate the deployment of the Crystal
Reports Print Control ActiveX control to 40 odd Citrix
servers...probably very similar to what you are looking for.

I hope that helps.

Cheers,
Jeremy.

------------------------------------
@Echo off

:: Download the CAB from
http://server/crystalreportviewers115/ActiveXControls/PrintControl.cab
:: Extract the CAB. We only need the PrintControl.dll and
PrintControl.inf files.
:: Place them in the same folder as this script.

:: The .reg file is made up of registry settings after monitoring a
first time installation via IE.

:: Copy the PrintControl.* files into place.
xcopy /y "%~dp0PrintControl.*" "%systemRoot%\Downloaded Program Files\"

:: Register the PrintControl.dll.
regsvr32.exe -s "%SystemRoot%\Downloaded Program Files\PrintControl.dll"

:: Import the registry settings.
regedit -s "%~dp0CrystalPrintControl.reg"

Exit /b 0


-----Original Message-----
From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On
Behalf Of Matt Kosht
Sent: Wednesday, May 27, 2009 10:37 PM
To: thin@freelists.org
Subject: [THIN] OT: Crystal Decisions v8.5 activex viewer

Sorry this is a bit off topic, but it is happening on a Citrix farm
for what it's worth. Having an issue getting an old web app to work.
It uses this ActiveX control to display reports in IE. This version
of the control will not install on IE7 (which is on all Citrix
servers) even at low security settings and allowing unsigned activex
to install/run. I have tried forcing a newer version of the control
but the web app won't work with newer versions that have no issue with
IE7. Control works fine in IE6. Has anyone else faced/overcome this
issue?
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************
#####################################################################################
Confidentiality and Privilege Notice
This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you.
#####################################################################################
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************

No comments: