Jump to content

"RunOnceEx" trouble


Recommended Posts

Welcome

I'm having trouble installing the last of the "RunOnceEx" do not want to start the installation of additional applications.

Theoretically, all performed well, if you manually run the file "RunOnceEx.cmd" and reboot, everything works, additional applications to run consecutively.

The Winnt.sif file I have nothing to [GuiRunOnce], the file "RunOnceEx.cmd" and Cmdlines.txt'll put in the directory $OEM$

cmdow.exe is in the $OEM$\$$\System32

Thank you for your help ..

Sorry for my english :blushing::blushing:

Winnt.sif.txt

RunOnceEx.txt

Edited by cris24
Link to comment
Share on other sites


Have some tips for you

Try this RunOnceEx from CD:

cmdow @ /HID
@echo off

SetLocal EnableExtensions
SET CDROM=%~d0

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

REG ADD %KEY% /V TITLE /D "Instalacja Oprogramowania" /f

REG ADD %KEY%\001 /VE /D "NET Framework 2.0" /f
REG ADD %KEY%\001 /V 1 /D "%~d0\Install\DNF20SP2pl.exe /silent" /f

REG ADD %KEY%\002 /VE /D "Diskeeper 2009" /f
REG ADD %KEY%\002 /V 1 /D "%~d0\Install\setup.exe /s /v/qn" /f

REG ADD %KEY%\003 /VE /D "Aimp 2.60" /f
REG ADD %KEY%\003 /V 1 /D "%~d0\Install\aimp_2.60.505_rc_1.exe /S" /f

EndLocal

EXIT

(You have to copy the Install folder to the root of your XP folder (together will i386/support folder, and all the others).

If you want to see your wallpaper during the installationprocess, create a WallPaper.reg, paste the following in it:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"Wallpaper"="C:\\WINDOWS\\Web\\Wallpaper\\YourWallPaperNameHere.bmp"
"WallpaperStyle"="2"
"TileWallpaper"="0"

Import this file from cmdlines.txt and it will popup @ RunOnceEx.

Also to add your user I would recommend using the NET User method, described here: (if you are not allready using this).

http://unattended.msfn.org/unattended.xp/view/web/27/

Basically you just go to your $OEM$ folder, where cmdlines.txt is located, and do the following.

Create a cmd called "useraccounts.cmd"

Paste the following in it:

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

Create a .reg file with the "autologon.reg" name:

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="YourNameHere"
"AutoAdminLogon"="1"

Then just add this line to your cmdlines.txt:

[COMMANDS] 

"useraccounts.cmd"

"RunOnceEx.cmd"

If you then use the following winnt.sif file, you installation will be completely silent (except from partioning part)

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates=Yes

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
UnattendSwitch=Yes
AutoActivate=No
WaitForReboot=No
DUDisable=Yes
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
ExtendOemPartition = 0
TargetPath=\WINDOWS
FileSystem=*

[GuiUnattended]
EncryptedAdminPassword=NO
OEMSkipRegional=1
OemSkipWelcome=1
AdminPassword=*
TimeZone=100

[SetupData]
OSLoadOptionsVar="/noexecute=alwaysoff"

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="YourNameHere"
OrgName="*"
ComputerName=YourComputerNameHere

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=60
AutoConfirm=1

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[Components]
msmsgs=off
msnexplr=off
zonegames=off
fax=off

[TapiLocation]
CountryCode=48
LongDistanceAccess="48"
Dialing=Tone

[RegionalSettings]
LanguageGroup=2
SystemLocale="0415"
UserLocale="0415"
UserLocale_DefaultUser="0415"
InputLocale="0415:00000415"
InputLocale_DefaultUser="0415:00000415"

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=http://www.google.pl
Search_Page=http://www.google.pl

[SystemFileProtection]
SFCQuota = 0

[WindowsFirewall.TurnOffFirewall]
Mode = 0

[Shell]
CustomDefaultThemeFile="%ResourceDir%\Themes\LeopardXP.Theme"

Hope this helps! :hello:

Edited by Raoul90
Link to comment
Share on other sites

  • 2 months later...

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