Post log excerpts. I have an opposite issue. I have to force REINSTALLMODE="o" 
to *AVOID* Registry from being updated with original values. However, for me 
Change leads to either Repair or Uninstall. I don't really know what just 
Change by itself means or does.
Repair should definitely restore Registry value that was set during the 
original installation.


-----Original Message-----
From: Vidya Kukke [mailto:vku...@microsoft.com] 
Sent: Tuesday, November 24, 2009 9: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




TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) 
of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, 
FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and 
subscription company, and TradeStation Europe Limited, a United Kingdom, 
FSA-authorized introducing brokerage firm. None of these companies provides 
trading or investment advice, recommendations or endorsements of any kind. The 
information transmitted is intended only for the person or entity to which it 
is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.

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