Hello

In my project, I need to set my log disabled by privacy reason. And this is
controled by a registry key. I wrote this line to delete it no matter it
was there.

        <Component Win64='no' Id='RegistryTest'
Guid='3D33DBE3-5B5F-47A1-928C-0DDAA98A0251'>
            <RemoveRegistryKey Id='HelloRegistry' Root='HKLM'
Key='SOFTWARE\Liuyu\Test' Action='removeOnInstall'>
            </RemoveRegistrykey>
        </Component>
User can turn the log on. While my program will add a value to this key.
Like EnableLog = 1.

However, when I install a patch. It will delete this key, my log setting
got lost.

Is there a way I can tell my msp "I'm a msp, don't change anything to my
registry?"

I'm so idiot of the msp install syntax, my msp file is quite like a copy
from the WiX tutorial:

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
 <Patch AllowRemoval='yes' Manufacturer='Liuyu Ltd.'  MoreInfoURL='
www.acmefoobar.com'  DisplayName='Foobar 1.0.1 Patch'  Description='Small
Update Patch' Classification='Updata'>
      <Media Id='5000' Cabinet='Sample.cab'>
           <PatchBaseline Id='Sample' />
      </Media>
      <PatchFamily Id='SamplePatchFamily' Version='1.0.0.0'
Supersede='yes'>
           <ComponentRef Id='MainExecutable'/>
      </PatchFamily>
 </Patch>
</Wix>

Thanks!
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to