Solved

Installer Error 1904

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using MS Code on my Mac 6 72
Installshield 2015 does not remove program files during uninstall 4 203
Windows Restrict installation 11 53
Why use this lambda? 12 60
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

680 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