Backslash removal
Posted: Tue Mar 01, 2011 12:06 am
I note in the forums:
Is the writing of a string value to the registry considered a "path related function"? I am writing the string "sql:\\server\database" to the registry from a variable and it replaces the double backslashes with a single backslash. Interestingly, if in the "Write Registry Key" command I replace the variable with a string constant, it does not do the backslash replacement!!
How do I stop this replacement from happening? (Using IA9)
.If you are concerned about the double backslash, InstallAware automatically eliminates double backslashes in all path related functions before the function call executes.
Is the writing of a string value to the registry considered a "path related function"? I am writing the string "sql:\\server\database" to the registry from a variable and it replaces the double backslashes with a single backslash. Interestingly, if in the "Write Registry Key" command I replace the variable with a string constant, it does not do the backslash replacement!!
How do I stop this replacement from happening? (Using IA9)