First, it's recommended that you don't do that. PersonalFolder does not change for a per-machine installation, it always points to the installing user's profile.
If you really do want to do that, the validation ICE38 checks that the key path is a registry key. You can either suppress ICE38 or fix it by using a registry key as the key path for the component. According to the documentation for ICE38, using a file as the key path "causes [unspecified] difficulties when multiple users install the component on the same computer." The second message comes from ICE64 and deals with cleaning up roaming profiles. The ICEs generally catch things that were either considered to be a possible problem by the Windows Installer team, or have been found to be a problem over the years. You should typically have a very good reason for ignoring an ICE warning, as you would for a compiler warning! (Light ignores ICE33 for you because there are very good reasons for not doing COM advertisement.) -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ward, Mike (MED US) Sent: 18 June 2007 22:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Add a folder to My Documents Ok, another newbie question. How do I add a folder to "My Documents". I tried the obvious. <Directory Id="PersonalFolder"> <Directory Id="ReportTemplateData" Name="Report Template Data"> <Merge Id="ReportTemplateDataModule" Language="1033" SourceFile="$(var.MergeModulePath)\ReportTemplateData.msm" DiskId="1" /> </Directory> </Directory> And failed with the error: Component ModuleComponent.CB1DC23E_C8FD_4CF8_B4CD_21D4A231630F installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file. Also: The directory ReportTemplateData is in the user profile but is not listed in the RemoveFile table. I'm obviously not understanding something here (again)... ---------------------------------------------------------------------------- This message and any included attachments are from Siemens Medical Solutions and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to [EMAIL PROTECTED] Thank you ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users