You'll need a CustomAction the text file is not an ini or xml file.

Yan Sklyarenko wrote:
> Hello WiX community,
>
> My question is probably rhetorical, but I failed to find more or less
> meaningful answer throughout the net.
> I need to modify the existent txt file during install. It is hosts file.
> Well, it is a consequence of creating a new IIS site and the requirement
> to run the application right after installation without extra manual
> steps.
>
> As far as I understand, IniFile and XmlFile are not the options. Or
> not?..
>
> For now, I fall back to use custom action for this. Yes, very-very safe
> and tidy custom action.
>
> I would appreciate a hint if there are other ideas.
>
> Thank you.
>
> -- Yan
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to