If the component is marked as Permanent then it will not be removed
during uninstall.

If the key is still removed there must be something different that
removes it.

Check the verbose log of the installer.

msiexec /x Package.msi /l*v Msilog.log

regards

Stefan

Simon Topley wrote:
> Thanks for the tip Stefan. Is this a tried and tested method? My keys
> still seem to disappear.
> 
> Simon
> 
> -----Original Message-----
> From: Stefan Pavlik [mailto:[EMAIL PROTECTED] 
> Sent: 09 August 2007 12:08
> To: Simon Topley
> Cc: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] HKLM - purposely persistent
> 
> Hi Simon
> 
> You can place the registry key to one Component and add
> [EMAIL PROTECTED]"yes".
> 
> It will ensure that the component (and thus the  registry key) wil not
> be removed during uninstall.
> 
> regards
> 
> Stefan
> 
> Simon Topley wrote:
>> Greetings one and all!
>>
>> It's been a while but I have returned once again to conquer the land 
>> of installers. I have a pretty simple problem with my registry 
>> settings. I create keys all over the LM and CU hives in the registry 
>> however I wish to leave something behind in "LM\software\company
> name\product version".
>> I have used "createkey" to make this key and not 
>> "createKeyAndRemoveKeyOnUninstall". Sadly my key is still removed. I 
>> know it's not exactly good manners to leave things in the registry but
> 
>> my hand is being forced here. Obviously there are many other keys in 
>> the same place that do need to be removed on uninstall.
>>
>> Any help would be good. 
>>
>> Simon
>> The information contained in this e-mail is likely to be confidential 
>> and may be legally privileged. It is intended only for the addressee. 
>> If you have received this message in error please notify the sender 
>> immediately at the above address. The disclosure, copying or 
>> distribution of this message or its contents without the prior 
>> approval of Wallingford Software is strictly prohibited. Wallingford 
>> Software is not liable for unauthorised disclosures nor for subsequent
> 
>> actions or omissions in reliance upon them.
>>
>> Registered in the UK, company no: 02288719 Wallingford Software 
>> Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA
>>
>> ----------------------------------------------------------------------
>> --- This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a
> browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> 
> --
> Stefan Pavlik | [EMAIL PROTECTED]
> Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03
> Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2
> 5930-0735
> The information contained in this e-mail is likely to be confidential and
> may be legally privileged. It is intended only for the addressee. If you
> have received this message in error please notify the sender immediately at
> the above address. The disclosure, copying or distribution of this message
> or its contents without the prior approval of Wallingford Software is
> strictly prohibited. Wallingford Software is not liable for
> unauthorised disclosures nor for subsequent actions or omissions in reliance
> upon them.
> 
> Registered in the UK, company no: 02288719
> Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA
> 
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to