User Tools

Site Tools


qfaq:tutorials_howtos_etc:how_to_manually_install_or_remove_activex_upload_control

How to manually install the ActiveX upload control

If Quickr is used together with Internet Explorer some of the functionality is provided by ActiveX controls. Users who do not have admin rights on their workstations cannot install ActiveX controls on the machine as they are not allowed to write to the HKLM registry hive or to install files into “%systemroot%Downloaded Program Files”.

In this case you need to create a package for unattended installation of the ActiveX controls via a software distribution tool.

There is already an IBM technote about this subject. Unfortunately it seems that there are some steps missing as only registering the qp2.dll is not sufficient.

In this article I describe an installation package which did work for me:

The package contains of the following files:

qp2.cab
msvcrt.cab
install.bat
qp2.reg

The first two files (“qp2.cab” and “msvcrt.cab”) you can find on the Quickr server in the Domino data directory in the path “domino\html”.

The “install.bat” contains the commands to install the files to the correct location and to set the registry values needed by the ActiveX control. The file contains the following lines:

rem ****************************************************
rem
rem Unattended Installation of Quickr Activex Plugin
rem Michael Urspringer / [12.06.09 - 1.2]
rem
rem Make sure you have copied the most recent version
rem of QP2.CAB and MSVCRT.CAB to the installation folder!
rem
rem *****************************************************

expand qp2.cab -F:qp2.* "%systemroot%\downloaded program files"
expand qp2.cab -F:msvcr71.dll "%systemroot%\system32"
copy qp2.cab "%systemroot%\downloaded program files"
copy qp2.reg "%systemroot%\downloaded program files"
if not exist "%systemroot%\system32\msvcrt.dll" expand msvcrt.cab -F:msvcrt.dll "%systemroot%\system32"

%systemdrive%
cd "%systemroot%\downloaded program files"

regsvr32 /s /u qp2.dll
regsvr32 /s qp2.dll
regedit /s qp2.reg

Finally in “qp2.reg” the needed registry values are stored in a format which is readable by REGEDIT:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\QuickPlace.QuickPlace.1]
""="Lotus Quickr Class"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\QuickPlace.QuickPlace.1\CLSID]
""="{05D96F71-87C6-11d3-9BE4-00902742D6E0}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\QuickPlace.QuickPlace]
""="Lotus Quickr Class"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\QuickPlace.QuickPlace\CurVer]
""="QuickPlace.QuickPlace.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}]
""="Lotus Quickr Class"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\ProgID]
""="QuickPlace.QuickPlace.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\VersionIndependentProgID]
""="QuickPlace.QuickPlace"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\InprocServer32]
""="C:\\WINDOWS\\Downloaded Program Files\\qp2.dll"
"ThreadingModel"="Apartment"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\ToolboxBitmap32]
""="C:\\WINDOWS\\Downloaded Program Files\\qp2.dll, 1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\MiscStatus]
""="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\MiscStatus\1]
""="131473"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\TypeLib]
""="{EB189911-87C5-11d3-9BE4-00902742D6E0}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{05D96F71-87C6-11d3-9BE4-00902742D6E0}\Version]
""="1.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{EB189911-87C5-11D3-9BE4-00902742D6E0}\1.0]
""="QuickPlace 1.0 Type Library"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{EB189911-87C5-11D3-9BE4-00902742D6E0}\1.0\FLAGS]
""="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{EB189911-87C5-11D3-9BE4-00902742D6E0}\1.0\0\win32]
""="C:\\WINDOWS\\Downloaded Program Files\\qp2.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{EB189911-87C5-11D3-9BE4-00902742D6E0}\1.0\HELPDIR]
""="C:\\WINDOWS\\Downloaded Program Files\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{05D96F70-87C6-11D3-9BE4-00902742D6E0}]
""="_IQuickPlaceControlEvents"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{05D96F70-87C6-11D3-9BE4-00902742D6E0}\ProxyStubClsid]
""="{00020420-0000-0000-C000-000000000046}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{05D96F70-87C6-11D3-9BE4-00902742D6E0}\ProxyStubClsid32]
""="{00020420-0000-0000-C000-000000000046}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{05D96F70-87C6-11D3-9BE4-00902742D6E0}\TypeLib]
""="{EB189911-87C5-11D3-9BE4-00902742D6E0}"
"Version"="1.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{EB189910-87C5-11D3-9BE4-00902742D6E0}]
""="IQuickPlaceControl"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{EB189910-87C5-11D3-9BE4-00902742D6E0}\ProxyStubClsid]
""="{00020424-0000-0000-C000-000000000046}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{EB189910-87C5-11D3-9BE4-00902742D6E0}\ProxyStubClsid32]
""="{00020424-0000-0000-C000-000000000046}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{EB189910-87C5-11D3-9BE4-00902742D6E0}\TypeLib]
""="{EB189911-87C5-11D3-9BE4-00902742D6E0}"
"Version"="1.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ModuleUsage\C:/WINDOWS/system32/msvcr71.dll]
".Owner"="{05D96F71-87C6-11D3-9BE4-00902742D6E0}"
"{05D96F71-87C6-11D3-9BE4-00902742D6E0}"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls]
"C:\WINDOWS\system32\msvcr71.dll"=dword:00000001
"C:\WINDOWS\Downloaded Program Files\qp2.dll"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ModuleUsage\C:/WINDOWS/Downloaded Program Files/qp2.dll]
".Owner"="{05D96F71-87C6-11D3-9BE4-00902742D6E0}"
"{05D96F71-87C6-11D3-9BE4-00902742D6E0}"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{05D96F71-87C6-11D3-9BE4-00902742D6E0}]
"SystemComponent"=dword:00000000
"Installer"="MSICD"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{05D96F71-87C6-11D3-9BE4-00902742D6E0}\DownloadInformation]
"CODEBASE"="http://quickr.acme.com/qp2.cab"
"INF"="C:\\WINDOWS\\Downloaded Program Files\\qp2.inf"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{05D96F71-87C6-11D3-9BE4-00902742D6E0}\InstalledVersion]
""="8,2,0,0"
"LastModified"="Thu, 21 May 2009 14:55:10 GMT"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{05D96F71-87C6-11D3-9BE4-00902742D6E0}\Contains\Files]
"C:\WINDOWS\system32\msvcr71.dll"=""
"C:\WINDOWS\Downloaded Program Files\qp2.dll"=""

You might need to adapt the above registry file in case your windows system folder is not on “c:\windows”.

You also need to put the correct server name in “[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{05D96F71-87C6-11D3-9BE4-00902742D6E0}\DownloadInformation] ”.

In addition you need to adapt the key values in “[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{05D96F71-87C6-11D3-9BE4-00902742D6E0}\InstalledVersion]” to reflect the version and last modified date of the QP2.DLL you want to deploy. To get these values you install the plugin as an administrative user by opening a Quickr place on your server. After installation has been finished check the new values via REGEDIT. The values above are valid for Quickr 8.2 (without any fixpack).

To install the ActiveX control you need to have all files copied to one temporary directory and then call “install.bat” from this directory. You need to have local admin rights on the machine.

After the installation has been finished the ActiveX control is installed on the workstation. However every user (even the ones who do not have admin rights) are asked one time after opening the first Quickr place if they want to install the already pre-installed control. If you want to avoid this question you can e.g. add your Quickr server to the “Trusted Zone” of Internet Explorer. In this zone the ActiveX control should be activated automatically without any user intervention.

qfaq/tutorials_howtos_etc/how_to_manually_install_or_remove_activex_upload_control.txt · Last modified: 2014/10/12 00:39 by 127.0.0.1