PDA

View Full Version : Registry merging through code for a 64 bit OS



utsav.kant
02-10-2009, 04:33 AM
Hi
I am using InstallShield 2009. Trying to merge a registry through code during installation on 64 bit Win Server 2008, but it always merges it into the 32bit part of registry i.e in HKEY_LOCAL_MACHINE\Software\WOW6432Node instead of HKEY_LOCAL_MACHINE\Software
Using the following statement to merge
LaunchApp("c:\\windows\\Regedit.exe", "/s \"S:\\crystal.reg\"")

Is there anyway by which my merge goes to HKEY_LOCAL_MACHINE\Software instead of KEY_LOCAL_MACHINE\Software\WOW6432Node ?

Have tried the following things but they din't work:
1. REGDB_OPTIONS = REGDB_OPTION_WOW64_64KEY;
2. General Information>Summary Information Stream>Template Summary = x64;1033