May 27, 200422 yr 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 InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Installing Lavasoft Ad-Aware 6 Build 181ECHO Please wait...start /wait %systemdrive%\install\Applications\AdAware\aaw6.exe /sECHO.ECHO Installing Kazza Lite K-plus-plus 2.43ECHO Please wait...start /wait %systemdrive%\install\Applications\KazaaLite\klitekpp243e.exe /silentECHO.ECHO Installing MSN Messenger 6.0.0602 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing WinRAR 3.00ECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar300.exe /sECHO.ECHO Installing Q817787 for Windows Media Player 8start /wait %systemdrive%\install\hotfixes\Q817787.EXE /Q:A /R:NECHO.ECHO Installing Q832483 Buffer overrun in an MDAC function could allow code executionstart /wait %systemdrive%\install\hotfixes\Q832483.EXE /C:"dahotfix.exe /q /n" /qECHO.ECHO Installing Q817778 Advanced Networking Packstart /wait %systemdrive%\install\hotfixes\Q817778.exe /Q /O /N /ZECHO.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%\DriversRD /S /Q %systemdrive%\installEXITwhen it goes to install msn it screws up. but everything else installs fine. any ideas what the problem is?Thanks for your time. Ashlin.
May 27, 200422 yr you need to start call the MSI by specifying MSIEXEC first at the beginning of the line.ie: msiexec /i "install.msi /QB"HTHPaul
May 27, 200422 yr Author found the problem, idiocy on my part.. didn't have the msn installation file in the correct spot. Thanks for the help anyway Paule.
May 27, 200422 yr you need to start call the MSI by specifying MSIEXEC first at the beginning of the line.ie: msiexec /i "install.msi /QB"HTHPaulThis 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