I have a component whose purpose is to modify the machine.config file. What
it does is add a new line to machine.config using XmlConfig element.
But when i clicked on the repair button for repair, the component described
above is called again i.e the line which was added to machine.config is
added again.
So i decided on using a registrykey and registry value as a component
keypath that would aid during the repair process..
Here is the code for registry value

<Component....>

<
RegistryKey Action="create" Root="HKLM" Key="<some path" >

<
RegistryValue Type="string" Value="Modified" KeyPath="yes">

</RegistryValue>

</RegistryKey>

<XmlConfig>

...

</XmlConfig>

</Component>

Now during installtion the registry key is created. But during repair the
component gets called again. i.e a new line is added to machine.config.(So
there is new use of using the registry value as component keypath.)



Can someone point out as to where am i goin wrong.? or is there some way to
control the repair process.?
-- 
Best Regards.

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