1to1 Posted February 22, 2005 Posted February 22, 2005 Frist of all I like to say thanks to all the people who help to make this website one of the best.secondly I am very newbie to unattened installtion.made answer file to install winxp and tried to make it to install some apps but I keep getting error saying something like,\software\winrar\ no foundbut when I check the cd all the apps there under the Software Directoryplease can someone shaw me any help would be much appreciatethis is my cmd file listing for info.thanks again CLS start.cmd@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:TITLE 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.ECHO Installing WinRAR 3.30ECHO Please wait...start /wait %CDROM%\Software\WinRAR3.3\wrar330.exe /sECHO.ECHO Installing dimageECHO Please wait...start /wait %CDROM%\Software\dimage\setup.exe /SECHO.ECHO Registering REGEDIT /S %CDROM%\Software\dimage\register.regECHO.ECHO Registering Nero Burning ROM...REGEDIT /S %CDROM%\Software\Nero\register.regECHO.ECHO Installing Nero Burning ROM v6.0.0.28 Ultra EditionECHO Please wait...start /wait %CDROM%\Software\nero6.0\nero.exe /silent /noreboot /no_ui /sn=1A23-1180-4038-4227-3743-8855 /write_snECHO.ECHO Installing DopusinstallECHO Please wait...start /wait %CDROM%\Software\directoryopus8\Dopusinstall.exe /sREGEDIT /S %CDROM%\Software\directoryopus8\register.regECHO.;ECHO Installing Sun Java VM 1.4.2;ECHO Please wait...;start /wait %CDROM%\Software\SunJava\j2re-1_4_2-windows-i586.exe /s /v/qn;ECHO.ECHO.ECHO Installing Adobe Reader 6.0.1ECHO Please wait...start /wait %CDROM%\Software\AdobeReader6.0.1\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""ECHO.;ECHO Installing Office 2003 Professional without Frontpage;ECHO Please wait...;start /wait %CDROM%\Software\Office\setup.exe /QB;ECHO.
Alanoll Posted February 22, 2005 Posted February 22, 2005 http://www.msfn.org/board/index.php?showto...ndpost&p=269823http://www.msfn.org/board/index.php?showto...ndpost&p=270687Read those.Now on to the problem...please also attach your WINNT.SIF and a screenshot of your directory structure, and if possible a screenshot of the error.
1to1 Posted February 22, 2005 Author Posted February 22, 2005 thanks a lots Alanollmy directory structure is d:\XPCD\$OEM$\$1\install\software\ and then all my apps go after the software dirand here is my winint.sif listing[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended]UnattendMode=FullUnattendedOemSkipEula=YesOemPreinstall=YesTargetPath=\WINDOWSFileSystem=*UnattendSwitch="yes"WaitForReboot="No"DriverSigningPolicy=IgnoreKeyboardLayout="United Kingdom"[GuiUnattended] AdminPassword=*EncryptedAdminPassword=NoOEMSkipRegional=1TimeZone=85OemSkipWelcome=1[userData] ProductID=xxxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="User" OrgName="plc" ComputerName=Computer1[TapiLocation] CountryCode=44 AreaCode=0151[RegionalSettings] LanguageGroup=13[identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[branding]BrandIEUsingUnattended=Yes[iEPopupBlocker] BlockPopups=NoFilterLevel=LowShowInformationBar=Yes[WindowsFirewall]Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall]Mode = 0[Components]msmsgs=offmsnexplr=off freecell=offhearts=offminesweeper=offpinball=offsolitaire=offspider=offzonegames=off[shell]DefaultStartPanelOff = YesDefaultThemesOff = Yes[GuiRunOnce]%systemdrive%\install\start.cmd
bart of borg Posted February 22, 2005 Posted February 22, 2005 d:\XPCD\$OEM$\$1\install\software\This path will tell windows to copy all your software to the hard drive. and your start.cmd is looking for all your software in the wrong place. you must put your software directory in the root of the CD for your start.cmd to work. Either change your directory location or change your commands to read :start /wait %systemdrive%\install\Software\whatever\whatever.exe
1to1 Posted February 22, 2005 Author Posted February 22, 2005 bart of borg thanks for reply this is d:\XPCD\$OEM$\$1\install\software\ on my D: drive before I burn it to the CD. The CD directory after burning is looks like this F:\$OEM$\$1\install\software\ her all my apps dirs.best regards.
Yzöwl Posted February 22, 2005 Posted February 22, 2005 As bart of borg stated already you have two options1. put your apps in D:\XPCD\Software\foldername\filename.ext /switches2. change start.cmd lines similar to this start "" /w %SystemDrive%\install\Software\foldername\filename.ext /switches
1to1 Posted February 23, 2005 Author Posted February 23, 2005 thanks everybody, I must be doing something wrong I am still having some problems.I have to read through the forum as I said before I am newbie to this.thanks again.
gunsmokingman Posted February 23, 2005 Posted February 23, 2005 Here Try This It For A RunOnceEx.cmdThis Runs From The CmdLines.txt 1 \ Save This As CmdLines.txt In XPCD\$OEM$[COMMANDS]"RunOnceEx.cmd"2 \ Save This As RunOnceEx.cmd In XPCD\$OEM$And XPCD\i3863 \ Make Sure You Have A Folder Called Apps XPCD\AppsEg %cdrom%\App\WinRAR 3.30\wrar330.exeMust Be Present Or Install Will Fail.cmdow @ /HID@echo offfor %%i in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist %%i\SETUP.exe set CDROM=%%iSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "The Install Section" /fREG ADD %KEY%\000 /VE /D "Preparing Installation..." /fREG ADD %KEY%\014 /VE /D "WinRAR 3.30" /fREG ADD %KEY%\014 /V 1 /D "%cdrom%\App\WinRAR 3.30\wrar330.exe /s" /fREG ADD %KEY%\016 /VE /D "Dimage" /fREG ADD %KEY%\016 /V 1 /D "%cdrom%\App\Dimage\setup.exe /S" /fREG ADD %KEY%\018 /VE /D "Dimage Register" /fREG ADD %KEY%\018 /V 1 /D "%cdrom%\App\Dimage Register\register.reg" /fREG ADD %KEY%\020 /VE /D "Registering Nero Burning ROM..." /fREG ADD %KEY%\020 /V 1 /D "%cdrom%\App\Registering Nero Burning ROM...\register.reg" /fREG ADD %KEY%\022 /VE /D "Nero Burning ROM v6.0.0.28 Ultra Edition" /fREG ADD %KEY%\022 /V 1 /D "%cdrom%\App\Nero Burning ROM v6.0.0.28 Ultra Edition\nero.exe /silent /noreboot /no_ui /sn=1A23-1180-4038-4227-3743-8855 /write_sn" /fREG ADD %KEY%\024 /VE /D "Directoryopus8" /fREG ADD %KEY%\024 /V 1 /D "%cdrom%\App\Directoryopus8\Dopusinstall.exe /s" /fREG ADD %KEY%\026 /VE /D "Directoryopus8 Register" /fREG ADD %KEY%\026 /V 1 /D "%cdrom%\App\Directoryopus8 Register\register.reg" /fREG ADD %KEY%\028 /VE /D "SunJava" /fREG ADD %KEY%\028 /V 1 /D "%cdrom%\App\SunJava\j2re-1_4_2-windows-i586.exe /s /v/qn" /fREG ADD %KEY%\030 /VE /D "Adobe Reader 6.0.1" /fREG ADD %KEY%\030 /V 1 /D "%cdrom%\App\Adobe Reader 6.0.1\AdbeRdr60_enu_full.exe -p -s /v\ /qn" /fREG ADD %KEY%\170 /VE /D "Preparing Final Clean up ..." /fREG ADD %KEY%\170 /VE /D "%cdrom%\App\Cleanup.exe" /f
1to1 Posted February 23, 2005 Author Posted February 23, 2005 thanks, gunsmokingman, Yzöwl, bart of borg and Alanoll. with your help I have got it working.thanks again,best regards.
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