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?
On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
It depends what type of text file.
If the files are XML, the wixca.wixlib includes a custom action which may
accomplish what you need.
If the file is an older style .ini file, then there may be support for
what you need built into Microsoft Installer (see the IniFile element in the
WiX help).
If neither of these support what you need, I would suggest first coming
back to this mailing list with a more complete description of what you need
to do – it may be more sensible to do what is being asked of you a different
way to avoid problems with component rules etc. If necessary (and hopefully
it will not be), you will have to generate a custom operation – either in a
DLL (as a custom action) or as an EXE which is executed during installation.
I say that hopefully it will not be necessary because as you will know (if
you are a regular reader of this group) custom actions are notoriously
difficult to get 100% right when you take into account the repair and
rollback requirements… and if you get them wrong you may not know it until
it is too late to fix.
Regards,
Richard
------------------------------
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *barbq
*Sent:* Tuesday, April 24, 2007 10:00 AM
*To:* WiX-Users
*Subject:* [WiX-users] Custom installation
Hi,
My installer is supposed to perform a custom installation procedure, such
as parsing existing text files and inserting it's own text elements in these
files, and also appending text to existing text files.
Is there a mechasim for such actions? If not what should I use - an
external DLL seems risky.
Thanks
------------------------------
* 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
--
Tal Shrestha | 3dbe.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