I'm at my wit's end trying to figure out this RemoveFolders problem so any help 
will be greatly appreciated.

I am attempting to remove 2 folders that I created on install ONLY if all 3 
registry keys I'm checking for do not exist.

My Component for removeFolders looks like this:

<Component Id="ShareAFolderRemoval" Guid="{MY-GUID-HERE}" >
<Condition>(NOT (KEY1_EXISTS="1") OR NOT (KEY2_EXISTS="1") OR NOT 
(KEY3_EXISTS="1")) AND Installed</Condition>
      <RemoveFolder Id="ShareA_RemoveFolder" Directory="ShareADir" 
On="uninstall" />
      <RemoveFolder Id="ShareB_RemoveFolder" Directory="ShareBDir" 
On="uninstall"/>
</Component>

Unfortunately, every time I run the uninstall it will remove the folders even 
when the key . My next step is during the folder creation process, to set those 
components to Permanent="yes" but that causes the folders not to be removed.


Any one have any suggestions?

Thanks
--Pierson
-------------------------------------------------------------------------
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

Reply via email to