From: Erkan C. <ec...@di...> - 2012-04-13 15:54:36
|
There are cases where I need to have brackets (square brackets) in certain actions like running a SQL script that requires brackets or in an XPath expression. You can escape them in a regular installer (MSI) project by using [\[] or [\]], to open and close respectively. When I do the same in a merge module, it doesn't work. For instance, if I have a property called PROP1 with a value of "Value1", if I need, "[Value1]" as a literal, I can do [\[][Value1][\]] and get what I need. However, in a merge module, the same syntax produces an empty string. Does anyone have any idea why it doesn't work the same way in a merge module? Any ideas on how to work around this? Thanks in advance. Erkan |