Jump to content

RunOnceEx.cmd and Cleanup.cmd path


Recommended Posts


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.

Link to comment
Share on other sites

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 below

cmdlines.txt

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

[COMMANDS]
"REGEDIT /S regtweaks.reg"
"useraccounts.cmd"
"RunOnceEx.cmd"

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\MsnMsgs.msi /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%\080 /VE /D "Winzip 8.1 Cracked" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\"Program Files"\winzip\winzip32.exe /noqp /autoinstall" /f

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

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

REG ADD %KEY%\084 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\084 /V 1 /D "REGEDIT /S %systemdrive%\install\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

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

I 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 folder

I have placed my applications in OEM$\$1\Install folder (separetly in each folder)

Have I placed runonceex.cmd in correct place ???

Pls help :wacko:

Zahir

Link to comment
Share on other sites

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 ?

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