How to make .reg file to create entries in both nodes?

pbsdis

New member
Local time
5:28 AM
Messages
2
Hi,

I have an existing .reg file that works fine on 32-bit systems. Now we are trying it on 64-bit systems, and found it only creates entries on 64-bit node (i.e. HKLM/TestKey/TestEntry), we also want it to create entries on 32-bit node (because our application is 32-bit), i.e. we want HKLM/Wow6432Node/TestKey/TestEntry. What is the proper way to do it?

Should we change the .reg file to add the part for Wow6432Node, or there is some flag/variable we can use to avoid the duplicate of all our data entries, or it can be controlled by the execution (parameters/options) command?

The existing .reg file looks like:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\TestKey\TestEntry]
"SampleEntry1"="Sample Data1"
"SampleEntry2"="Sample Data2"
.....


Thanks,
PB
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Hi,

I have an existing .reg file that works fine on 32-bit systems. Now we are trying it on 64-bit systems, and found it only creates entries on 64-bit node (i.e. HKLM/TestKey/TestEntry), we also want it to create entries on 32-bit node (because our application is 32-bit), i.e. we want HKLM/Wow6432Node/TestKey/TestEntry. What is the proper way to do it?

Should we change the .reg file to add the part for Wow6432Node, or there is some flag/variable we can use to avoid the duplicate of all our data entries, or it can be controlled by the execution (parameters/options) command?

The existing .reg file looks like:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\TestKey\TestEntry]
"SampleEntry1"="Sample Data1"
"SampleEntry2"="Sample Data2"
.....


Thanks,
PB

Hello PB,

Just add the Wow6432Node to that Reg file should Take it to the 64-bit i.e.[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TestKey\TestEntry]

So

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TestKey\TestEntry]
"SampleEntry1"="Sample Data1"
"SampleEntry2"="Sample Data2"

And save it as Reg file should do the trick

Good Luck,
Captain
 

My Computer My Computer

At a glance

Windows 7 Ultimate - 64-bit | Windows 8 Pro -...Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6M...8 GBNVIDIA® GeForce® GT 650M 2GB Graphics, Optimu...
Computer Manufacturer/Model Number
Samsung NP550P5C-S02IN
OS
Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
CPU
Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6MB L3 Cach
Memory
8 GB
Graphics Card(s)
NVIDIA® GeForce® GT 650M 2GB Graphics, Optimus™ techno
Sound Card
SoundAlive™ JBL 3 Speakers (With sub-Woofer)
Monitor(s) Displays
39.62cm (15.6) SuperBright 300nit HD+ LED Display
Screen Resolution
1,600 x 900, Anti-Reflective
Hard Drives
1TB S-ATA II Hard Drive (5,400RPM)
Back
Top