Hi all,
Been using setup factory 9 for a while now but i have been trying some new stuff and got a bit stuck.
I'm trying to write to a text file which works but i also need to write a variable to the file as well but that part fails, here's the code i'm using
%AppFolder% = C:\testfolder
The file is created where i want but contains
instead of
Any help appreciated
Been using setup factory 9 for a while now but i have been trying some new stuff and got a bit stuck.
I'm trying to write to a text file which works but i also need to write a variable to the file as well but that part fails, here's the code i'm using
Code:
TextFile.WriteFromString("%AppFolder%\\test.cfg", "Title=product\r\nFolder=%AppFolder%\r\n", true);
The file is created where i want but contains
Code:
Title=product Folder=%AppFolder%
Code:
Title=product Folder=C:\testfolder
Comment