SQL replacement and APPDIR - 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!

andreas.heckwolf
Posts: 1
Joined: Wed Aug 12, 2009 1:14 pm

SQL replacement and APPDIR

Hello,

I am trying to store the value of APPDIR to a PostgreSQL database. I am using the SQL replacement feature. The produced SQL does not run, I do get a syntax error. All other SQL replacements work just fine, so I am suspecting a problem with the backslashes in APPDIR. Any hints?

Cheers,

Andreas
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: SQL replacement and APPDIR

Hello,

Perhaps the backslashes need to be escaped. You might find this post very helpful in achieving what you want. The only change you will need to make is replace the "\" characters with "\\" instead of "/" as suggested there.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”