After I places the stuff at another place and in it's own component,
than the registry key is removed as expected. My .wxs looks like this:
 <Directory Id="TARGETDIR" Name="SourceDir">
      <Component Id="c_RegistrySetup" 
Guid="{D61488A0-EFCD-4fd8-ABC6-7DC341A3C6A5}">
        <RegistryKey Id='reg_unregkey'
                      Action='createAndRemoveOnUninstall'
                      Root='HKCU'
                      Key='Software\lcc\COMWizard'
                         />



        <RegistryValue Id='reg_COMWizardInstallDir' Root='HKCU'
                  KeyPath='yes'
                  Key='Software\lcc\COMWizard' Name='InstallDir'
                  Action='write' Type='string' Value='[INSTALLDIR]' />

      </Component>
     
It was directly placed below the first Directory entry
before it was much deeper in the Directory tree...

Maybe it'll help someone else 

Regards
Friedrich

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to