Jump to content

Stream Lined Hotfix Code


Recommended Posts


@echo off
Echo Installing Switchless Applications
FOR /f %%f in ('dir/b/s %systemdrive%\Hotfixes\Switchless1\*.exe') DO Start /wait "" "%%f"
FOR /f %%f in ('dir/b/s %systemdrive%\Hotfixes\Switchless1\*.msi') DO Start /wait "" "%%f" /qn

Echo Installing Hotfixes
FOR /f %%f in ('dir/b/s %systemdrive%\Hotfixes\Type1\*.exe') DO Start /wait "" "%%f" /z /n /o /q
FOR /f %%f in ('dir/b/s %systemdrive%\Hotfixes\Type2\*.exe') DO Start /wait "" "%%f" /Q:A /R:N

Echo Installing Additional Switchless Applications
FOR /f %%f in ('dir/b/s %systemdrive%\Hotfixes\Switchless2\*.exe') DO Start /wait "" "%%f"

Start /wait "" "%systemdrive%\hotfixes\qchain.exe"

Link to comment
Share on other sites

so far using XPSP2, I have:

\Switchless1\
dotnetfx.EXE
dotnetfxsp1.EXE
MBSASetup-EN.msi
WMP10Silent.EXE

\Switchless2\
Flash7.EXE
MSJAVA1.EXE
MSJava2.EXE
Shockwave10.EXE

\Type2\
WM9Codecs.exe

I'm doing a 3 CD system... 1 XP, 2 Office, 3 Apps. So XP is only for XP OS related items

Link to comment
Share on other sites

BTW... I am thinking about adding some common applications this way as well. Packaged up in iexpress packages (or 7zip or rared exe or whatever) like acrobat, winzip (or 7zip), daemon tools, etc.

I suppose the requirements would be apps that could install at the 'Switchless2' phase from cmdlines.txt

or would it be best from runonce or from a seperate CD.

I suppose in a perfect world, MSFN could host all these freeware/shareware repackaged switchless/silent installers (assuming they have infinite storage and bandwidth)... or would it be best to write scripts that would create the package for you and then just host the scripts. Iexpress is scriptable...

Link to comment
Share on other sites

bitmonster (I think) wrote a script for creating an integrated .NET SP1 installer. I suppose I could probably modify that for Acrobat Reader (though the version I made has a lot of modifications to the actual MSI file which can't be scripted, likewise for MSXML).

EDIT: On the other hand, I have 20GB/month of bandwidth from my host, and I've only ever even broken 8GB once since I got the account last May. If someone needs a host, I can probably help out. They only real problem is that I only have 100MB of storage space.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...