kmzahir Posted December 12, 2004 Posted December 12, 2004 Anybody pls tell me where I have to keep RunOnceEx.cmd and Cleanup.cmd in $OEM$ folderand what shud i mentions winnt.sif and cmdlines.txt filei wanna install apps automatically
doGold Posted December 12, 2004 Posted December 12, 2004 You will get more help if you tell more about your problem and what you have already tried. Have you read through the excellent guide found at http://unattended.msfn.org/?
Cartoonite Posted December 12, 2004 Posted December 12, 2004 no body's helping me ???Try to be a bit more patient. One hour isn't such a long time, especially not at 4 o'clock in the morning.RunOnceEx.cmd should go in $OEM$ itself and should be referenced in cmdline.txt like so:[COMMANDS]"REGEDIT /S regtweaks.reg""useraccounts.cmd""RunOnceEx.cmd"Cleanup.cmd can go wherever you like. The only reference to it is in RunOnceEx.cmd, so just make sure the path there matches where you actually place it.
kmzahir Posted December 12, 2004 Author Posted December 12, 2004 My Problem is that My Applns are not getting installed automatically. Even Runonceex.cmd is not at all executing. Can't understand where I'm wrong.My files goes like belowcmdlines.txt---------------[COMMANDS]"REGEDIT /S regtweaks.reg""useraccounts.cmd""RunOnceEx.cmd"runonceex.cmd------------------cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\035 /VE /D "Flashget 1.4" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\flashget\flashget.exe /S" /fREG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\install\flashget\register.reg" /fREG ADD %KEY%\037 /VE /D "IsoBuster 1.6" /fREG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\isobuster\IsoBuster.exe /VERYSILENT /SP-" /fREG ADD %KEY%\037 /V 2 /D "taskkill /F /IM isobuster.exe" /fREG ADD %KEY%\047 /VE /D "MSN Messenger 6.2 Final" /fREG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\MSN\MsnMsgs.msi /QB" /fREG ADD %KEY%\050 /VE /D "Yahoo Messenger 6.0 Final" /fREG ADD %Key%\050 /V 1 /D "%systemdrive%\install\yahoo\yahoo.exe /S" /fREG ADD %Key%\050 /V 2 /D "PSKILL.EXE YPAGER.EXE" /fREG ADD %KEY%\055 /VE /D "TweakXP Powertoy" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\tweakxp\Tweakxp.exe /VERYSILENT /SP-" /fREG ADD %KEY%\057 /VE /D "Windows Media Player Version 10" /fREG ADD %KEY%\057 /V 1 /D "%SystemDrive%\Install\WMP10\mp10setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\080 /VE /D "Winzip 8.1 Cracked" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\"Program Files"\winzip\winzip32.exe /noqp /autoinstall" /fREG ADD %KEY%\082 /VE /D "Chipset INF Updates" /fREG ADD %KEY%\082 /V 1 /D "%SystemDrive%\Install\Chipset_INF\infinst_enu.exe /verysilent /sp-" /fREG ADD %KEY%\083 /VE /D "Motherboard USB 2.0 Updates" /verysilent /sp-" /fREG ADD %KEY%\083 /V 1 /D "%SystemDrive%\Install\USB2.0\setup.exe /verysilent /sp-" /fREG ADD %KEY%\084 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\084 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITwinnt.sif------------;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes [Unattended] FileSystem=* UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch="yes" TargetPath=\WINDOWS OemPnDriversPath="Drivers\000Motherboard\Audio;Drivers\001Display;Drivers\002Modem" DriverSigningPolicy=Ignore [GuiUnattended] AdminPassword="admin" EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=165 OemSkipWelcome=1[UserData] ProductKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx FullName="XP-SUPERCD-USER" OrgName="XP-SUPERCD" ComputerName=XP-SUPERCD-PC[Display] BitsPerPel=32 Xresolution=800 YResolution=600 Vrefresh=60[TapiLocation] CountryCode=971 Dialing=Tone LongDistanceAccess="4004444"[RegionalSettings] LanguageGroup=1 SystemLocale=00000409 UserLocale=00000409 InputLocale=0409:00000409[Branding] BrandIEUsingUnattended=Yes[Proxy] Proxy_Enable=1 Use_Same_Proxy=1 HTTP_Proxy_Server=proxy1.emirates.net.ae:8080 Proxy_Override=<local>[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Components] msmsgs=off msnexplr=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off [Shell] DefaultStartPanelOff = Yes[GuiRunOnce] %systemdrive%\install\RunOnceEx.cmdI have placed my files cmdlines.txt, autologon.reg,regtweaks.reg,useraccounts.cmd in $OEM$ folder.And I have placed runonceex.cmd and cleanup.cmd in $OEM$\$1\Install folderI have placed my applications in OEM$\$1\Install folder (separetly in each folder)Have I placed runonceex.cmd in correct place ??? Pls help Zahir
Tsunami Posted December 12, 2004 Posted December 12, 2004 Well, the way you did it should work, but the problem is that you're importing your RunOnceEx on first login. So your applications will be installed on second login. It's better to do what cartoonite said.
kmzahir Posted December 12, 2004 Author Posted December 12, 2004 so what's the way for doing it in first login itself ???
Alanoll Posted December 12, 2004 Posted December 12, 2004 move your RunOnceEX.cmd file into your $OEM$ folder.slightly off topic, didn't you just have another topic on this same issue the other day?
kmzahir Posted December 12, 2004 Author Posted December 12, 2004 Ya... my problem is not solved yet .I had tried moving the runonceex.cmd file in $OEM$ folder also.Still was not working !!!tell me whether I have to use [guirunonce] in winnt.sif or just mention in cmdlines.txt only ?
Alanoll Posted December 12, 2004 Posted December 12, 2004 Remove the GUIRunOnce section. The guide says to use CMDLINES.TXT. USE IT.put RunOnceEX.cmd in $OEM$ in the SAME folder as CMDLINES.TXT
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now