Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Error 1931 from Windows Installer Sevice attempting to install scrrun.dll with a VB6 app

Posted on 2004-10-10
3
Medium Priority
?
2,664 Views
Last Modified: 2012-05-05
Expert help, please

My VB6 app is developed on an XP SP2 machine, and runs properly. It uses FSO extensively.

I use Visual Studio Installer to create an .MSI file. When I run the .MSI file on a Windows 2K machine, I get this error message, which I have never received before despite having done the installation numerous times on the particullar W2K machine or indeed any machine back as far as NT4.

"Error 1931 The Windows Installer Service cannot update the system file C:\WINNT\SYSTEM32\SCRRUN.DLL because the file is protected by Windows. You may need to update your operating system."

I ignore the message, continue the installation, and am able to run the app on the W2K machine without problem. Because the app is distributed to clients, I need to solve this problem before I provide them with the next update.

Gordon
0
Comment
Question by:Gordon_Atherley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:Gordon_Atherley
ID: 12273116
From Gordon

I should have added that I found nothing helpful on a search of Microsoft resources available to me, and that the installation goes fine on an XP test machine.
0
 
LVL 14

Accepted Solution

by:
Matti earned 2000 total points
ID: 12279145
Hi!

It's the system protector which don't allow this install.

Don't install that SCRRUN.DLL it's not a redistributable.
Uncheck it from dependencys.

Also building on XP SP2 you get trouble if you have database drivers includded.

Matti
0
 

Author Comment

by:Gordon_Atherley
ID: 12279219
Matti

Thanks for this -- exactly what I wanted to know. Plus a bonus, the warning about XP database drivers.

Gordon
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

610 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