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

    • App, useful & Teams shouldn't be used in the same sentence.
    • New Outlook for Windows and Web is getting a simple but very useful email feature by Sayan Sen Recently Microsoft put up a blog post highlighting not one, not two, but 15 total reasons why it feels you should switch to New Outlook already. If that was not enough, the company is bringing another new feature soon that could finally compel you to switch over to the new app. According to a recent update on the Microsoft 365 roadmap, the tech giant is making changes to how message sorting works when users choose criteria besides the traditional options of From, Subject, or Date Received. The idea is to provide better options for the attribute being used for sorting and make it easier to understand why messages appear in a particular order. For those unfamiliar Outlook already allows users to sort emails using a variety of fields including sender, category, importance, subject, and message size. Users can access these options through the Filter menu in Outlook for Windows and Outlook on the web. With the upcoming change, whenever users sort by a field other than From, Subject, or Date Received, Outlook will automatically display an additional column showing the value being used for the sort. For example, if messages are sorted by Size, a Size column will appear in the message list, allowing users to immediately see the data that determines the ordering of emails. Microsoft believes this should make sorting behavior simpler and reduce the need to manually adjust views or inspect individual messages. Support for sorting by Flag Due Date is also coming and should be especially be helpful for users who rely on email flags to manage follow-up tasks and deadlines. The feature is listed under Microsoft 365 Roadmap ID 564803 and is expected to reach general availability beginning later this month itself (June 2026). You can find the entry here. As always though, users should keep in mind that roadmap timelines can change and rollout schedules may occasionally be adjusted by Microsoft. Outlook for Web is also set to receive this feature.
    • That is true. but the liability side of my balance sheet is clean and has been for decades.  Nobody comes a knocking,  calling or writing harassing me for the money i owe them.😎👍  Haven't dealt with "a money changer" in decades and like Jesus it was in Jerusalem.  Don't have much money, but have even less stress in my life.👍👍     P.S.  Sorry, can't walk on water or change it to wine,  
    • Maybe ? DLSS Swapper (can swap the DLSS/FSR/XeSS versions) as long as the game (typically online/competitive) doesn't checks for file tampering. You can try different version(s) or update if not the current version of the FSR. https://github.com/beeradmoore/dlss-swapper
  • 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
      492
    2. 2
      PsYcHoKiLLa
      248
    3. 3
      Steven P.
      71
    4. 4
      +Edouard
      70
    5. 5
      ATLien_0
      68
  • Tell a friend

    Love Neowin? Tell a friend!