Append line to text file - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jose.onrez
Posts: 8
Joined: Thu May 21, 2009 5:46 pm

Append line to text file

Hi

I need the installer to add a line to a text file and then to run a system command. What i exactly trying to do is add a line in a visual studio text file where templates are resgister and then need to run "devenv.exe /InstallVSTemplates".

How can i do that?

Regards,
José
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Append line to text file

Hi,

To write text into a file you can try using a custom action. Perhaps the Write text into a file how-to will help you. Also, you can launch a file by using a "Launch file or open URL" custom action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”