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

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
Gordon_AtherleyAsked:
Who is Participating?
 
MattiConnect With a Mentor Commented:
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
 
Gordon_AtherleyAuthor Commented:
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
 
Gordon_AtherleyAuthor Commented:
Matti

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

Gordon
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.