That sort of thing is best done in the application. It solves several problems including: It won't be removed by the installer without explicit instructions. It creates a folder for the user running the application, not the user installing the application (which is not always the same user). If your installer is per-machine, then it will create the folder for any user who uses the application, not just the one who installs it.
-----Original Message----- From: Giuliano M. Laudone [mailto:gmlaud...@gmail.com] Sent: 11 December 2011 16:50 To: wix-users@lists.sourceforge.net Subject: [WiX-users] create permanent folder in My Documents but remove itsregistry key Hi all, I am completely new to WIX and to the Windows Installer in general and I have a question that probably just shows how much of a noob I am. I would like the installer to create a folder in My Documents and this folder will be used by the users to save and store their own files. So I would like this folder not to be removed on uninstall. I have achieved this setting Permanent="yes", and so far so good. However, I had also to add a RegistryValue because it is not possible to add a folder to PersonalFolder without it (otherwise I get ICE38). Now, I would like the uninstaller to leave the folder and its content untouched but I would like it to remove the registry key. Is that possible? Is that plain wrong? Thanks in advance for your help. Giuliano ----------------------------------------------------------------------------- - Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users