You could mark the component as permanent.  It won't get uninstalled and so 
will leave the reg entry 
alone.

Rob

Harvey Werner wrote:
> I need to set a registry value to null on a key that was created during 
> the install of another product's msi. How do I do that?
>  
> I tried the following. It works for the install, but on uninstall it 
> removes ProgramArguments from the registry which is obviously not what I 
> want. I just want to set it's value to null and leave it alone.
>  
> <Component Id="bin" ...
>     <Registry Id="DLM" Root="HKLM" 
> Key="SOFTWARE\<blah>\<blah>\service\Started 
> Processes\dlm"  Name="ProgramArguments" Type="string" Value=" " 
> Action="write" />
> </Component>
>  
> How is this done?
>  
> --
> Harvey Werner / [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to