I want to place some database files in the user's My Documents folder in a folder for the app. In disassembling the MSI file that windows installer creates, I found the name to use for the folder. But when I try to use it, I get ICE64 saying the directory is in the user profile but not in the RemoveFile table. I tried adding both a RemoveFile for the file, and for the directory, and also a RemoveFile for the file and a RemoveFolder for the directory. Now if I place the files directly in My Documents, it works. Here's the source I'm using:
<Directory Id="PersonalFolder" SourceName="User's Personal Data Folder"> <Directory Id="PEData" Name="PatientEstimator"> <Component Id="PEDataFiles" Guid="{B949B17B-150D-4f99-999C-978DC7573967}"> <File Id="PEDB" Name="PatientEstimator.db" Source="c:\source\barry\patientestimator.db" > </File> <RemoveFile Id ="PEDB" Name="PatientEstimator.db" Directory ="PersonalFolder" On ="uninstall"/> <RemoveFile Id="PEData" Name="PatientEstimator" Directory="PersonalFolder" On ="uninstall"/> <RegistryValue Root="HKCU" Key="Software\Microsoft\PatientEstimator" Name="installed" Type="integer" Value="1" KeyPath="yes"/> </Component> </Directory> </Directory> I've watched Rob's video, and gone through the tutorial, but am still looking for any more documentation that might give me a better understanding. For example, I've not really run into anything that describes the Remove. directives and what the restrictions are. I'm just learning how to use Wix, so any help would be greatly appreciated. Dan "We are what we repeatedly do, therefore excellence is not an act, but rather a habit" - Aristotle ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users