[EMAIL PROTECTED] wrote:
> That sounds pretty inconvenient if you want to recursively remove every
> file in every directory, which I would have guessed was a fairly common
> thing to want to do.  

That's not really an MSI thing -- in MSI, you're carefully controlling 
and describing the composition of your components so that you can easily 
patch them, for example. Nuking a whole tree is kinda odd in comparison.<g>

> Is there another more straightforward method of
> accomplishing this?  I can add RemoveFile elements to all of the
> Directory elements, but that still leaves any user created directories
> laying around.
>   

The general rule: The user created the data; the user can delete the 
data. So MSI doesn't make it easier. You'd need a custom action if you 
want to nuke an arbitrary tree.

> And in both cases, I see REMOVEALLFILES="TRUE" in the log.
>   

As the InstallValidate action in the execute sequence is what looks at 
the conditions, you need to make sure that the execute sequence has the 
property value. It sounds like that's not happening. Take a look for 
lines like this:

MSI (s) (DC:78) [18:37:48:765]: PROPERTY CHANGE: Adding INSTALLDIR 
property. Its value is 'C:\Program Files\...

You want to see "(s)" -- which indicates 's'erver, which is where MSI 
runs the installation -- for your property. Another place to look is 
when MSI switches to the server:

MSI (s) (DC:78) [18:37:48:765]: Command Line: IAGREE=Yes 
INSTALLDIR=C:\Program Files\...

That list of properties needs to have your property listed.

-- 
sig://boB
http://bobs.org



-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to