How do you set the Component guid to null? Do you mean an empty string? -----Original Message----- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Wednesday, November 09, 2011 12:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Keeping files after uninstall
Beware though because many people get the impression that permanent is a project setting, and consequently they install the same file later with permanent = fale and expect it to uninstall. Permanent means permanent on the system, forever ref counted by MSI to stay there. IMO a better solution is to set the Component guid for the file to be null. MSI will install it but not register a ref count, and it will not remove it when the product is uninstalled. Phil Wilson -----Original Message----- From: jaczjill [mailto:jaczj...@gmail.com] Sent: Wednesday, November 09, 2011 2:00 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Keeping files after uninstall use permanent="yes" Example: <Component Id="cmpAddressBookFolder" Permanent="yes"> also DON'T use <RemoveFile Id="removeAddressBookFolder" Directory="AddressBookFolder" Name="*.*" On="uninstall" /> because this is cleaning your folder. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Keeping-files-after-uninstall-tp6975689p6977419.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users