I'm trying to do the same thing, but when check the checkbox to remove
the Installation directory, it's not deleting the directory, or the 2
files that are left behind.
I cant imagine you have to explicitly remove files before removing the
directory, do you?
I have a hidden feature to enable my removal component as follows:
<Component Id="Comp_RemoveAllFiles" Guid="">
<Condition>RemoveAllFiles</Condition>
<RemoveFolder Id="RemoveRootFolder" On="uninstall"
Property="[INSTALLDIR]"/>
</Component>
<Feature Id="Feat_RemoveAllFiles" Display='hidden' Level="1">
<ComponentRef Id="Comp_RemoveAllFiles"/>
</Feature>
In the log I see
Property(C): RemoveAllFiles = TRUE
I also see this, but im not sure if its of any use...
UnpublishFeatures: Feature: Feat_RemoveAllFiles
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gareth at
Serif
Sent: Thursday, March 29, 2007 1:09 PM
To: [email protected]
Subject: Re: [WiX-users] Conditional RemoveFiles on Uninstall
You can probably declare your 'RemoveFile' ines in a component that has
a
component condition triggered by a property that your user can configure
via
a checkbox in your UI. I believe that 'RemoveFile' lines work on
install
and all files will be removed on uninstall so probably won't be the
solution
for your described needs.
Best of luck.
--
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users