Topic: Driverpack finisher help

Hello, I am making a unatended xpcd and everything is working. I just want to clean it all up.
driverpacks works however after i run a cleanup command from my runonceex driverpacks is at the very bottom of the list when i want it to be first.

here is my runonceex file

 cmdow @ /HID
@echo off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:

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

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


REG ADD %KEY%\002 /VE /D "Adobe Flash Player" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\Software\Adobe\Flash\install_flash_player_10_active_x.msi /qn" /f

REG ADD %KEY%\003 /VE /D "Adobe Shockwave" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Software\Adobe\Shockwave\sw_lic_full_installer.msi /qn" /f

REG ADD %KEY%\004 /VE /D "System Settings" /f
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Software\System\Oemlogo.cmd" /f

Exit

here is my cmdlines.txt

[COMMANDS]
"ROE.exe 1"
"RunOnceEx.cmd"
"Cleanup.cmd"

and my winnt.sif file

; Generated by nLite 1.4.9.1

[Data]
AutomaticUpdates="Yes"
Autopartition=0
UnattendedInstall="Yes"
	MsDosInitiated=No

[Unattended]
UnattendMode=FullUnattended
UnattendSwitch="Yes"
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
	OemPreinstall=Yes
	DriverSigningPolicy=Ignore
	NonDriverSigningPolicy=Ignore

[Display]
Xresolution=1024
Yresolution=768
BitsPerPel=16
Vrefresh=60

[SystemRestore]

[GuiUnattended]
AdminPassword=*
TimeZone=015
OEMSkipRegional=1
OemSkipWelcome=1

[Components]

[UserData]
ProductKey="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
ComputerName=*
FullName=" "

[RegionalSettings]
LanguageGroup=1
Language= "0409"

[Networking]
InstallDefaultComponents="Yes"

[Identification]
JoinWorkgroup="MSHOME"


;
; Edited by DriverPacks BASE 8.12.5
; http://www.driverpacks.net/
;

please ignore the windows key it is wrong i know that.

Re: Driverpack finisher help

IDK why you are having an issue... seems like it should do what you want...

Perhaps you needed to specify "ROE.exe 001" not "ROE.exe 1" wink


However since you are customizing all this anyway you are just trying to do it the hard way.... Don't do it the hard way silly...

Just select 'custom' when you run DriverPacks BASE in the future wink Then use this or similar Runonce.cmd

 cmdow @ /HID
@echo off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:

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

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

REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\DPsFnshr.exe"

REG ADD %KEY%\002 /VE /D "Adobe Flash Player" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\Software\Adobe\Flash\install_flash_player_10_active_x.msi /qn" /f

REG ADD %KEY%\003 /VE /D "Adobe Shockwave" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Software\Adobe\Shockwave\sw_lic_full_installer.msi /qn" /f

REG ADD %KEY%\004 /VE /D "System Settings" /f
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Software\System\Oemlogo.cmd" /f

Exit

and skip the ROE.exe 001 in your cmdlines.txt

that will be cleaner, and easier to read / maintain wink

Welcome to DriverPacks

PS I added "code tags" to your post please take a moment to 'edit' it to see how that is done wink

PSS what does cleanup do?

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Driverpack finisher help

ok i thought code tags didn't work here my mistake.

the cleanup file removes certain shortcuts and deletes any temp files.

also will try your suggestion right now thank you.

Last edited by donald7777 (2009-08-18 15:51:44)

Re: Driverpack finisher help

it worked thank you

Re: Driverpack finisher help

YAQW!

Have a great day!

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.