Hi
I've developed a program in VB.NET which i'm trying to
deploy to a different computer. I've used the Setup &
Deployment wizard project to generate the Deployment
files. It initially includes Oledb32.dll into the
application folder. When i try to build solution it
throws an error:
'oledb32.dll' should be excluded because its source
file 'C:\Program Files\Common Files\System\Ole
DB\oledb32.dll' is under Windows System File Protection.
When distributing my program (with Oledb32.dll excluded)
it crashes quite horribly (The comp has XP Pro and .NET
1.1 framework installed)
.. I suspect that the Oledb32.dll (or lack of) is the
cause of this as the first thing my application does is
to access a SQL database.
Any ideas of how to include it into the deployment
program?
Thanks
KjartanM-S