This might help some:
http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-shortcut-and-pass-all-the

On Wed, Apr 28, 2010 at 10:34 AM, Wix Mailing List <w...@danhinsley.com>wrote:

> 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" ShortSourceName="USER'S~2"
> SourceName="User's
> Personal Data Folder">
>
>        <Directory Id="PEData" LongName="PatientEstimator">
>
>          <Component Id="PEDataFiles"
> Guid="{B949B17B-150D-4f99-999C-978DC7573967}">
>
>            <File Id="PEDB" LongName="PatientEstimator.db"
> Source="c:\source\barry\patientestimator.db" >
>
>            </File>
>
>            <RemoveFile Id ="PEDB" Name ="PATIEN~1.DB" LongName
> ="PatientEstimator.db" Directory ="PersonalFolder" On ="uninstall"/>
>
>            <RemoveFile Id="PEData" Directory="PersonalFolder"
> Name="PATIEN~1" LongName="PatientEstimator" 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
>
>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to