PDA

View Full Version : Text Replacement doesn't work



olechka
12-09-2004, 03:36 AM
It seems Text Replacement in SQL Scripts View doesn't work if any string enclose in square brackets is set in 'Find What' field (e.g. I need to replace string [DATABASE_PATH] in sql script with value of property [DB_PATH]).
As workaround I can remove square brackets in sql script text and everything is work OK. Is this bug is known for InstallShield and is scheduled to fix?

hidenori
12-09-2004, 03:40 PM
The search text property of SQL script is also a formatted data type. If you want to seach the string [DATABASE_PATH], you need to specify [\[]DATABASE_PATH[\]]. Please see 'Formatted Data Type' topic in the MSI help library for more information.

olechka
12-10-2004, 03:17 AM
Thanks! I'll be know.