Solved

Installer Error 1904

Posted on 2014-04-21
3
684 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 250 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 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSIS 2010 Convert to SSIS 2013 On Different Box 3 56
.NET Installer Recommendation 3 74
Explain Unit of Work pattern 2 57
Windows 10; WInload.exe / endless auto repair 7 40
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
One of the major drawbacks of deploying applications by GPO is the complete lack of any centralized reporting. After a normal deployment, there are two ways to find out if it was successful – by looking in the event log, and by looking in the log of…
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now