Don't forget about the encoding of the file! On Fri, Mar 20, 2015 at 2:32 PM, Phil Wilson <phildgwil...@gmail.com> wrote:
> Windows Installer doesn't provide that functionality, so writing to > the file with a custom action is the only way to do it, so it can't be > wrong if you do it with a CA and right if WiX supplied a CA for it :) > > If the ini file information about the installtion contains data like > the ProductVersion, install location etc then longer term maybe teach > the app how to use APIs like MsiGetProductInfo() to get that > information directly from Windows. > --------------- > Phil Wilson > > > On Fri, Mar 20, 2015 at 10:09 AM, Lars <laasu...@hotmail.com> wrote: > > That is a separate issue and not possible in our system without major > changes. > > kind regards, Lars > > > >> From: bwhee...@dshs.wa.gov > >> To: wix-users@lists.sourceforge.net > >> Date: Fri, 20 Mar 2015 15:15:53 +0000 > >> Subject: Re: [WiX-users] Create text file > >> > >> On the whole, an ini file is best created on the first run of the > application. This avoids the whole - user context and folder privilege > challenge since ini's often have user specific settings they should be > stored per user and not per application > >> > >> > >> -----Original Message----- > >> From: Lars [mailto:laasu...@hotmail.com] > >> Sent: Friday, March 20, 2015 7:34 AM > >> To: wix-users@lists.sourceforge.net > >> Subject: [WiX-users] Create text file > >> > >> Hello, > >> > >> I would like our installer to a create text file (actually an .ini file > without any sections) with installation specific information included. > >> > >> The IniFile element obviously wont work due to requiring sections. > >> > >> One solution would be to pipe the required information to a file using > custom actions but this seems very wrong. > >> > >> Would like to avoid using third party add-ons. > >> > >> Does Wix Toolset have any plans to add a feature that would help solve > this issue? For example: A generic write to file element. > >> > >> kind regards, Lars > >> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > >> by Intel and developed in partnership with Slashdot Media, is your hub > for all > >> things parallel software development, from weekly thought leadership > blogs to > >> news, videos, case studies, tutorials and more. Take a look and join the > >> conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users