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

    • No, "a great deal" for 32GB of DDR5 is $50, not $350. I mean I see what you mean, that it's a decent price compared to what's currently available, but you really should put a disclaimer in this articles explaining that it's still multiple times more expensive than it used to be.
    • Linux 7.1 stable launch looms as Linus Torvalds releases the final release candidate by Paul Hill Linus Torvalds has just released what’s expected to be the final release candidate of Linux 7.1, rc7. The Linux founder said that this RC is not small, but smaller than recent releases, which is a good sign because he expects the stable version to drop next week if things continue on this trajectory. Linux kernels see a merge window for the first two weeks of their life, where developers add new features, then there are about seven or eight weeks of release candidates before the stable version. Typically, there are seven release candidates, but if more time is needed, then an eighth release candidate is released too. This week’s RC’s biggest area of fixes was for GPUs, with networking just behind. Torvalds said that the rest of the release was “pretty random and spread out” with some architecture fixes, driver fixes, filesystem improvements, and build fixes for more unusual configs. In terms of specific pieces of hardware receiving improvements in this update, we had more AMD Zen6 models supported and fixes for AMD SDMA 7.1 and GFX11. Hardware that got improvements includes Lenovo laptops, HONOR laptops, and MSI laptops. Here are the changelogs for those: ASoC: amd: acp: Add DMI quirk for Lenovo Yoga Pro 7 15ASH11 Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK) Input: atkbd - skip deactivate for HONOR BCC-N's internal keyboard ASoC: amd: yc: Add MSI Raider A18 HX A9WJG to quirk table ASoC: amd: yc: Enable internal mic on MSI Bravo 17 C7VF When the stable Linux 7.1 is released, it will be up to distribution maintainers, such as Canonical and Red Hat, to release the update to their users via the update manager. Some versions of Linux will get it before others, and some will never get it at all. Fedora and Arch-based distros will be among the first to get it, though. If you don’t get it, the security fixes will be backported to your system’s kernel, so you won’t be at risk, but you won’t get newer hardware support, which is fine if your computer works now.
    • Ideally, the algorithm is smart enough to see the real sender ID and non-spoofed address to block it. Ideally.
  • 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
      249
    3. 3
      Steven P.
      71
    4. 4
      ATLien_0
      68
    5. 5
      +Edouard
      68
  • Tell a friend

    Love Neowin? Tell a friend!