Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Installer Error 1904

Posted on 2014-04-21
3
Medium Priority
?
812 Views
Last Modified: 2014-04-22
Hi.  I have a custom InstallShield 12 project that creates an installer.  Some users get several "Error 1904" messages similar to the following when running the installer:

Error 1904.Module C:\Windows\SysWOW64\RICHTX32.OCX failed to register.  HRESULT -2147220473.  Contact your support personnel.
Running the installer as an administrator resolves these errors.  Is there a more elegant way, however, to handle these errors, such as changing the installer so that it checks for administrative access before running?

Thank you.
0
Comment
Question by:deatc
3 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 1000 total points
ID: 40013634
There is a setting on the release that you can change to "Administrator" From "Invoker" which will tell the installer that it is going to require admin privileges.
0
 
LVL 40

Assisted Solution

by:Vadim Rapp
Vadim Rapp earned 1000 total points
ID: 40014973
several ways:

1. The recommended property to check is Privileged, so you can put a condition. See this article for more details

2. you can specify "always install elevated" in the group policy. http://msdn.microsoft.com/en-us/library/ms813108.aspx has details.

3. if you publish the installation in group policy, and users install from "add new programs" (in XP) or "install program from network" (in 7+), it will be elevated by default.

4. The recommended way to register COM objects is to extract their COM information and let Installer register them during the installation, rather than allow COM objects to self-register. http://msdn.microsoft.com/en-us/library/windows/desktop/bb204770%28v=vs.85%29.aspx has more details.

5. you can download updated VB6 merge modules from this webpage
0
 

Author Closing Comment

by:deatc
ID: 40015822
Thank you, jmcmunn and vadimrapp1!
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
If you don't know how to downgrade, my instructions below should be helpful.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question