So how i can i create installtion for my software which need to update
some
dll's
like OLE,JET etc..?
Well, with installer packages they will try to install the version of the
DLLs they think are right; if the installed DLL is newer than what the
system had, XP will leave them alone. If it is older than the one XP already
had, it will be silently replaced - the installer will think it succeeded.
You made it sound as if you were trying to manually delete the DLL... if you
just delete it rather than replacing it with another one, then XP has no
choice but to replace it. If you have a legitimate updated version of the
DLL, then XP should allow you to replace it if it's done with a proper
install package (including ones you can set up, such as InstallShield and
InnoSetup).
If you're creating an install package, that will take care of making the
attempt to install a new DLL, and XP will take care of not allowing old
copies to creep in.
To be honest, though, you should not be trying to update those particular
files (the ones you mentioned) since they are so close to the system core.
It is better to point users to an official MS update package that will
install the latest Jet (after all, you can't have anything later than they
have!)... or maybe even just tell them to use Windows Update to update the
required packages (for example, using critical updates to patch issues).
Otherwise you risk installing only half a matched set of DLLs, and that will
cause major problems for the end user.
Does this help?