// application when registering for uninstallation. But we allow
// people to install the dashboard on top of itself over and over.
// We wouldn't want the user to see multiple uninstallation options
// in the "Add/Remove Programs" dialog (one for each version), because
// they can only uninstall the application once anyway.
RegistryHandler rh = RegistryDefaultHandler.getInstance();
if (rh != null) {
String name = installdata.getVariable(ScriptParser.APP_NAME);
rh.setUninstallName(name);
}
}