Jump to content

Recommended Posts

Posted

G'day everyone.

here is the .cmd i'm using for adding programs (same used for hotfixes),

CLS

@echo off

TITLE Windows XP SP1 - Unattended Installation

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO tweaks being implemented. The computer will restart automatically

ECHO once the whole process has finished!

ECHO.

ECHO Installing Lavasoft Ad-Aware 6 Build 181

ECHO Please wait...

start /wait %systemdrive%\install\Applications\AdAware\aaw6.exe /s

ECHO.

ECHO Installing Kazza Lite K-plus-plus 2.43

ECHO Please wait...

start /wait %systemdrive%\install\Applications\KazaaLite\klitekpp243e.exe /silent

ECHO.

ECHO Installing MSN Messenger 6.0.0602 Final

ECHO Please wait...

start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB

ECHO.

ECHO Installing WinRAR 3.00

ECHO Please wait...

start /wait %systemdrive%\install\Applications\WinRAR\wrar300.exe /s

ECHO.

ECHO Installing Q817787 for Windows Media Player 8

start /wait %systemdrive%\install\hotfixes\Q817787.EXE /Q:A /R:N

ECHO.

ECHO Installing Q832483 Buffer overrun in an MDAC function could allow code execution

start /wait %systemdrive%\install\hotfixes\Q832483.EXE /C:"dahotfix.exe /q /n" /q

ECHO.

ECHO Installing Q817778 Advanced Networking Pack

start /wait %systemdrive%\install\hotfixes\Q817778.exe /Q /O /N /Z

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.

ECHO Deleting Temp Installation Files...

RD /S /Q %systemdrive%\Drivers

RD /S /Q %systemdrive%\install

EXIT

when it goes to install msn it screws up. but everything else installs fine. any ideas what the problem is?

Thanks for your time.

Ashlin.


Posted

found the problem, idiocy on my part.. didn't have the msn installation file in the correct spot. Thanks for the help anyway Paule.

Posted
you need to start call the MSI by specifying MSIEXEC first at the beginning of the line.

ie: msiexec /i "install.msi /QB"

HTH

Paul

This is not needed. At least, it works fine for me without adding all this... (using RunOnceEx, before cmd)

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...