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!

bbarton11
Posts: 7
Joined: Fri Jan 18, 2013 5:00 pm

Conditional Text File Update?

Hi All,

Is there a way to do a conditional update of a text file? For example, I have a text file that has a line in it that is "C:\Program Files (x86)\...". Can I do something where if the OS is 32-bit to modify that line to be "C:\Program Files\..." instead?

Thanks as always,
Brian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Conditional Text File Update?

Hello Brian,

In order to achieve what you want you can take a look on our "Write APPDIR to text file and display when install is done" thread which should be useful for you.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”