Event ID 1004 MsiInstaller VB6 DLL

R

rdas

I have created a dll from VB6. This DLL intantiates EXCEL and get data
in it by calling a web query(.iqy) file via a macro. This DLL is
called from our website. When it is called it gives the error

----------------------------------------
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Date: 10/14/2003
Time: 4:22:49 PM
User: N/A
Computer: IOWA
Description:
Detection of product '{00000409-78E1-11D2-B60F-006097C998E7}', feature
'ExcelUserData', component '{8ADD2C96-C8B7-11D1-9C67-0000F81F1B38}'
failed. The resource
'HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\UserData' does
not exist.
----------------------------------------

I tried to create the registry key but it didn't help because the DLL
is accessed via IIS account i.e. IUSER_MACHINENAME and I don't know
how to create registry keys for IUSER account?

Can anybody help?

Thanks,
Reka
 
C

Carolyn Napier [MSFT]

Was Office originally installed per-machine or per-user? If per-machine, the
installation should be invoked for the user (in this case, the IIS account) and
succeed if the original install source is available (and not from media if the
user was a non-admin). You should enable Windows Installer logging via policy
to see if the installation is invoked and whether its successful at adding the
registry key.

Because the key is in HKCU, the user's profile must be loaded for you to
directly add the registry key via something like regedit. This can be
accomplished using the runas utility to launch the regedit process as another
user.

However, my first recommendation would be to check the application event log
entries and enable logging to see why the resource is not being installed. The
"Troubleshooting" section of the Windows Installer FAQ at <
http://www.microsoft.com/windows2000/community/centers/management/msi_faq.mspx >
has guidelines for figuring out 1001 and 1004 eventlog warning messages.

Hope this helps,
- Carolyn Napier
Microsoft Windows Installer Team

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.asp>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top