Hi,

My scenario needs to create/update registry values on Install/Change.

My code to create the registry is:-
<Component Id="MyRegistry" Win64="yes" Guid="<MyGuid>">
    <RegistryKey Root="HKLM" Key="<MyKey>">
        <RegistryValue Name="<MyName>" Type="string" Value="[MYPUBLICPROP]" 
KeyPath="yes"/>
     </RegistryKey>
</Component>

The registry is created on install with the value of MYPUBLICPROP. However 
after install, if I choose 'Change' to update the public property the registry 
value is not updated. From the logs it appears that the Component at that point 
is considered as already installed and hence the registry value is not updated. 
What should I be doing to be able to update registry during Change?

Any help is much appreciated.

Thanks
Vidya
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to