package installer; import java.lang.String; import java.io.*; import javax.swing.*; public class Register{ private static String[] singletonDefParams = { "drafts.com.sun.star.script.framework.theScriptRuntimeForJava=drafts.com.sun.star.script.framework.ScriptRuntimeForJava", "drafts.com.sun.star.script.framework.storage.theScriptStorageManager=drafts.com.sun.star.script.framework.storage.ScriptStorageManager", "drafts.com.sun.star.script.framework.theScriptRuntimeManager=drafts.com.sun.star.script.framework.ScriptRuntimeManager"}; private static String quotedString ( String stringToQuote ) { String doubleQuote = "\""; String result = new String ( doubleQuote + stringToQuote + doubleQuote ); return result; } private static boolean regSingletons( String path, String progPath, String opSys, JLabel statusLabel ) { try{ boolean goodResult = false; String[] env = new String[1]; String regCmd = null; ExecCmd command = new ExecCmd(); for ( int i=0; i