The feature containing the component needs to be included in the REPAIR
list.

-----Original Message-----
From: Vidya Kukke [mailto:vku...@microsoft.com] 
Sent: Tuesday, November 24, 2009 6:07 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Updating registry during Install/UnInstall/Change

Anyone?

-----Original Message-----
From: Vidya Kukke [mailto:vku...@microsoft.com] 
Sent: Friday, November 20, 2009 11:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Updating registry during Install/UnInstall/Change

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


----------------------------------------------------------------------------
--
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


------------------------------------------------------------------------------
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