OliverMaltby Posted January 21, 2005 Posted January 21, 2005 I've been using nLite and have successfully slipstreamed service pack 2 over my 2002 copy of Windows XP, however I don't seem to be as successful when trying to do the same with various apps. I've created all the necessary folders (e.g. $OEM$) which I got the info from http://unattended.msfn.org/xp/gettingstarted.htm and followed the various guides on the site to try and silent install apps when Windows is installing although this isn't working as I'm only getting copies of the files on my HD when Windows has been fully installed (e.g. C:\Install\MSN\bootstrap.exe and MsnMsgs.msi). My batch file is called "cmdlines.cmd" and contains the following text:CLS@echo offTITLE Windows XP SP2 - 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 Installing .NET Framework v1.1ECHO Please wait...start /wait %systemdrive%\install\NetFramework\netfx.msi /qbECHO.ECHO Installing MSN Messenger 6.0.0602 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing Windows Media Player 10ECHO Please wait...start /wait %systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"ECHO.ECHO Installing WinRAR 3.42ECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar342.exe /sECHO.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%\installEXITI'd assume my batch file is at fault but can't seem to work out where I've gone wrong, if someone could help it would be much appreciated.Thanks - Oliver.
SwedenXP Posted January 21, 2005 Posted January 21, 2005 Could it be a matter of "ECHO" ´s Here is a piece of my main_batch.cmdCLS@echo offECHO.ECHO Installing IrfanView 3.95ECHO Please wait...start /wait %systemdrive%\Install\IrfanView\Iview395.exe /silent /folder="c:\program\irfanview" /desktop=0 /group=1 /allusers=0 /assoc=1ECHO.ECHO Installing IrfanView PluginsECHO Please wait...start /wait %systemdrive%\Install\IrfanView\plugins395.exe /silentECHO.ECHO Installing WinRAR 3.42ECHO Please wait...start /wait %systemdrive%\install\WinRAR\winrar342.exe /sECHO.EXITAnd the main_batch.cmd is called from the winnt.sif like this[GUIRunOnce] %systemdrive%\Install\main_batch.cmd/ SwedenXP B)
Sunil Posted January 21, 2005 Posted January 21, 2005 Do you actually call the cmd file, in the winnt.sif script?Maybe you can post it for us to check, make sure you take your product key out. Sunil
jrf2027 Posted January 21, 2005 Posted January 21, 2005 It looks like your install files are getting copied correctly, just that the install processes are not running.Please post your winnt.sif (MINUS THE PRODUCT KEY!!!!), so that we can see from where your cmdlines.cmd file is being called. Are you calling it from your winnt.sif? If so, make sure you have the path to cmdlines.cmd correct (i.e. C:\Install\cmdlines.cmd )
OliverMaltby Posted January 21, 2005 Author Posted January 21, 2005 Do you actually call the cmd file, in the winnt.sif script?I've never touched nor heard of the winnit.sif script so I'd assume not. Could you tell me the location of the file and how I could "call the cmd file"?Thanks - Oliver.
SwedenXP Posted January 21, 2005 Posted January 21, 2005 This is the greatest guides of all.Please read it.http://unattended.msfn.org// SwedenXP B)And this forum of course!
Sunil Posted January 21, 2005 Posted January 21, 2005 Do you actually call the cmd file, in the winnt.sif script?I've never touched nor heard of the winnit.sif script so I'd assume not. Could you tell me the location of the file and how I could "call the cmd file"?Thanks - Oliver. soooo, we have gotten somewhere. Ok, for an unattended install you must have a winnt.sif script on the cd, for windows to install....The winnt.sif file is located in the i386 folder of your windows cd.You can then call the cmd file from that script.. below is teh code.[Guirunonce]%systemdrive%\install\batch.cmd <-- you should have placed your cmd file hereyou can refer to the msfn unattended site for info.
OliverMaltby Posted January 21, 2005 Author Posted January 21, 2005 Thanks for all your help, I've edited the Winnit.sif file and will try to see if it works tonight. I'll post tomorrow about my success - Oliver.
OliverMaltby Posted January 22, 2005 Author Posted January 22, 2005 Ok, I've managed to get it working (thanks to all of you). Now I just have to try and figure out how to get the process to work with aol
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now