Hi,

I've been looking for the same thing, unfortunately even reading from
a plain text file doesn't appear possible - INI and XML files are the
only types of files that you can read/write with standard MSI and WiX
tools.

The solution instead was to modify the application to read/write from
the registry, a plain text file. Modifying the application instead of
the setup meant no funky CA's were required.

Sascha


On Mon, Aug 31, 2009 at 10:22 AM, Blair<os...@live.com> wrote:
> Because text files are "free-form" you either need to specify the exact text
> format (.INI, or .XML, or whatever) the text file is in OR you need
> something like a SED editor wrapped into a custom action. Having said that,
> I don't happen to know of any SED C/As.
>
> However, I'm sure someone would be willing to write one...
>
> -----Original Message-----
> From: Slide [mailto:slide.o....@gmail.com]
> Sent: Sunday, August 30, 2009 4:15 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] custom action to modify a file
>
> I've been googling this for a couple days and maybe I'm just not looking for
> the right combination of words, so can anyone point me to a custom action
> that would let me modify a text file during install? I need to update it
> with the selected installation path that the user has chosen.
>
> Thanks!
>
> slide
>
> --
> slide-o-blog
> http://slide-o-blog.blogspot.com/
> ----------------------------------------------------------------------------
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to