Jump to content

Recommended Posts

Posted

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 found

but when I check the cd all the apps there under the Software Directory

please can someone shaw me any help would be much appreciate

this is my cmd file listing for info.

thanks again

CLS start.cmd

@echo off

IF 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 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 WinRAR 3.30

ECHO Please wait...

start /wait %CDROM%\Software\WinRAR3.3\wrar330.exe /s

ECHO.

ECHO Installing dimage

ECHO Please wait...

start /wait %CDROM%\Software\dimage\setup.exe /S

ECHO.

ECHO Registering

REGEDIT /S %CDROM%\Software\dimage\register.reg

ECHO.

ECHO Registering Nero Burning ROM...

REGEDIT /S %CDROM%\Software\Nero\register.reg

ECHO.

ECHO Installing Nero Burning ROM v6.0.0.28 Ultra Edition

ECHO Please wait...

start /wait %CDROM%\Software\nero6.0\nero.exe /silent /noreboot /no_ui /sn=1A23-1180-4038-4227-3743-8855 /write_sn

ECHO.

ECHO Installing Dopusinstall

ECHO Please wait...

start /wait %CDROM%\Software\directoryopus8\Dopusinstall.exe /s

REGEDIT /S %CDROM%\Software\directoryopus8\register.reg

ECHO.

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

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


Posted

thanks a lots Alanoll

my directory structure is

d:\XPCD\$OEM$\$1\install\software\

and then all my apps go after the software dir

and here is my winint.sif listing

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

FileSystem=*

UnattendSwitch="yes"

WaitForReboot="No"

DriverSigningPolicy=Ignore

KeyboardLayout="United Kingdom"

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=No

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=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=No

FilterLevel=Low

ShowInformationBar=Yes

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

[Components]

msmsgs=off

msnexplr=off

freecell=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

zonegames=off

[shell]

DefaultStartPanelOff = Yes

DefaultThemesOff = Yes

[GuiRunOnce]

%systemdrive%\install\start.cmd

Posted
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

Posted

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.

Posted

As bart of borg stated already you have two options

  • 1. put your apps in D:\XPCD\Software\foldername\filename.ext /switches
    2. change start.cmd lines similar to this start "" /w %SystemDrive%\install\Software\foldername\filename.ext /switches

Posted

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.

Posted

Here Try This It For A RunOnceEx.cmd

This 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\i386

3 \ Make Sure You Have A Folder Called Apps

XPCD\Apps

Eg %cdrom%\App\WinRAR 3.30\wrar330.exe

Must Be Present Or Install Will Fail.

cmdow @ /HID
@echo off

for %%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=%%i

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "The Install Section" /f

REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\014  /VE /D "WinRAR 3.30" /f
REG ADD %KEY%\014  /V 1 /D "%cdrom%\App\WinRAR 3.30\wrar330.exe /s" /f

REG ADD %KEY%\016  /VE /D "Dimage" /f
REG ADD %KEY%\016  /V 1 /D "%cdrom%\App\Dimage\setup.exe /S" /f

REG ADD %KEY%\018  /VE /D "Dimage Register" /f
REG ADD %KEY%\018  /V 1 /D "%cdrom%\App\Dimage Register\register.reg" /f

REG ADD %KEY%\020  /VE /D "Registering Nero Burning ROM..." /f
REG ADD %KEY%\020  /V 1 /D "%cdrom%\App\Registering Nero Burning ROM...\register.reg" /f

REG ADD %KEY%\022  /VE /D "Nero Burning ROM v6.0.0.28 Ultra Edition" /f
REG 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" /f

REG ADD %KEY%\024  /VE /D "Directoryopus8" /f
REG ADD %KEY%\024  /V 1 /D "%cdrom%\App\Directoryopus8\Dopusinstall.exe /s" /f

REG ADD %KEY%\026  /VE /D "Directoryopus8 Register" /f
REG ADD %KEY%\026  /V 1 /D "%cdrom%\App\Directoryopus8 Register\register.reg" /f

REG ADD %KEY%\028  /VE /D "SunJava" /f
REG ADD %KEY%\028  /V 1 /D "%cdrom%\App\SunJava\j2re-1_4_2-windows-i586.exe /s /v/qn" /f

REG ADD %KEY%\030  /VE /D "Adobe Reader 6.0.1" /f
REG ADD %KEY%\030  /V 1 /D "%cdrom%\App\Adobe Reader 6.0.1\AdbeRdr60_enu_full.exe -p -s /v\ /qn" /f

REG ADD %KEY%\170 /VE /D "Preparing Final Clean up ..." /f
REG ADD %KEY%\170 /VE /D "%cdrom%\App\Cleanup.exe" /f

Posted

thanks,

gunsmokingman, Yzöwl, bart of borg and Alanoll.

with your help I have got it working.

thanks again,

best regards.

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