MSFN Forum: Please Help - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Please Help I can't get Applications to install ?! Rate Topic: -----

#1 User is offline   1to1 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 22-February 05

Posted 22 February 2005 - 10:14 AM

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.


#2 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 22 February 2005 - 10:17 AM

http://www.msfn.org/board/index.php?showto...ndpost&p=269823
http://www.msfn.org/board/index.php?showto...ndpost&p=270687

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

#3 User is offline   1to1 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 22-February 05

Posted 22 February 2005 - 10:54 AM

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

#4 User is offline   bart of borg 

  • Member
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 22-August 04

Posted 22 February 2005 - 11:18 AM

Quote

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

#5 User is offline   1to1 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 22-February 05

Posted 22 February 2005 - 03:09 PM

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.

#6 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 22 February 2005 - 03:54 PM

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


#7 User is offline   1to1 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 22-February 05

Posted 22 February 2005 - 06:58 PM

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.

#8 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,020
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 22 February 2005 - 07:32 PM

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


#9 User is offline   1to1 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 22-February 05

Posted 23 February 2005 - 09:27 AM

thanks,

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

with your help I have got it working.

thanks again,


best regards.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy