diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Unbind')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Unbind/UnbindDatabaseCommand.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Unbind/UnbindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Unbind/UnbindDatabaseCommand.cs index d5601fad..36172b5e 100644 --- a/src/WixToolset.Core.WindowsInstaller/Unbind/UnbindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Unbind/UnbindDatabaseCommand.cs | |||
| @@ -226,11 +226,12 @@ namespace WixToolset.Core.WindowsInstaller.Unbind | |||
| 226 | value = value.Replace("$(", "$$("); | 226 | value = value.Replace("$(", "$$("); |
| 227 | 227 | ||
| 228 | // escape things that look like wix variables | 228 | // escape things that look like wix variables |
| 229 | var matches = Common.WixVariableRegex.Matches(value); | 229 | // TODO: Evaluate this requirement. |
| 230 | for (var j = matches.Count - 1; 0 <= j; j--) | 230 | //var matches = Common.WixVariableRegex.Matches(value); |
| 231 | { | 231 | //for (var j = matches.Count - 1; 0 <= j; j--) |
| 232 | value = value.Insert(matches[j].Index, "!"); | 232 | //{ |
| 233 | } | 233 | // value = value.Insert(matches[j].Index, "!"); |
| 234 | //} | ||
| 234 | 235 | ||
| 235 | row[i] = value; | 236 | row[i] = value; |
| 236 | break; | 237 | break; |
