Unofficial Batch File & Program Switches Thread


Recommended Posts

Is there any way to get the batch script + updates/progs from a server instead of the cd ?? and then run it ??

EDIT

would the batch/updates/progs run from Remote Installation Services (RIS) on 2000 server ????

Edited by TranceSphere

@highreach I am going to write up all of the ones I can think of and find in the next couple of days and post them.

@nartac "%AutoPatcherXP_Dir%\CustomProgFiles\MusicMatch.exe" /s (I can't figure out how to bypass the User registration screen during installation, even tried modifying the setup.iss file, so if you don't mind interaction then there you go.)

Aha! I was right! I should get a bonus point for that. Anywho, yes theteek... we will very soon have a locked thread that will just have additions to new switches for silently installing programs. I know for a fact that Kelsenellenelvian has most of those switches you need so just wait a little bit and I'm sure he'll post them. (Y)

Here are a few Kelsenellenelvian sent me the other day:

Kazaa Codec Pack = "%AutoPatcherXP_Dir%\CustomProgFiles\kcodec210.exe" /silent

Kazaa Lite = "%AutoPatcherXP_Dir%\CustomProgFiles\klite243.exe" /silent

Magic Tweak = "%AutoPatcherXP_Dir%\CustomProgFiles\MT270.exe" /silent

Nero 6 = "%AutoPatcherXP_Dir%\CustomProgFiles\nero60023.exe" /silent /noreboot

Power Pro = "%AutoPatcherXP_Dir%\CustomProgFiles\PowerPro.exe" /VerySilent

Shockwave = "%AutoPatcherXP_Dir%\CustomProgFiles\Shockwave.exe" /s

Windows Media Bonus Pack = "%AutoPatcherXP_Dir%\CustomProgFiles\WMP9Bonus.exe" /q

Only as a matter of interest, I have just put together an Auto Updater for my DOS F-Prot antivirus, which also has a reg hack to make it scan-on -demand!

Updater involves PKUNZIP, remote DOS ancestor of WinZip.

Could be used for other apps, I suppose, the instructions are here

http://www.geocities.com/uzipaz/eng/f-prot.html

but some tweaking of code is required for your individual install.

hey guys, some nice work you're doing here, keep it up!! :)

Here's another suggestion for the list, SpywareBlaster from www.javacoolsoftware.com

spywareblastersetup.exe /verysilent

and in case of "Missing MSCOMCTL.OCX" message after starting prog, this one (also on that page): missingfilesetup.exe /verysilent

(or just install it anyway in case you want to make sure it'll work.. I've only ever used it on some W98 installs though)

takes me almost a year for my first post, lol :p

cheers,

phaelox

BTW: In the Unattended.sf.net list I posted, under Inno Setup it says to use /SILENT for it's installers. This will still display a progress box. To make it fully silent for AutoPatcher use "/VERYSILENT /NOREBOOT /SP-" (no quotes). Also, to save install parameters to a file use "/SAVEINF=filename" (no quotes, replace filename with the destination). Then copy the output to the AP folder along with the setup and use "/LOADINF=filename" (no quotes, replace filename with the previously saved config file).

To eliminate the Language box append to your Inno Setup command line "/LANG=language". language may vary depending on the setup. Try running the setup with a DOS box with these values for language (for English):

/LANG=English

/LANG=1033

/LANG=en

/LANG=EN

/LANG=enu

/LANG=ENU

/LANG=eng

/LANG=ENG

/LANG=enus

/LANG=ENUS

Try using English with /LANG first. Only add /LANG if it asks for a language. If there isn't more than one language the language box isn't displayed anyway. If you have an incorrect parameter for /LANG it just won't suppress the Language box.

The parts of the command line:

/VERYSILENT: Install silently, except for the startup prompt (if DisableStartupPrompt wasn't specified, it was made default in v3 and later) and language box.

/NOREBOOT: Disables reboot no matter what.

/SP-: Disables the startup prompt (see /VERYSILENT)

/LANG: Specifies the language.

There are more, download Inno Setup at http://www.innosetup.com and look at Other Information\Setup Command Line Parameters in the help file.

If the setup is a 7-zip SFX (ISTool, a popular Inno Setup script editor, has a feature to autogenerate 7-zip SFX archives of setup programs, so 7-zip SFX archives of setup programs are common), run it then go to the temp folder (on Windows XP "C:\Documents and Settings\username\Local Settings\Temp" [no quotes, replace username with your username]), find a folder named 7zrandom-letters-and-numbers and copy the files (usually 3) to your AP folder. You will be able to use the standard Inno Setup switches.

Inno Setup setup programs are most easily identifiable by clicking the icon in the top-left corner of the window. If "About Setup..." is there Inno Setup created it.

NSIS modern installers always have the NSIS version in the bottom-left corner, unless the source code was modified to remove it.

Edited by memodude
  • 2 weeks later...
@FlishFun: Why don't you merge this thread with the pinned AP Switches thread?

Hmmm... who put this back down here? I guess Raptor must have... hmmm... well, I'm not gonna merge it, but I am gonna clear the titles up... the switches thread originally was just for switches used on the AutoPatcher executable.

Great thread.. For those with Nero registered..

You can use this line without the need for importing a reg file with your registration information.

"%AutoPatcherXP_Dir%\CustomProgFiles\nero6300.exe /SN=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX /WRITE_SN /SILENT /NOREBOOT /NO_UI

Replace the XXXX-'s with your serial #.

Also, someone mentioned about wanting a way to kill winamp after its been installed.. you can do it this way..

start /wait "%AutoPatcherXP_Dir%\CustomProgFiles\winamp291_full.exe" /S

taskkill /F /IM winamp

Same can be done with QCD..

start /wait "%AutoPatcherXP_Dir%\CustomProgFiles\qcd411.exe" /S

taskkill /F /IM QCDPlayer

Program: Microsoft Windows Media Player

Version: 9

Home: http://www.microsoft.com/windows/windowsme...ies/player.aspx

Command line: wmp9.exe /Q:A /R:N

Setup program: ?

:) Actually, that's incorrect- this covers these (and points to the MS doc here ).

The net net is that the WMP installer doesn't acknowledge:

WMPPackage.exe /R:N

, as /R:N can't be used into an IExpress install package that way. Instead the correct syntax would be:

WMPPackage.exe /C:"install.exe /R:N"

, but it's more in depth than that, and the above docs cover it.

For the typical purpose,

WMPPackage.exe /Q:A /C:"setup_wm.exe /R:N /P:#e /Q"

should work fine.

"%AutoPatcherXP_Dir%\ProgFiles\MPSetupXP.exe" /Q:A /R:N

HEY "Actually" This is the switch that is used with AutoPatcher and thousands of people have yet to have a prob with it.

They're getting lucky then. :\ That command line does *not* suppress the reboot, so if a reboot is required, it's going to reboot right in the middle of whatever you're doing. Not cool.

I'd highly recommend this gets fixed. It's subtle enough that maybe you wouldn't figure out why it was rebooting, but it's still not a good thing.

You can verify yourself if you're wary - just run WMP, and run mpsetupxp.exe /Q:A /R:N. You'll get a shutdown request. And if you have data open in a program that doesn't alert you to save... goodbye data. It's really not a good idea to leave AutoPatcher like that. :\

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft making much needed change to Windows 11, 10 Patch Tuesday security updates by Sayan Sen Recently, Microsoft delivered its latest Defender patches for Windows 11 ISOs. These definitions are released from time to time alongside the general security updates available during Patch Tuesday. Speaking of Defender, the company has now announced another important change that affects how security updates are delivered to enterprise devices running Windows. According to a recent announcement, Microsoft Defender for Endpoint's endpoint detection and response (EDR) updates will no longer be bundled with the monthly Windows security updates or Patch Tuesdays. Instead the company is shifting delivery of these updates to Microsoft Update, bringing EDR servicing in line with several other Microsoft Defender components. If you recall, Microsoft last year moved PowerShell updates to Microsoft Update (MU) as well since it provides automatic updates for Microsoft products and services. Thus the move is intended to allow Microsoft to deliver EDR improvements and security enhancements independently of the OS's regular monthly update cycle; this should enable faster deployment of protection updates without requiring organizations to wait for the next Patch release. For those unfamiliar, Microsoft Defender for Endpoint's EDR capabilities are designed to help organizations detect, investigate, and respond to advanced threats across managed devices. Keeping these components updated is critical for maintaining protection against evolving attack techniques. The rollout has already began for Windows 10 devices in late May 2026 (last month) and Microsoft says it will gradually expand support to Windows 11 and the remaining supported Windows versions over the coming months. The company expects deployment across Windows 10 and Windows 11 to be completed by fall 2026 or around Q3 of this year. Once the transition is complete, EDR updates will be delivered through Microsoft Update using KB5005292, provided the required prerequisite updates have already been installed. Microsoft is also introducing a new Defender Update Service as part of the change. Following installation of the first update, devices will automatically create a new directory located at %ProgramData%\Microsoft\Microsoft Defender\Defender Update. Microsoft notes that restarts may occasionally be necessary in case of "rare" failure scenarios. For most organizations, the tech giant says no action will be required as long as Microsoft Update is already permitted within their update management strategy. Admins who rely on manually deployed update packages, however, will need to adjust their processes to ensure the new Defender update package is included. Microsoft also recommends reviewing internal documentation and notifying helpdesk and security operations teams about the updated delivery mechanism to avoid confusion during the transition. As a prerequisite, the tech giant notes that systems must be running Sense version 10.8798.25857.1000 or later and have one of the following Windows updates (or later) installed: Win11 24H2 KB5062660 (2025-07 Cumulative Update Preview) Win11 23H2 KB5062663 (2025-07 Cumulative Update Preview) Win11 22H2 KB5062663 (2025-07 Cumulative Update Preview) Win10 22H2 KB5062649 (2025-07 Cumulative Update Preview) Win10 1809 KB5063877 (2025-08 Cumulative Update) Server 2019 KB5063877 (2025-08 Cumulative Update) Server 2022 KB5063880 (2025-08 Cumulative Update) Server 2025 KB5063878 (2025-08 Cumulative Update) As always, organizations should verify that their update policies align with the new servicing approach before the broader rollout reaches all supported Windows platforms later this year. In case of major problems, the EDR update can be rolled back to the inbox version stored in %ProgramFiles%\\Windows Defender Advanced Threat Protection (ATP) using: MpCmdRun.exe -RevertMde -Product Edr -ToVersion Inbox For those who have access to the Microsoft 365 Admin Center portal, you can view the message here under ID MC1381119.
    • My problem with these smart scopes is that IMO they're not really an entrance into astronomy, they're an entrance to looking at pretty(ish) pictures that you take by essentially pressing a button and letting the scope do the work. I still maintain that getting some binoculars or a solid dedicated telescope (which doesn't have to mean expensive) and actually spending time learning the night sky and using a telescope is a much better way to actually learn. But, granted, the learning curve is a bit steeper (as it tends to be).
    • I never played Crazy Taxi before, but this looks like a fun game!
    • The perception of Microsoft Edge is unfortunate as it's a world class browser. I'm not exaggerating when I say it's the best browser I've ever used with its feature set, speed, reliability and advanced security. Running the extension Ublock Origin is a must though to deal with advertising and trackers.
    • You can check out our latest 9070 GRE review with scores for the XT too, but these are on Windows: Gaming performance Productivity performance
  • Recent Achievements

    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      493
    2. 2
      PsYcHoKiLLa
      248
    3. 3
      Steven P.
      73
    4. 4
      +Edouard
      69
    5. 5
      neufuse
      68
  • Tell a friend

    Love Neowin? Tell a friend!