Arguably, yes... if you append text to a file on installation, that text
should be removed when you uninstall.
If you have several installations that perform similar operations on the
same file things will get really messy!
Again, it may help if we know the problem you are trying to solve. For
example, if you are installing several components each of which requires
a chunk of text to be appended to a file then it may be appropriate to
have the installation generate separate chunks of text in individual
files for each component, then run a custom action to concatenate them
into the final output. This way, if a component is uninstalled and the
same custom action is run then the contents of the generated file should
match what is required. (Having said that, in this scenario there is
probably a special case where the file should be removed if all the
components have been removed).
Regards,
Richard
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tal
Shrestha
Sent: Tuesday, April 24, 2007 10:19 AM
To: WiX-Users
Subject: Re: [WiX-users] Custom installation
Actually, rethinking this, this are simple text files I need to *append*
text to them. (not XML or INI, just plain text files).
Roll back (uninstallation) would mean the text that was appended should
be stripped down, baring in mind other text might have added later on.
What do you think?
* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or
entity to whom it is addressed. If you have received this communication in
error, be aware that forwarding it, copying it, or in any way disclosing its
content to any other person, is strictly prohibited. Peek Traffic Corporation
is neither liable for the contents, nor for the proper, complete and timely
transmission of (the information contained in) this communication. If you have
received this communication in error, please notify the author by replying to
this e-mail immediately and delete the material from any computer.
-------------------------------------------------------------------------
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