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

    • Most boring game ever. Repetitive, empty, predictable, and full of cliches. Total waste of time and money, IMO.
    • Mafia: The Old Country expansion Man of Honor announced, brings back Salieri from original by Pulasthi Ariyasinghe During Summer Game Fest, 2K and Hanger 13 brought out a new Mafia: The Old Country trailer, revealing the game's first expansion. Named Man of Honor, this is slated to add two new chapters to the Enzo storyline that the game follows. There is an iconic character returning to the series with this expansion, with players set to run into Ennio Salieri, the future Don of the Salieri crime family. Fans of the original Mafia, or its Definitive Edition remake, may remember that name as one of the biggest characters in the storyline. This expansion is set prior to his rise to being the kingpin in the City of Lost Heaven. "Set in Sicily during the winter of 1905, Enzo Favara has proven himself a reliable soldier of the Torrisi crime family in the months since his initiation," says the studio about the new chapters. "Now, the Don entrusts him and Cesare with a delicate assignment of assisting Ennio Salieri, a man of honor recently released from prison and intent on reclaiming what is his." Working at Salieri's side, players will be heading into fresh environments as they return to the role of Enzo as a high-ranking soldato. The studio also promises brand-new weapons, fresh vehicles, and charms to collect in this expansion. Moreover, the expansion will add new content to the updated Free Ride mode. Alongside new collectibles and locations, this will add more challenges to beat alongside Salieri, which are described as runs that will "test the skills of even the most elite mafiosi." The Mafia: The Old Country Man of Honor story expansion will release on August 14, 2026, across PC, Xbox Series X|S, and PlayStation 5. It will cost $10 for owners of the base game to jump into.
    • Try installing Logitech Options
    • Telltale returns with The Wolf Among Us, re-revealing the sequel and a new remaster by Pulasthi Ariyasinghe Telltale Games, the studio known for its episodic games from the 2000s, had a surprise appearance at the Summer Game Fest showcase today. The studio has gone through a collapse, an acquisition, and a revival but has largely gone silent in recent years. Today's sudden announcement was for the popular The Wolf Among Us series, with news about the sequel and a remaster dropping. Set after the events of the 2013-released title, the sequel will bring back Biby Wolf for a new adventure in Fabletown. This town of fairy tale characters is becoming unstable, with Snow White not being able to keep order as before. "When a brutal series of crimes threatens to fracture the fragile balance holding Fabletown together, Bigby Wolf, sheriff of Fabletown, finds himself drawn into a dangerous conspiracy that reaches deep into the city’s criminal underworld," says the studio. "As suspicion spreads across the city and powerful forces work against him, Bigby must uncover the truth and decide what kind of sheriff - and what kind of wolf - he is willing to become." At the same time, Telltale also announced The Wolf Among Us Remastered, bringing back the classic with a fresh coat of paint. This will include all five episodes from the original game plus over an hour of extra content that will offer behind-the-scenes videos, cast interviews, image galleries, and deleted scenes. The remaster will also have updated visuals and improved UI elements and accessibility features, alongside upgrades to the animations, audio, and frame rates. Telltale has been working on this project for almost a decade now, but if the new release schedule holds, fans will be able to jump into The Wolf Among Us 2 sometime in 2027. As for The Wolf Among Us Remastered, this is slated to release during this holiday season.
    • I use a Linux laptop every day. I have tried to switch to Linux on my gaming PC which has a 5070 ti. It was not a great experience
  • Recent Achievements

    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      488
    2. 2
      PsYcHoKiLLa
      270
    3. 3
      Skyfrog
      77
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      63
  • Tell a friend

    Love Neowin? Tell a friend!