Is there a tool to generate WiX XML given a .reg file?
In 2.0, you were supposed to be able to run tallow to generate registry XML:
This code works well, but if you have a an empty string value in the registry file you are importing, an exception error gets thrown. You may want to update the ParseRegistryValue section accordingly.
if (rawValue.IndexOf("\"") != -1)
{
valueType = "string";
if (rawValue.Length > 1)
{
actualValue = rawValue.Substring(1, rawValue.Length - 2);
}
else
{
actualValue = "";
}
}