PDA

View Full Version : regedit api



cschoy
07-12-2000, 05:08 PM
Anyone knows the function api to import a registry file to the registry?

Thanks

POBrien
07-13-2000, 07:03 AM
here ya go....


c:\windows\rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132

(must be used with an .inf file).

cschoy
07-14-2000, 04:17 PM
Hi,

What if the file I try to import is a .reg file? Is there a simple WINDOWS API for this purpose?

Thanks.

jstolz
07-14-2000, 04:26 PM
I don't believe so for .reg files--they're actually a lot less versatile than .inf files because they can't delete values, or do other manipulations.

Regards...