*** \\Ovid\install\WPKG\wpkg-0.9.10\wpkg.js Mon Jul 10 19:47:14 2006 --- \\Ovid\install\WPKG\current\wpkg.js Mon Nov 6 16:35:08 2006 *************** *** 43,48 **** --- 43,53 ---- * of the specified profile. This is the action that should be called at * system boot time for this program to be useful. * + * /globalwpkg + * Saves the configuration of a host in the base directory with the filename + * wpkg..xml e.g. the wpkg.mypc.xml for a machine named mypc. + * This allows easily to tweak the package database for different hosts. + * * /quiet * Uses the event log to record all error/status output. Use this when * running unattended. *************** *** 257,264 **** // our settings file is located in System32 var SystemFolder = 1; ! var settings_folder = fso.GetSpecialFolder(SystemFolder); ! settings_file = fso.BuildPath(settings_folder, settings_file_name); // load packages and profiles --- 262,275 ---- // our settings file is located in System32 var SystemFolder = 1; ! var settings_folder = base; ! if (isArgSet(argv, "/globalwpkg")) { ! settings_file = fso.BuildPath(settings_folder, "wpkg."+host+".xml"); ! } else ! { ! settings_folder = fso.GetSpecialFolder(SystemFolder); ! settings_file = fso.BuildPath(settings_folder, settings_file_name); ! } // load packages and profiles *************** *** 430,435 **** --- 441,450 ---- message += "/synchronize\n"; message += " Synchronizes the current program state with the suggested program state\n"; message += " of the specified profile.\n"; + message += "\n"; + message += "/globalwpkg\n"; + message += " Saves the configuration of a host in the base directory with the filename\n"; + message += " wpkg..xml\n"; message += "\n"; message += "/quiet\n"; message += " Uses the event log to record all error/status output. Use this when\n";