Solved

Installer Error 1904

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

12 Experts available now in Live!

Get 1:1 Help Now