[WiX-users] Registry question.

2008-07-30 Thread Kiran Nallabothula

Hello, In my installer i want to check if a regkey exists if so assign the 
value to a property and if the first regkey doesnt exist i need to verify an 
alternate second regkey and assign the value to the property. I currently i use 
the following snippet to search the registry to get the value from my first 
regkey
Property Id=INSTALLDIR Value=0RegistrySearch 
Id=SERVER_INSTALLDIR_REGSEARCH Root=HKLM 
Key=SOFTWARE\Microsoft\commsvr\v1\Setup Name=MsiInstallPath Type=raw 
Win64=$(env.TARGET_WIN64) //Property How do i check if the above regkey is 
not present and look in the alternate regkey 
HKLM\SOFTWARE\Microsoft\commsvr\Setup\MsiInstallPath and assign the value to 
property INSTALLDIR  would be really thankful if somebody could tell me how i 
can accomplish this. thank youKiran Nallabothula.
 



Keep your kids safer online with Windows Live Family Safety. Help protect your 
kids. 
_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Copying contents of a regkey using WIX

2007-10-23 Thread Kiran Nallabothula

Hi,
 
I was looking for a way to read a registry key and copy its values to another 
registry key using WIX. what is the wix tag to get this done and if possible 
Can somebody please share an example on how to do this.
 
thanks
Kiran.
_
Climb to the top of the charts!  Play Star Shuffle:  the word scramble 
challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users