cullend11 Posted March 1, 2007 Posted March 1, 2007 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 cmdstart.cmd: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.ECHO Installing Adobe Reader 8ECHO Please wait...start /wait %SYSTEMDRIVE%\Install\AdbeRdr80_en_US.exe /sAllECHO.DoneECHO.ECHO Installing ThunderBirdECHO Please wait...start /wait %SYSTEMDRIVE%\Install\Thunderbird -ms -iraECHO.Donestart /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,gm_p_Calc_Addins,gm_p_Impress_Bin,gm_p_Impress_Help,gm_o_Oo_English,gm_o_WinexplorerextECHO.Delete Desktop Shortcut - Adobe Acrobat 8DEL "%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%\DriversRD /S /Q %systemdrive%\installEXITwinnt.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
--=ddSHADOW=-- Posted March 1, 2007 Posted March 1, 2007 ah the good old [GuiRunOnce] methodhere is some explanation but i suggest u try RunOnceEx method check here
cullend11 Posted March 2, 2007 Author Posted March 2, 2007 (edited) well, I guess I will be usiong GuiRunOnce... but i am confused with the swtiches...how is this so far?cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%05 /VE /D "Acrobat Reader 8.0" /fREG ADD %KEY%05 /V 1 /D "%PP%AdbeRdr80_enu_full.exe -p"-s /v\"/qn\""" /fREG ADD %KEY%10 /VE /D "Now installing Thunderbird" /fREG ADD %KEY%10 /V 1 /D "%SYSTEMDRIVE%\Install\Thunderbird /ms /ira\" /fExit Edited March 2, 2007 by cullend11
IcemanND Posted March 2, 2007 Posted March 2, 2007 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.
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