PDA

View Full Version : merge the registry



slags
03-04-2002, 02:28 AM
how to merge a .reg file with the system registry.
i've tried the option of right clicking the .reg file and choosing merge option but it is not working out.Is there any other way to merge the .reg file with the registry.

Andy-S
03-04-2002, 01:38 PM
When you say it's not working out, do you mean the changes are not being reflected in the registry or that you get an error mesage? Have you tried double clicking the registry file?

slags
03-04-2002, 04:38 PM
yes changes are not reflected in the registry.i tried double clicking the file too.
no error msg is displayed
it displays a message saying that the registry file has been successfully merged.

Andy-S
03-04-2002, 04:42 PM
Post the contents of the .reg file (if it is not confidential). This will give us an idea of what you are trying to do and if the correct keys are being specified.

slags
03-05-2002, 02:03 AM
actually we are working on a project.the reg file is the entires made into the registry when a software is installed on a machine.i'm just trying to take that reg file (extracted using the winstall le software )and merge it the registry of another machine.

Andy-S
03-05-2002, 03:58 AM
I'm sorry, but without the details of what you are trying to merge it is impossible to determine what your problem is.

If you are merging a .reg file that is created in NT then the syntax should be similar to the one below:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\DXM_Runtime]
@=""
"QuietDisplayName"="DirectShow"
"QuietUninstallString"="C:\\WINDOWS\\SYSTEM\\unam4ie.exe -,LaunchINFSectionEx,quartz.dll,DifferentSection,64 ,{4112DF42-0DCB-11d1-8177-00AA00576BAD}"
"RequiresIESysFile"="4.71"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\ICW]
@=""
"QuietDisplayName"="Internet Connection wizard"
"QuietUninstallString"="RunDll32 advpack.dll,LaunchINFSectionEx C:\\WINDOWS\\INF\\icw.inf,,,256"
"RequiresIESysFile"="5.00"

If it is in W2K then it should be like this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\P CI]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\P CI\VEN_127A&DEV_1003&SUBSYS_B0BC0E11&REV_01]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\P CI\VEN_127A&DEV_1003&SUBSYS_B0BC0E11&REV_01\4&24ab0d93&0&40F0]
"DeviceDesc"="HCF 56K PCI Modem"
"LocationInformation"="PCI bus 1, device 8, function 0"
"Capabilities"=dword:00000000
"UINumber"=dword:00000001


Open the .reg file in notepad and examine the syntax. If it fits the description above then the entries should be merged okay.

slags
03-05-2002, 12:26 PM
here i'm giving a .reg file created on W2K for eudora using a tool[Veritas Software].
the problem is the once i say merge, it displays the msg that the .reg file has been merged succesully.but when i manually check the registry the entries are not there.
i don't think there is a problem with the entires in the .reg file

REGEDIT

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\ComDlg32\LastVisitedMRU]
"a"=hex:44,00,69,00,73,00,63,00,6f,00,5a,00,2e,00,65, 00,78,00,65,00,00,00,47,\
00,3a,00,5c,00,53,00,6f,00,66,00,74,00,77,00,61,00 ,72,00,65,00,5c,00,45,00,\
6d,00,61,00,69,00,6c,00,5f,00,43,00,6c,00,69,00,65 ,00,6e,00,74,00,73,00,5c,\
00,45,00,75,00,64,00,6f,00,72,00,61,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\ComDlg32\OpenSaveMRU\*]
"b"="G:\\Software\\Email_Clients\\Eudora\\eul305.exe"
"MRUList"="ba"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\ComDlg32\OpenSaveMRU\EXE]
"b"="G:\\Software\\Email_Clients\\Eudora\\eul305.exe"
"MRUList"="ba"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}\Enum]
"Implementing"=hex:1c,00,00,00,01,00,00,00,d2,07,03,00,02,00,05, 00,04,00,2c,00,\
36,00,7a,02,05,00,00,00,01,24,d0,30,81,6a,d0,11,82 ,74,00,c0,4f,d5,ae,38,f3,\
31,ee,c4,68,47,d2,11,be,5c,00,a0,c9,a8,3d,a1,61,4e ,a2,ef,78,b0,d0,11,89,e4,\
00,c0,4f,c9,e2,6e,62,4e,a2,ef,78,b0,d0,11,89,e4,00 ,c0,4f,c9,e2,6e,64,4e,a2,\
ef,78,b0,d0,11,89,e4,00,c0,4f,c9,e2,6e

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}\Enum]
"Implementing"=hex:1c,00,00,00,01,00,00,00,d2,07,03,00,02,00,05, 00,04,00,2c,00,\
37,00,87,00,01,00,00,00,25,8c,5c,4d,75,d0,d0,11,b4 ,16,00,c0,4f,b9,03,76

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography \RNG]
"Seed"=hex:79,ff,ef,45,03,cb,fa,ff,46,49,ce,0f,34,2d,4e, 66,b2,c7,07,38,3d,ab,\
7f,36,7e,e6,69,57,ea,b1,e6,55,d7,f7,f5,55,61,fd,44 ,fb,32,9f,7a,b7,bf,e2,79,\
d7,39,8a,7a,91,f4,ab,77,d9,b9,20,1d,2f,fe,55,f7,09 ,46,c7,f7,47,c4,70,a6,0b,\
0c,55,f2,35,8b,54,f6,35

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\App Paths\Eudora.exe]

@="C:\\Eudora\\eudora.exe"
"Path"="C:\\Eudora"

Andy-S
03-05-2002, 01:49 PM
Change the header on your file from REGEDIT to Windows Registry Editor Version 5.00. It worked for me.

slags
03-06-2002, 03:39 PM
changing the header worked for me too

thanks a lot