←  General Support

AutoPatcher Forum

»

AutoPatcher Legend & Commandline argum...

Antonis's Photo Antonis 02 Jul 2007

This thread will contain information which applies to all AutoPatcher releases.
Note, this information has been updated for AutoPatcher version 5.6 as of May 2007.

Command Line Arguments (a.k.a. Switches)
You may use the following command line arguments (a.k.a. switches) to control AutoPatcher's behavior.

Quote

nolicense
Skips both the AutoPatcher and Microsoft licenses

nocrashhandler
Disables the crash handler

log
Enables active file logging (to <windows>\autopatcher.log)

devmode
Allows you to ignore errors (in crash handler)

noreboot
Skips the reboot sequence (Not implemented yet fully)

nodetection
Skip file and registry detection on modules. Everything will be as if it's not installed, even if it is!

english
Overrides the user interface language (normally adapts to regional settings) and switches it to default, english.

answerfile:<filepath>
Specifies an answer file to load. This overrides the Answer File screen (where AutoPatcher would normally detect answer files in its folder and ask you whether it should load any of them)

unattend
Activates unattended installation (implies nolicense). This also skip the answer-file screen, so the only way of specifying an answer file is through the answerfile switch.

minimal
Only used along with  unattend. This will run AutoPatcher with a minimal UI.

Shortcuts

Quote

Ctrl + A Select all
Ctrl + D Deselect all
Ctrl + N Select none (same as above)
Ctrl + L Load selection from answer file
Ctrl + S Save selection to answer file
Ctrl + R Restore defaults

Exit codes

Quote

-1 Crashed (!)
1 User exit
2 User exit, avoiding reboot
5 Installation finished, reboot not required
10 Installation finished, reboot required, but supressed via commandline

Kind regards,
Antonis Kaladis
AutoPatcher Project Manager
www.autopatcher.com
Quote

Guest_JustRob_* 18 Oct 2008

Switches - implies "/" as prefix to parameters above. It isn't mentioned above, so I thought I'd mention it to avoid confusion.

I.e., run "cmd", then go to your apup directory, and if you want to enable logging, you type:

apup /log
Quote

icnocop's Photo icnocop 24 Dec 2008

Here is an updated command line arguments list for autopatcher.exe v5.6.0.81

Commandline arguments

/neverselectinstalled		never selects an installed item unless clicked explicitly
/dumpdetection			reports system information and exits
/verbose				provides additional log information
/nocrashhandler			disables the crash handler
/log					reports system information and problematic modules.
/unattend				makes the process completely automated
/minimal				used with /unattend, only shows minimal information
/noreboot				disables the reboot completely, even if a module requires it
/nolicense				hides the license screens
/answerfile:<path>		uses an answer-file instead of defaults
/devmode				enables the ignore button on the crash handler
/noexitcodes			disables the exit codes
/english				forces english translation
/slipstream:<path>		runs autopatcher in slipstream mode
/qmup				runs autopatcher in QMUP mode
/nodetection			autopatcher will not check if items are already installed
/recommended			treats recommended items as critical
/help					shows this box
Quote

aordy001's Photo aordy001 07 Oct 2011

yess Ok Thank Fro you SoMuch info!
Quote