Hi Tina Not sure, but shouldn't the <RegistryValue> elements have a <RegistryKey> parent to create the key?
So you would have something like <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\BusinessFramework\Install" Action="createAndRemoveOnUninstall"> <RegistryValye Id="PortalShellReg1" Action='write' Type='string' Name='ApplicationInstallDir' Value='[Files]'/> </RegistryKey> I think that RegistryValue only sets the value of an existing key, it won't create the key if it does not already exist. Jacques On Tue, May 19, 2009 at 7:04 AM, Tina Basinger <tinabasin...@gmail.com>wrote: > I just realized that my install isn't creating my registry keys. I have > the > registry keys defined as follows (in 2 separate merge modules): > > > <Component Id="ApplicationInstallDir" Guid=" > D3D438DC-6140-4F10-B832-1BBE48798A11" Win64="yes"> > > <RegistryValue Id="PortalShellReg1" Root="HKLM" > Key="SOFTWARE\Microsoft\Business > Framework\Install" Name="ApplicationInstallDir" Type="string" > Value="[Files] > " /> > > </Component> > > <Component Id="BinMapRegistrySettings" Guid=" > 42ADD1FC-5F89-456A-8614-D857A059449A" Win64="yes"> > > <RegistryValue Id="BinMapReg1" Root="HKLM" Key="SOFTWARE\Microsoft\Business > Framework\Install" Name="BinInstallDir" Type="string" > Value="[BinMap_Bin]"/> > > <RegistryValue Id="Registry2" Root="HKLM" > Key="SYSTEM\CurrentControlSet\Services\Eventlog\Application\Microsoft > Business Framework" Name="EventMessageFile" KeyPath="no" Type="string" > Value > ="[WindowsFolder]Microsoft.NET\Framework\v1.1.4322\EventLogMessages.dll" /> > > <RegistryValue Id="Registry3" Root="HKLM" Key=" > > SYSTEM\CurrentControlSet\Services\Eventlog\Application\MicrosoftBusinessFrameworkTrace > " Name="EventMessageFile" KeyPath="no" Type="string" Value=" > [WindowsFolder]Microsoft.NET\Framework\v1.1.4322\EventLogMessages.dll" /> > > <RegistryValue Id="Registry4" Root="HKLM" Key=" > > SYSTEM\CurrentControlSet\Services\Eventlog\Application\MicrosoftBusinessFrameworkLog > " Name="EventMessageFile" KeyPath="no" Type="string" Value=" > [WindowsFolder]Microsoft.NET\Framework\v1.1.4322\EventLogMessages.dll" /> > > <RegistryValue Id="Registry5" Root="HKLM" Key=" > > SYSTEM\CurrentControlSet\Services\Eventlog\Application\MbfQueuedWorkItemService > " Name="EventMessageFile" KeyPath="no" Type="string" Value=" > [WindowsFolder]Microsoft.NET\Framework\v1.1.4322\EventLogMessages.dll" /> > > </Component> > > Attached is my verbose log. At line 7387, it starts the > WriteRegistryValues > action, and appears to be creating my registry keys. But after the install > completes, they do not exist. Any ideas, thoughts, tips for me to debug? > > Thanks! > -Tina > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users