http://msiext.codeplex.com can treat your file as a template.
<SystemTools:TemplateFile Id="File_template_process_component" Source="[#File_template]" Target="[INSTALLLOCATION]File.txt" ExecuteOnInstall="yes"> <SystemTools:TemplateFileProperty Id="INSTALLLOCATION_property" Name="INSTALLLOCATION" Value="[INSTALLLOCATION]" /> <SystemTools:TemplateFileProperty Id="TEST_property" Name="TEST" Value="test" /> <SystemTools:TemplateFileProperty Id="FILENAME_property" Name="Filename" Value="File.txt" /> </SystemTools:TemplateFile> Cheers -dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -----Original Message----- From: Slide [mailto:slide.o....@gmail.com] Sent: Sunday, August 30, 2009 7: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