<Directory Id="SAVEDFILES" Name="savedf~1" LongName="saved files">
<Component Id="remfile" Guid="INSERT-GUID-HERE">
<RemoveFile Id="rem1.txt" Name="1.txt" On="uninstall"/>
</Component>
<Component Id="remfolder" Guid="INSERT-GUID-HERE">
<RemoveFolder Id="remsavedfolder" On="uninstall"/>
</Component>
</Directory>
and then have a property like this
<Property id="SAVEDFILES" Value="D:/saved files"/>
I used the property to set the path because I'm not sure how to specify a directory as being the D
drive. I've done this before and it works fine.
I've had some trouble with getting RemoveFile to work in the past, but hopefully this'll be OK.
<Component Id="remfile" Guid="INSERT-GUID-HERE">
<RemoveFile Id="rem1.txt" Name="1.txt" On="uninstall"/>
</Component>
<Component Id="remfolder" Guid="INSERT-GUID-HERE">
<RemoveFolder Id="remsavedfolder" On="uninstall"/>
</Component>
</Directory>
and then have a property like this
<Property id="SAVEDFILES" Value="D:/saved files"/>
I used the property to set the path because I'm not sure how to specify a directory as being the D
drive. I've done this before and it works fine.
I've had some trouble with getting RemoveFile to work in the past, but hopefully this'll be OK.