Jump to content

Recommended Posts

Posted

Hello

I have created a XPSP2 build disk that builds great, but after the build the RunOnceEx does not seem to run. But if I double click after logging in it will.

The RunOnceEx.cmd has been placed in $oem$ with cmdlines.txt. The cleanup.cmd is in a folder called apps in the $oem$ folder together with all the software to be installed.

It suddenly stopped working yesterday + it wont do a silent install of adobe.

Please help.

cmdlines.txt

[Commands]

"RunOnceEx.cmd"

RunOnceEx.cmd

cmdow @ /HID

@echo off

SET PP=%SystemDrive%\Apps\

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

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

REG ADD %KEY%\005 /VE /D "Adobe Acrobat 7.0.8" /f

REG ADD %KEY%\005 /V 1 /D "%PP%\AdbeRdr708_en_US.exe -p\"-s /v\"/qn\"\"" /f

REG ADD %KEY%\010 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\010 /V 1 /D "%PP%\cleanup.cmd" /f

EXIT

winnt.sif

[Data]

AutomaticUpdates = "No"

Autopartition = 1

UnattendedInstall = "Yes"

MsDosInitiated= No

[unattended]

Repartition=Yes

UnattendMode = DefaultHide

UnattendSwitch = "Yes"

OemSkipEula = "Yes"

TargetPath=\WINDOWS

FileSystem = ConvertNTFS

WaitForReboot = "No"

NoWaitAfterTextMode = 1

NoWaitAfterGUIMode = 1

DriverSigningPolicy = Ignore

NonDriverSigningPolicy = Ignore

Hibernation = "No"

OemPreinstall= Yes

[systemRestore]

DisableSR = 1

CreateFirstRunRp = 0

[setupParams]

SkipMissingFiles = "No"

[GuiUnattended]

AutoLogon = "Yes"

EncryptedAdminPassword = "No"

AdminPassword =

TimeZone = 085

OEMSkipRegional = 1

OemSkipWelcome = 1

[shell]

DefaultThemesOff = "No"

DefaultStartPanelOff = "Yes"

[Components]

Iis_common = Off

Iis_ftp = Off

Iis_inetmgr = Off

Iis_internetdataconnector = Off

Iis_nntp = Off

Iis_serversideincludes = Off

Iis_smtp = Off

Iis_webadmin = Off

Iis_webdav = Off

Iis_www = Off

Iis_www_vdir_scripts = Off

Iis_asp = Off

[userData]

ProductKey=#####-#####-#####-#####-#####

FullName="blah"

OrgName="blah"

ComputerName=XPSP2

[Display]

BitsPerPel=32

Xresolution=800

YResolution=600

[TapiLocation]

CountryCode=44

AreaCode=01226

LongDistanceAccess="9"

[RegionalSettings]

SystemLocale = "0809"

UserLocale = "0809"

UserLocale_DefaultUser = "0809"

InputLocale = "0809:00000809"

InputLocale_DefaultUser = "0809:00000809"

[Networking]

InstallDefaultComponents = "Yes"

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

[identification]

JoinWorkgroup = WORKGROUP


Posted
The cleanup.cmd is in a folder called apps in the $oem$ folder together with all the software to be installed.
SET PP=%SystemDrive%\Apps\
In order for the latter to work, you need to put your Apps folder under \$OEM$\$1
  • for example:
    C:\XPCD\$OEM$\$1\Apps

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