Jump to content

Problem with RunOnceEX being found


Recommended Posts

Guys I need yr ur help urgently in making out my un attended CD. I don't know where I'm going wrong !!! Everything is working but My Applications aren't installing automatically un attended. Also I'm getting error as below;

"C:\Runonceex.cmd File not found"

I have placed following files in $OEM$ Folder

cmdlines.txt, useraccounts.cmd, autologon.reg,regtweaks.reg and runonceex.cmd

My applications are in this folder $OEM$\$1\Install\

I have placed cleanup.cmd in $OEM\$1\Install

Contents of my files are as below

-------------------------------------------------------------------------------------------

WINNT.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=*
   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%\RunOnceEx.cmd

--------------------------------------------------------------------------------------------

AUTOLOGON.REG

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="Admin"
"DefaultPassword"="admin"
"AutoAdminLogon"="1"
[/quote]
---------------------------------------------------------------------------------------------

CMDLINES.TXT
[code]
[COMMANDS]
"useraccounts.cmd"
"REGEDIT /S regtweaks.reg"

----------------------------------------------------------------------------------------------

RUNONCEEX.CMD

cmdow @ /HID
@echo off

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

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

REG ADD %KEY%\035 /VE /D "Flashget 1.4" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\flashget\flashget.exe /S" /f
REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\install\flashget\register.reg" /f

REG ADD %KEY%\037 /VE /D "IsoBuster 1.6" /f
REG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\isobuster\IsoBuster.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\037 /V 2 /D "taskkill /F /IM isobuster.exe" /f

REG ADD %KEY%\047 /VE /D "MSN Messenger 6.2 Final" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\msn\SETUPDL.exe /qb" /f

REG ADD %KEY%\050 /VE /D "Yahoo Messenger 6.0 Final" /f
REG ADD %Key%\050 /V 1 /D "%systemdrive%\install\yahoo\yahoo.exe /S" /f
REG ADD %Key%\050 /V 2 /D "PSKILL.EXE YPAGER.EXE" /f


REG ADD %KEY%\055 /VE /D "TweakXP Powertoy" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\tweakxp\Tweakxp.exe /VERYSILENT /SP-" /f


REG ADD %KEY%\057 /VE /D "Windows Media Player Version 10" /f
REG ADD %KEY%\057 /V 1 /D "%SystemDrive%\Install\WMP10\mp10setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\058 /VE /D "Chipset INF Updates" /f
REG ADD %KEY%\058 /V 1 /D "%SystemDrive%\Install\Chipset_INF\infinst_enu.exe /verysilent /sp-" /f

REG ADD %KEY%\059 /VE /D "Motherboard USB 2.0 Updates" /verysilent /sp-" /f
REG ADD %KEY%\059 /V 1 /D "%SystemDrive%\Install\USB2.0\setup.exe /verysilent /sp-" /f

REG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\apps\regtweaks.reg" /f

REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

---------------------------------------------------------------------------------------------

USERACCOUNTS.CMD

net user "Admin" admin /add
net localgroup Administrators Admin /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

--------------------------------------------------------------------------------------------

That's all ... Please help me urgently :no:

Product Key removed. Code Tags added. Topic Title Changed. That' three rules broken. ~ Alanoll

Link to comment
Share on other sites


REG ADD %KEY%\047 /VE /D "MSN Messenger 6.2 Final" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\msn\SETUPDL.exe /qb" /f

u cant run /qb with a .exe file & for msn messenger, u need 2 extract setupdl.exe & run the msi instead :)

ps: dont post your key unless u want 30,000 ppl stealing it :)

Link to comment
Share on other sites

If you want to call it from GuiRunOnce, put your RunOnceEx.cmd in your $OEM$\$1 directory, instead of your $OEM$ directory. If you want to call it from cmdlines.txt, just add "RunOnceEx.cmd" to your cmdlines.txt (not the %SystemDrive%, since it's not copied to the harddrive).

@MHz: it doesn't have to be, but yes, it's better to do so, so it runs on first logon :)

Link to comment
Share on other sites

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