Jump to content

42 posts in this topic

Posted (edited)

[attachment=144558:AutoPatcher.gif]

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.

[size=3][color="green"][b]Command Line Arguments (a.k.a. Switches)[/b][/color][/size]
You may use the following command line arguments (a.k.a. switches) to control AutoPatcher's behavior.
[quote][color="#102060"][b]nolicense[/b][/color]
[size=1]Skips both the AutoPatcher and Microsoft licenses[/size]

[color="#102060"][b]nocrashhandler[/b][/color]
[size=1]Disables the crash handler[/size]

[color="#102060"][b]log[/b][/color]
[size=1]Enables active file logging (to <windows>\autopatcher.log)[/size]

[color="#102060"][b]devmode[/b][/color]
[size=1]Allows you to ignore errors (in crash handler)[/size]

[color="#102060"][b]noreboot[/b][/color]
[size=1]Skips the reboot sequence (Not implemented yet fully)[/size]

[color="#102060"][b]nodetection[/b][/color]
[size=1]Skip file and registry detection on modules. Everything will be as if it's not installed, even if it is![/size]

[color="#102060"][b]english[/b][/color]
[size=1]Overrides the user interface language (normally adapts to regional settings) and switches it to default, english.[/size]

[color="#102060"][b]answerfile:<filepath>[/b][/color]
[size=1]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)[/size]

[color="#102060"][b]unattend[/b][/color]
[size=1]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.[/size]

[color="#102060"][b]minimal[/b][/color]
[size=1]Only used along with unattend. This will run AutoPatcher with a minimal UI.[/size][/quote]

[size=3][color="green"][b]Shortcuts[/b][/color][/size]
[quote][color="#102060"][b]Ctrl + A[/b][/color] Select all
[color="#102060"][b]Ctrl + D[/b][/color] Deselect all
[color="#102060"][b]Ctrl + N[/b][/color] Select none (same as above)
[color="#102060"][b]Ctrl + L[/b][/color] Load selection from answer file
[color="#102060"][b]Ctrl + S[/b][/color] Save selection to answer file
[color="#102060"][b]Ctrl + R[/b][/color] Restore defaults[/quote]

[size=3][color="green"][b]Exit codes[/b][/color][/size]
[quote][color="#102060"][b]-1[/b][/color] Crashed (!)
[color="#102060"][b]1[/b][/color] User exit
[color="#102060"][b]2[/b][/color] User exit, avoiding reboot
[color="#102060"][b]5[/b][/color] Installation finished, reboot not required
[color="#102060"][b]10[/b][/color] Installation finished, reboot required, but supressed via commandline[/quote]

Kind regards,
Antonis Kaladis
AutoPatcher Project Manager
[url="http://www.autopatcher.com"]www.autopatcher.com[/url] Edited by theblazingangel

Share this post


Link to post
Share on other sites

Posted

How i need to create the answer.ini files?
Please send me a mail with a reply.
Eddie

Share this post


Link to post
Share on other sites

Posted

[quote name='eddie79it' date='Oct 9 2005, 15:56']How i need to create the answer.ini files?
Please send me a mail with a reply.
Eddie
[right][snapback]586647099[/snapback][/right]
[/quote]
Maybe you should read:

[b]Saving your selections
This shouldn't be hard to do; all you need to do is hold down the Shift key on your keyboard and move your mouse over the "Module Details" button. The button caption will change to "Save as defaults". Press it (while still holding Shift) and you will be asked for a location to save defaults. Once this is done, you can close AutoPatcher. Your selections were exported to an 'answer-file'.[/b]

Share this post


Link to post
Share on other sites

Posted

Is it possible to switch off AP hotfix backups from the command line??
I know this is not healthy, but I have 16 laptops to upgrade, with very little disk space left. What can I say, I'm prepared to risk it :)

Share this post


Link to post
Share on other sites

Posted

^ no i dont think it is at the moment.

the only things that use it are the ms updates. the best thing to do right now is put together a quick batch file to delete the backup directories after using ap

Share this post


Link to post
Share on other sites

Posted

[quote name='TheBlazingAngel' post='586942659' date='Dec 19 2005, 17:21']
^ no i dont think it is at the moment.

the only things that use it are the ms updates. the best thing to do right now is put together a quick batch file to delete the backup directories after using ap
[/quote]

Thank you for your prompt reply, that sounds like a good plan.

Happy Christmas,
KR

Share this post


Link to post
Share on other sites

Posted

[quote name='M2Ys4U' post='586647117' date='Oct 9 2005, 16:58']

...... "Module Details" button. The button caption will change to "Save as defaults"......
[/quote]


Maybe it is a small bug but this button is blank.... I check this in polish and english autopatcher and in: AutoPatcher Translation Packs

Share this post


Link to post
Share on other sites

Posted

[quote name='Marcin.Riki' post='586948099' date='Dec 20 2005, 20:33']
Maybe it is a small bug but this button is blank.... I check this in polish and english autopatcher and in: AutoPatcher Translation Packs
[/quote]

If it's "blank" then take a look at the .lng file Marcin! Here on the Dutch version is not "blank", you can select to save the selections...... :whistle:

Share this post


Link to post
Share on other sites

Posted

[quote name='DaFlapDrol' post='586951160' date='Dec 21 2005, 11:17']
If it's "blank" then take a look at the .lng file Marcin! Here on the Dutch version is not "blank", you can select to save the selections...... :whistle:
[/quote]


oh, no !
It is My bug
Added :
MainSaveDefaults=Save as defaults
and works fine

THX

Share this post


Link to post
Share on other sites

Posted

[quote name='Marcin.Riki' post='586952565' date='Dec 21 2005, 19:16']
oh, no !
It is My bug
Added :
MainSaveDefaults=Save as defaults
and works fine

THX
[/quote]

HOHOHO


MERRY X-MAS

Share this post


Link to post
Share on other sites

Posted

[quote name='DaFlapDrol' post='586955383' date='Dec 22 2005, 08:14']
HOHOHO
MERRY X-MAS
[/quote]
:laugh:

Share this post


Link to post
Share on other sites

Posted

[quote] /unattend /noeula /nochecks /nonags /nobackup /nolog /noreboot /screenlog /ignorelogs /forcelogs (prior presets) [/quote]

Switches by thuun

[url="http://www.neowin.net/forum/index.php?showtopic=421176"]forum topic[/url]

Share this post


Link to post
Share on other sites

Posted

I just started using this program. It looks very nice. I was curious as to where we can put the command line arguments? Any help will be appreciated.

Thanks!

Share this post


Link to post
Share on other sites

Posted

@bust3r

1) in a shortcut's target path field, insert them at the end after the path, (with a space to seperate them)
2) start > run, enter the path to autopatcher.exe and add them after it as above
3) use raptors 'Argument Runner' standalone module, which will allow you to right click on a program, select 'run with arguments', and enter them into the box.

Share this post


Link to post
Share on other sites

Posted

I'm pretty set on the use of the command line argurements to 'run' Autopatcher, but are there any command line arguments for the Autopatcher Installer? I can't seem to find any specifics for the Actual Autopatcher installer, and I'd rather not have to repackage the whole installation if not necessary.

Share this post


Link to post
Share on other sites

Posted

^ its an NSIS installer so their switches apply

Share this post


Link to post
Share on other sites

Posted

[quote name='Angelico_Payne' post='587074314' date='Jan 16 2006, 22:36']

/unattend /noeula /nochecks /nonags /nobackup /nolog /noreboot /screenlog /ignorelogs /forcelogs (prior presets)

Switches by thuun


[url="http://www.neowin.net/forum/index.php?showtopic=421176"]forum topic[/url]
[/quote]

Do these work...?

Acctualy I'm intrested in /nobackup switch ,since I remember having a conversation with FlapDaFrol who specificly said that the install without backups is not supported.

Blaze?

Share this post


Link to post
Share on other sites

Posted

^ ive never actually tried any of the command switches myself appart from /noeula

the 'switches by thuun' i believe may be back from ap 4.x or earlier because raptor hasnt listed many of them in this thread himslef.

if youve got a problem or question about the switches youd probably do best to ask raptor.

Share this post


Link to post
Share on other sites

Posted

Is there anyway to stop autopatcher stealing focus each time a new update is installed? ie can it be forced to stay minimised in the tray while it does its thing?

Share this post


Link to post
Share on other sites

Posted

I have tried to use the answer.ini file to automate the installation of Autopatcher. Autopatcher is a great product but I have had mixed results while using the answer file. The answer file certaintly automates the install of the hotfixes for Windows XP but it did not work correctly for me. For example, I tell it "not" to install Windows 7.5 messager and yet it does? Does the answer.ini file need to be edited once it is saved to the hard drive? Does the order of each command make a difference?

Any help would be appreciated.

Wiz



[quote name='nw_raptor' post='585504346' date='Feb 20 2005, 16:07']
[attachment=144558:attachment]
[color="#145AA0"]
This thread will contain information which applies to all AutoPatcher releases.

[size=4][color="green"][b]AutoPatcher Legend[/b][/size][/color]
In AutoPatcher, some items appear with special formatting. The color legend below will help you understand what the formatting means.
[size=4][color="green"][b]Commandline Arguments (a.k.a. Switches)[/b][/size][/color]
You may use the following commandline arguments (a.k.a. switches) to control AutoPatcher's behavior.
[size=4][color="green"][b]Saving Custom Selections[/b][/size][/color]
Kind regards,
Antonis Kaladis
AutoPatcher Project Manager
[url="http://www.autopatcher.com"]www.autopatcher.com[/url]
[/color]
[/quote]

Share this post


Link to post
Share on other sites

Posted (edited)

This tool is great. The silent options look like they could be used to run a full update from a central place. I tried this:

I downloaded the April 2003 full editition and manually ran it on a machine (awsome very nice).
I ran it again and generated a silent install ini (hold shift down like in the instructions). The auto ini included all critical patches and some options. The ini looks nice and logical in notepad.

I created a batch file with this command

"\\server\path\AutoPatcher_2003_Apr2006_Full.exe" /unattend:t2 /noeula /noreboot /defaults:\\server\path\\2k3Defaults.ini

When I run that though I get the end user agreement and then normal manual options.

So I look again and perhaps these options are not for the full install but the AutoPatcher.exe file installed under c:\program files\Autopatcher 2k3\autopatcher.exe.

So to autopatch new machines do I need to patch to that EXE on a machine where it was manually installed?
Can I copy that whole directory from program files to a net share and use it from there?

I dont see a manual for autopatcher (am I missing something) just links to the newsgroups which are not so set by step? I see the website is coming and then no doubt more instructions. I figure other must be doing what I want to do and could use a reply to this like me.

If I get it all sorted I am happy to write a step by step. Excellent tool and extendable for other packages which is awsome.

IronPaw

[i]removed large excess space at the bottom of your post - theblazingangel[/i] Edited by theblazingangel

Share this post


Link to post
Share on other sites

Posted

@Ironpaw

the switches are for autopatcher.exe not the installer. the installer simply unpacks the autopatcher release, you then run autopatcher to install the updates.

after extracting the release(s) you can copy the contents of the folder you extracted it to directly to a cd/dvd/flash-drive/portable-hard-drive/network-share/etc
note, dont bother copying uninstall.exe!

im not clear on what you meant here:
[quote]So to autopatch new machines do I need to patch to that EXE on a machine where it was manually installed?[/quote]
did you mean 'what happens if a machine already has some patches installed'?
did you mean 'what should you do if a machine already has a copy of autopatcher installed'?
did you mean something completely different?
please elaborate.

Share this post


Link to post
Share on other sites

Posted

[quote name='nw_raptor' post='585504346' date='Feb 20 2005, 12:07']
[attachment=144558:attachment]
[color="#145AA0"]
This thread will contain information which applies to all AutoPatcher releases.

[size=4][color="green"][b]AutoPatcher Legend[/b][/size][/color]
In AutoPatcher, some items appear with special formatting. The color legend below will help you understand what the formatting means.
[size=4][color="green"][b]Commandline Arguments (a.k.a. Switches)[/b][/size][/color]
You may use the following commandline arguments (a.k.a. switches) to control AutoPatcher's behavior.
[size=4][color="green"][b]Saving Custom Selections[/b][/size][/color]
Kind regards,
Antonis Kaladis
AutoPatcher Project Manager
[url="http://www.autopatcher.com"]www.autopatcher.com[/url]
[/color]
[/quote]

theblazingangel Mar 24 2006, 15:49 Post #18

AutoPatcher Team Member

Group: Registered
Posts: 1,211
Joined: 25-March 04
From: UK
Member No.: 51,082


^ ive never actually tried any of the command switches myself appart from /noeula

the 'switches by thuun' i believe may be back from ap 4.x or earlier because raptor hasnt listed many of them in this thread himslef.

if youve got a problem or question about the switches youd probably do best to ask raptor.



Raptor.
Could you please put together an up-to-date list of the switches that work with AP and examples of their actual usage??

Reading thru the forum it becomes VERY confusing a to what switches work and how to format them!

Thnx a lot.
Cutie_pyie

Share this post


Link to post
Share on other sites

Posted

I think it would be good to recreate first post with up to date listing of swiches, and to delete all the other posts... cause it becomes a little confusing reading trough it all

Share this post


Link to post
Share on other sites

Posted

[quote name='Ironpaw' post='587616341' date='Jun 18 2006, 01:53']
....... do I need to patch to that EXE on a machine where it was manually installed?
[/quote]

Sounds like IronPaw is attempting to run AutoPatcher across a network share.... haven't tried this myself, my thinking AutoPatcher looks at local install status only... that is unless %system% folder variable can somehow be changed/redirected...

but adding the 'path' to the AutoPatcher executable located in a share on a mapped network drive is what i think is being asked...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.