Jump to content

Recommended Posts

Posted

Hi, my unattended settings will work but the start.cmd does not. It is in the $OEM$ folder, the OEM folder is in the root of the CD. Here is the contents of sif and cmd

start.cmd:

CLS
@echo off
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 Adobe Reader 8
ECHO Please wait...
start /wait %SYSTEMDRIVE%\Install\AdbeRdr80_en_US.exe /sAll
ECHO.Done

ECHO.
ECHO Installing ThunderBird
ECHO Please wait...
start /wait %SYSTEMDRIVE%\Install\Thunderbird -ms -ira
ECHO.Done

start /wait msiexec /qn /i %SYSTEMDRIVE%\Install\oof\openofficeorg20.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=gm_Root,gm_r_Files_2,gm_r_Files_3,gm_r_Files_4,gm_r_Files_5,gm_r_Files_6,gm_r_Files_7,gm_r_
Files_8,gm_r_Files_9,gm_r_Fonts_OOo_Hidden,gm_p_Wrt_Bin,gm_p_Wrt_Help,gm_p_Calc_Bin,gm_p_Calc_Help,g
m_p_Calc_Addins,gm_p_Impress_Bin,gm_p_Impress_Help,gm_o_Oo_English,gm_o_Winexplorerext

ECHO.Delete Desktop Shortcut - Adobe Acrobat 8
DEL "%ALLUSERSPROFILE%\Desktop\Adobe Reader 8.lnk"

ECHO.
ECHO Restarting the PC in 1 minute...
shutdown.exe -r -f -t 180 -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%\Drivers
RD /S /Q %systemdrive%\install

EXIT

winnt.sif

;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword="xxxxx"
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone = 035
OemSkipWelcome=0

[UserData]
ProductKey=xxxxxxx
FullName="Mary T"
OrgName="Interiors by J&M"
ComputerName=JM1

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes


Posted (edited)

well, I guess I will be usiong GuiRunOnce... but i am confused with the swtiches...

how is this so far?

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%05 /VE /D "Acrobat Reader 8.0" /f
REG ADD %KEY%05 /V 1 /D "%PP%AdbeRdr80_enu_full.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%10 /VE /D "Now installing Thunderbird" /f
REG ADD %KEY%10 /V 1 /D "%SYSTEMDRIVE%\Install\Thunderbird /ms /ira\" /f

Exit

Edited by cullend11
Posted

in your winnt.sif file in your first attempt using GuiRunOnce, you don't have the [GuiRunOnce] section. Which should contain a line to run START.CMD, see http://unattended.msfn.org/unattended.xp/view/web/81/

in the RunOnceEx file you createdyou either need to add a \ to the end of the set key=....... line, or put a \ between the %key%and the following number on the REG ADD lines. See http://unattended.msfn.org/unattended.xp/view/web/31/

And I'm not sure what %PP% is supposed to refer to.

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