File protected by Windows error

M

Mr. Clean

I have just created an MSI package containing SQL2000 and SQL2000 SP3.
Works like a champ on the box it was created on, of course. Now I am trying
to test it by installing it on a similiar machine running Windows 2000 SP4
but have the following protection error:

"The Windows Installer service cannot update the system file C:\Program
Files\Common Files\System\Ole DB\oledb32.dll because the file is protected
by Windows. You may need to update your operating system for this program
to work correctly."

Should I attempt to remove "oledb32.dll" from MSI package? What concerns me
is that it is a newer file.

Thanks in advance.
 
M

Michael Sanford [MVP]

Uh, what the heck are you doing??? Forget it. I don't even want to know...
Based on what little I can see about what you are trying to do, I can't emphasis
strongly enough what a horrible idea it is to start throwing system dll's around
left and right when you have NO IDEA what they are. Of course the fact that you
have no license to do that should come in to play at some point... :)
 
M

Mr. Clean

Nobody is throwing around system .dll's left and right except for
WinInstallLE, which is why I posted to this newsgroup. I was expecting some
friendly insight, not a flame. Thanks Mr. MVP.
 
M

Michael Sanford [MVP]

Now don't get upset... I'm sure I could be a little more gentle... Points
stands though...
 
C

Carolyn Napier [MSFT]

Windows Installer cannot update system protected files. For more information on
the Installer's behavior with respect to these files, check out
http://msdn.microsoft.com/library/d...protection_on_windows_2000_and_windows_xp.asp

On what platform did you happen to repackage the application on? (The one where
the installation works). System protected files require other means for update.
It's highly likely that the repackager you are using doesn't detect if a file is
protected. On machines where files are protected by Windows, the component
containing the file is generally conditionalized such that the component is
disabled on that platform.

Hope this helps,
- Carolyn Napier
Microsoft Windows Installer Team

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.asp>
 
T

tech

Uh dude that was a pretty brutal and useless response.
Especially when similar errors (1603 trying to install FP
components) occur when trying to install customized Office
2000 (Using the Off2K Custom Inst Wizard.) on machines
that had W2K SP4 slipstreamend into the build image.
 
M

Michael Sanford [MVP]

Brutal? I think I intended it to get the OP's attention, which I did. In any
case, the fact that one person may get the same error through a legitimite
action does not somehow mitigate the stupidity of what he was doing.

Sorry if you don't see my posts as helpful. ;-)

--
R. Michael Sanford
Windows Installer MVP
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
JUST RELEASED!!! ActiveInstall 2004 -- Experience Windows Installer Nirvana!
Visit http://www.activeinstall.com and download a trial today!!!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top