New version is uploaded.
When there is a REG_MULTI_SZ in the reg file, there will be output of intelligent REG_MULTI_SZ handling like this:
void doMultiString(RegHeader systemHive, String key, String value, String data) {
ArrayList<String> result = new ArrayList();
if (systemHive.existVal(key, value)) {
String cand;
String current = systemHive.getValueString(key, value);
String[] actList = current.split(",");
String[] newList = data.split(",");
for (int n = 0; n < newList.length; n++) {
cand = newList[n].trim().toLowerCase();
boolean found = false;
for (int a = 0; a < actList.length; a++) {
String act = actList[a].trim().toLowerCase();
if (cand.equals(act)) {
found = true;
break;
}
}
if (!found) {
result.add(newList[n].trim());
}
}
if (!result.isEmpty()){
for (int m = 0; m < result.size(); m++) {
String single = result.get(m);
systemHive.modifyValueMulti(key, value, single, -1);
}
}
} else {
systemHive.createValue(key, value, 0x7, data);
}
};
Additional for plugin developers: Reg2WbEx can output some status information in case of a problem: "Develop" checkbox.
Peter