Difference between revisions of "WPKG flags"
m |
m |
||
Line 1: | Line 1: | ||
− | '''[http://wpkg.org WPKG] flags (for WPKG-0. | + | '''[http://wpkg.org WPKG] flags (for WPKG-0.97):''' |
'''/profile:<profile>''' - Forces the name of the current profile. If not specified, the profile is looked up using hosts.xml. | '''/profile:<profile>''' - Forces the name of the current profile. If not specified, the profile is looked up using hosts.xml. | ||
Line 22: | Line 22: | ||
'''/quiet''' - Uses the event log to record all error/status output. Use this when running unattended. | '''/quiet''' - Uses the event log to record all error/status output. Use this when running unattended. | ||
+ | |||
+ | '''/nonotify''' - Logged on users are not notified about impending updates. | ||
+ | |||
+ | '''/noreboot''' - System does not reboot regardless of need. | ||
+ | |||
+ | '''/rebootcmd:<option>''' - Use the specified boot command, either with full path or relative to location of wpkg.js. Specifying "special" as option uses tools\psshutdown.exe from www.sysinternals.com - if it exists - and a notification loop. | ||
'''/force''' - Uses force when performing actions (does not honour wpkg.xml). Handy when you're not sure if your system is "up to date" with the state described in hosts.xml, packages.xml and profiles.xml (i.e., when someone was adding / removing software by other means than WPKG). It will "scan" your system for all possible packages from packages.xml, and then, install and/or uninstall packages, according to profiles.xml / packages.xml / hosts.xml for a given host. | '''/force''' - Uses force when performing actions (does not honour wpkg.xml). Handy when you're not sure if your system is "up to date" with the state described in hosts.xml, packages.xml and profiles.xml (i.e., when someone was adding / removing software by other means than WPKG). It will "scan" your system for all possible packages from packages.xml, and then, install and/or uninstall packages, according to profiles.xml / packages.xml / hosts.xml for a given host. | ||
Line 29: | Line 35: | ||
'''/debug''' or '''/verbose''' - Prints some debugging info. Prints everything WPKG does, useful for packet installation debugging (and for new users which need to understand how WPKG works). | '''/debug''' or '''/verbose''' - Prints some debugging info. Prints everything WPKG does, useful for packet installation debugging (and for new users which need to understand how WPKG works). | ||
− | '''/dryrun''' - "Simulates" packet installing, without installing anything. | + | '''/dryrun''' - "Simulates" packet installing, without installing anything. Does not execute any action. Assumes /debug on. |
'''/help''' - Shows these flags with brief description message. | '''/help''' - Shows these flags with brief description message. | ||
[[category:Documentation]] | [[category:Documentation]] |
Revision as of 20:09, 3 April 2006
WPKG flags (for WPKG-0.97):
/profile:<profile> - Forces the name of the current profile. If not specified, the profile is looked up using hosts.xml.
/base:<path> - Sets the local or remote path to find the settings files.
/query:<option> - Displays a list of packages matching the specified criteria. Valid options are:
a - all packages i - packages that are currently installed on the system x - packages that are not currently installed on the system u - packages that can be upgraded
/show:<package> - Displays a summary of the specified package, including it's state.
/install:<package> - Installs the specified package on the system.
/remove:<package> - Removes the specified package from the system.
/upgrade:<package> - Upgrades the already installed package on the system.
/synchronize - Synchronizes the current program state with the suggested program state of the specified profile. This is the action that should be called at system boot time for this program to be useful.
/quiet - Uses the event log to record all error/status output. Use this when running unattended.
/nonotify - Logged on users are not notified about impending updates.
/noreboot - System does not reboot regardless of need.
/rebootcmd:<option> - Use the specified boot command, either with full path or relative to location of wpkg.js. Specifying "special" as option uses tools\psshutdown.exe from www.sysinternals.com - if it exists - and a notification loop.
/force - Uses force when performing actions (does not honour wpkg.xml). Handy when you're not sure if your system is "up to date" with the state described in hosts.xml, packages.xml and profiles.xml (i.e., when someone was adding / removing software by other means than WPKG). It will "scan" your system for all possible packages from packages.xml, and then, install and/or uninstall packages, according to profiles.xml / packages.xml / hosts.xml for a given host.
/forceinstall - Forces installation over existing packages. The "install" command will be run, even if "check" conditions are met. This can be useful to "repair" packages etc.
/debug or /verbose - Prints some debugging info. Prints everything WPKG does, useful for packet installation debugging (and for new users which need to understand how WPKG works).
/dryrun - "Simulates" packet installing, without installing anything. Does not execute any action. Assumes /debug on.
/help - Shows these flags with brief description message.