> 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.
>
> <Condition>(NOT (KEY1_EXISTS="1") OR NOT (KEY2_EXISTS="1") OR NOT  
> (KEY3_EXISTS="1")) AND Installed</Condition>
>
Isn't there a logical error?

... (not key1exists) or (not key2exists) or (not key3exists) ...  ==  
if any of the the keys do not exists it returns true. Shouldn't this  
be AND instead of OR?

Also, if those 2 folders get created during installation, does the  
Windows Installer not remove them on uninstallation automatically?

And finally, RemoveFolder can only remove empty folders as far as I  
know.


Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com
-------------------------------------------------------------------------
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