Thanks uni, This helped...
On Mon, May 6, 2013 at 3:35 PM, uni <[email protected]> wrote: > 于06 May 2013 16:54:47,Ravi Raj写到: > > Hi, > > I am developing an installer using WiX 3.7. I have to do some registry > > search after CostFinalize, so I created a new file named "RegSearch.wxs" > > and put following code: > > > > <?xml version="1.0" encoding="UTF-8"?><Wix > > xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> > > <Property Id="DOMAINNAME" Secure="yes"> <RegistrySearch > > Id="DomainName" Root="HKLM" > > Key="SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" > > Name="Domain" Win64="yes" > > Type="raw" /> </Property> </Fragment></Wix> > > > > and I am using this Property to write registry value using custom action > > but the problem is that when I open my installer in Orca, AppSearch table > > is not at all showing. If the run this installer, everything works fine > > except the registry entry is empty. > > > > When I move this code in <Product>...</Product> node, I can see the > > AppSearch folder and my Ca works great. > > > > Why I am seeing this strange behavior? Am I missing something? > > > > > > Do you add <PropertyRef Id="DOMAINNAME"> in your main wxs source > file(the one contains Product element)? If you don't refer to a element > in the fragment first,the fragment would not be added to the main wxs > source file. > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Thanks and Regards, Ravi Raj ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

