Please reply to wix-users. As you saw, you can't embed a RegistrySearch element in a CustomAction element. What I meant was to write a custom action to do the registry search, rather than using the built-in support. The easiest way to do this is some procedural C++ code. Using the After attribute is also the correct way to sequence actions. -Brian Simoneau
________________________________ From: Natxo Mateos [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 10:42 AM To: Brian Simoneau Subject: Re: [WiX-users] using one property to set another Hi, Thanks for the tip. But I'm not sure to know how to embed a RegistrySearch elemenent inside a CustomAction. What I've done is set to a property : <CustomAction Id="MYSOFT_LOCATION"> <Property Id="MySoft_location"> <RegistrySearch Id="regSearch1" Root="HKLM" Key="[MYSOFT_REGISTRY]" Name="Location" Type="raw" /> </Property> </CustomAction> But obviously doesn't compile. How it's supposed to be done? I'm newbie with installers and I'm finding quite complicate to work with a non-procedural installer way. One last question. After the CA is correctly defined, to force that custom action to be executed after another one would be like this: <InstallExecuteSequence> <Custom Action="Assign1" After="CostInitialize" /> <Custom Action="MYSOFT-LOCATION" After="Assign1" /> </InstallExecuteSequence> Thanks in advance. -- Best Regards, Natxo Mateos [EMAIL PROTECTED] Asuni CAD - www.asuni.es <http://www.asuni.es> - 93 319 6868 - 91 541 6439 Especialistas en el desarrollo de aplicaciones a medida sobre AutoCAD ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users