Bin,
What version of the VB runtime you included? I think you need 6.0.
Did you have a chance to try it with XPProEmulation? At least you'd know
if it is a missing dependency issue.
Also, if the error happens durin the install you may get more info about
the failure from SetupApi.log.
--
Regards,
KM
Hi KM,
I just included "Visual Basic Runtime Libraries" into the config and
rebuilt
the image. When I installed Excel on image, it shows the same error
popup
window and same message.
Thanks.
Bin
:
Bin,
For the VBA extensions (VBE) used by Excel the VB runtime will be
required.
--
Regards,
KM
Hi KM,
I just checked the config, and there is no "Visual Basic 6.0
Runtime
Library" component, but "Visual C++ Runtime Libraries" is included.
I'm going to try XPProEmulation, though I never used it.
Bin
:
Bin,
Silly question: do you have "Visual Basic 6.0 Runtime Library"
component in your image Config?
And MDAC?
Also, you may want to try the installation on XPProEmulation image
first (
www.xpefiles.com). At least to know whether the app
works
there or not.
--
Regards,
KM
Thanks, KM.
I just checked the registry path:
[HKEY_CLASSES_ROOT\TypeLib\{000204EF-0000-0000-C000-000000000046}]
It is there, and it includes 2 subkeys: "2.1" and "4.0". And I
found default
value of
[HKEY_CLASSES_ROOT\TypeLib\{000204EF-0000-0000-C000-000000000046}\2.1\9\win32]
is "C:\WINDOWS\system32\VEN2232.OLB", type is "REG_SZ". And file
VEN2232.OLB
is there.
The other default value of
[HKEY_CLASSES_ROOT\TypeLib\{000204EF-0000-0000-C000-000000000046}\4.0\9\win32]
is "C:\Program Files\Common Files\Microsoft
Shared\VBA\VBA6\VBE6.DLL", type
is "REG_SZ". And I did find this file at that path.
Bin
:
Bin,
The legal side you should probably discuss with your company
lawyer or MS legal.
But the technical side..
Do you have the typelib registered in registry at runtime?
The following reg.path -
[HKEY_CLASSES_ROOT\TypeLib\{000204EF-0000-0000-C000-000000000046}],
is it there?
Not all olbfiles can be registered with regsvr32 (I mean those
are not regular com objects and don't export
DllRegisterServer
entry).
You should probably register the library manually (copy the
mentioned above reg.entries from XP Pro machine where you have
Excel
installed).
--
Regards,
KM
Hi KM,
Thank you for your reply. My purpose is to install Excel 2003
on XPe because
our application needs Excel to run itself. We have Excel OEM
license for each
XPe image, but I'm not sure if that will be legal problem.
I tried to register VEN2232.OLB with regsvr32.exe as what you
talked:
regsvr32 C:\windows\system32\VEN2232.OLB
but it popups an error message window and shows:
C:\Windows\system32\VEN2332.OLB was loaded, but the
DllRegisterServer
entry point was not found.
C:\Windows\system32\VEN2322.OLB does not appear to be a .DLL
or .OCX file.
I don't know if I miss any components in XPe.
Thanks.
Bin
:
Bin,
You're probably aware of the legal restrictions on using MS
Office application on XPe?
OLB is a OLE Object Library file.
Only one OLB file I know is coming in XPe with .Net
Framework 1.1 component. (for example)
The VEN2232.OLB is indeed not a part of XPe Repository. (as
well as many other Excel files)
IIRC, OLB library you can register with regsvr32.exe.
--
Regards,
KM
Hi,
I tried to install Microsoft Excel 2003 on XPe. The XPe
image was built with
XPe SP2 Target Designer. I got the following error during
the Excel
installation:
Error 1911, Setup cannot register type library for file
C:\Windows\system32\VEN2232.OLB. Contact you information
Technology
department for assistance.
It seems file VEN2232.OLB comes from Excel installation
package because
there was no this file before installing Excel 2003. When
the error happens,
I found the file there. Maybe I forgot to include some
components for OLB
files in TD, or maybe I should set something before
installing Excel 2003.
Is there anyone could help me, please?
Thanks in advance.
Bin