RemoveFiles is defaulting to a sequence before InstallFiles, which is
likely all happening prior to your functionality. I think the best
approach is to use some other functionality to remove the files,
although you could modify the sequence and try to get it to perform the
RemoveFiles AFTER your functionality. Not sure if that would be possible
or not. RemoveFiles most likely needs to happen before InstallFinalize
and if you run your functionality after InstallFinalize that would not
sequence well.

RemoveFile syntax itself is fairly simple. I use it a lot to remove
non-versioned or newer versioned files prior to installing the "new"
files.

<RemoveFile Id="Remove_E3datadictionarychm" Name="E3_Dat_1.chm"
LongName="E3_Data_Dictionary.chm" On="install" />

Chad

-----Original Message-----
From: kkmca [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 26, 2008 1:11 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] newbie question about removing files created by
application




kkmca wrote:
> 
> I have some birt functionality that creates a number of files and
> directories under web inf that remain after uninstall.
> 
> I understand that i need to explicitly remove the files. I understand
that
> the removefiles node requires a component parent and since these files
> arent installed there is no component descriptor in place in the
installer
> for these files.
> 
> My question is do i need to create a component reference to these
files
> created after installation in order to remove them?
> 
> Could someone share a code sample for this?
> 
> Karen
> 
> 
> 

-- 
View this message in context:
http://n2.nabble.com/newbie-question-about-removing-files-created-by-app
lication-tp1119108p1121766.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to