Hi Brian, what about something along the lines of:
<Property Id="MYREGKEYPROP" Value="YetNotSet"> <RegistrySearch Id="MYREGKEYSEARCH" Key="MyKey" Name="RegValueName" Root="HKLM" Type="raw"/> </Property> <Component Id="CreateKeyComponent" Guid="" KeyPath="yes"> <RegistryValue Id="WRITEREGVALUE" Action="write" Key="MyKey" Name="RegValueName" Root="HKLM" Type="string" Value="NewValue"/> <Condition>NOT (MYREGKEYPROP~="A-value" OR MYREGKEYPROP~="YetNotSet")</Condition> </Component> Regards, Hans On Mon, February 9, 2009 12:19, Yu, Brian wrote: > Is it possible for wix to search for existing registry value and if it > exists or equal to a certain value, then leave the registry untouched > > But if it does not exist, then create? > > > > Is it a combination of using RegistrySearch and RegistryKey? How would > it work? > > > > Brian Yu > > > > > _____________________________________________________________________ > This e-mail was sent to you by EASYSCREEN LIMITED (EASYSCREEN). We are > incorporated under the laws of England and Wales (company no. 05677531 and > VAT registration no. 872810613). Our registered office is at 155 > Bishopsgate, London EC2M 3TQ. This e-mail and/or any attached documents > may contain privileged and confidential information and should only be > read by those persons to whom this e-mail is addressed. Use by other than > intended recipients is prohibited. If you are not the addressee, you must > not copy, distribute, disclose or use any of the information in it. If you > have received it in error, please delete it and immediately notify the > sender. EASYSCREEN reserves the right to monitor all e-mail messages > passing through its network. As we cannot guarantee the genuineness, > accuracy or completeness of the information contained in this message, the > statements set forth are not legally binding. > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications > today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users