Jump to content

NOOB missing folders - apps Used Runonce


Recommended Posts

I am a NOOB, went thru install like on website,

but my application files are not getting copied over to HD...

XP Pro

using RunOnceEX.cmd

Here is my setup directory structure:

C:\XPCD

+$OEM$

cleanup.cmd

runonceex.cmd

cmdlines.txt

regtweaks.reg

+$1

+Install

cleanup.cmd

runonceex.cmd

cmdlines.txt

regtweaks.reg

+apps

msn

net

diskeeper8

AdobeReader6

toys

Drivers

+$$

System32

$Docs

$Progs

+cmpnents

+I386

winnt.sif

This is my Winnt.sif

/

[Data]

AutoPartition=1
MsDosInitiated = 0
UnattendedInstall = Yes
AutomaticUpdates=yes

[Unattended]


Repartition=Yes
UnattendMode = FullUnattended
UnattendSwitch = Yes
OemPreinstall = Yes
OemSkipEula = Yes
WaitForReboot = No
TargetPath = "\Windows"
DriverSigningPolicy = Ignore
NonDriverSigningPolicy = Ignore
Hibernation = No
KeyboardLayout="US"

[SystemFileProtection]
SFCQuota = 0

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0

[GuiUnattended]
EncryptedAdminPassword = No
AdminPassword = "netpro"
AutoLogon = Yes
TimeZone = 20
OEMSkipRegional = 1
OemSkipWelcome = 1

[UserData]
ProductKey = "xxxx-xxxx-xxxx-xxxx"
ComputerName = "*"
FullName = "WindowsXP"
OrgName = "PC-"

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768

[RegionalSettings]
Language = 0409

[Identification]
JoinWorkgroup = WORKGROUP

[Components]

msnexplr=off

[IEPopupBlocker]
AllowedSites=www.msfn.org;www.microsoft.com;www.amazon.com,www.google.com
BlockPopups=Yes
FilterLevel=Medium
ShowInformationBar=Yes

[TapiLocation]
 AreaCode=318
 Dialing=Tone

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=www.google.com

[Networking]
InstallDefaultComponents=Yes

This is my 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%\005 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\apps\AdobeReader6\AR6.msi TRANSFORMS="acrobat6.mst"/qb" /f


REG ADD %KEY%\025 /VE /D "Diskeeper 8" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\apps\diskeeper8\Setup.exe /s /v/qn" /f

REG ADD %KEY%\047 /VE /D "MSN Messenger" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\apps\msn\MsnMsgs.msi /qn" /f

REG ADD %KEY%\053 /VE /D ".NET Framework" /f
REG ADD %KEY%\053 /V 1 /D "%systemdrive%\install\apps\net\netfx.msi /qb" /f

REG ADD %KEY%\055 /VE /D "TweakUI Powertoy" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\apps\toys\TweakUI.msi /qn" /f

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

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

EXIT

This is my cleanup.cmd/QUOTE]

cmdow @ /HID
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
net user aspnet /delete

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"
RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start"

DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"
DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk"

DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"
DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"

RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"
RD /S /Q %systemdrive%\drivers\
RD /S /Q %systemdrive%\install\apps\

EXIT

This is my cmdlines.txt

[COMMANDS]
"RunOnceEX.cmd"

This is my regtweaks.reg

Windows Registry Editor Version 5.00 

;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

;Speed up shutdown
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="3000"

;Disable the Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001

;Disables Error Reporting, but notifies when errors occur
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000

;Disable Windows Picture and Fax Viewer
[-HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]

;Do not use Simple File Sharing
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"forceguest"=dword:00000000

;Speed up Network Browsing by removing Network Scheduled Tasks
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]

;Remove Shortcut Arrows
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-

;Disables Windows Tour bubble popup
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

;Disable Messenger Service (to stop spam. Does not affect MSN or Windows Messenger)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

;Change MenuShowDelay (Start Menu load speed)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="2"

;Max your Internet Explorer's simultaneous downloads to 10 (default was 2)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:0000000a
"MaxConnectionsPerServer"=dword:0000000a


;Removes Sign up with Passport Wizard when trying to sign in MSN Messenger
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Passport]
"RegistrationCompleted"=dword:00000001

;Disables Preview of Movie file formats (allowing you to move/rename/delete without errors)
[-HKEY_CLASSES_ROOT\.avi\ShellEx]
[-HKEY_CLASSES_ROOT\.mpg\ShellEx]
[-HKEY_CLASSES_ROOT\.mpe\ShellEx]
[-HKEY_CLASSES_ROOT\.mpeg\ShellEx]

;Put my computer my network places my documents on the desktop
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000

;Disable Anti-virus Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"AntiVirusDisableNotify"=dword:00000001

;Disable Firewall Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"FirewallDisableNotify"=dword:00000001

;Disable Automatic Updates Notifications
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UpdatesDisableNotify"=dword:00000001

Please help!

Sorry if I did not post correctly...

Link to comment
Share on other sites


Can't really see anything wrong with your layout. If the rest of your winnt.sif is working correctly, your apps should be copied over. OemPreinstall = Yes

Your install directory is not being copied over? Do you have a Drivers folder in $1 as well? If so, does it get copied over? The way I interpret your layout, you have $OEM$\$1\Install and $OEM$\$1\Install\Apps; is that correct?

Link to comment
Share on other sites

reg add keys in the runoncecmd are well out of sink try like this note way 1,5,10 etc may help if this is altered.

cmdow @ /HID

@echo off

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

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

REG ADD %KEY%\001 /VE /D "Installing WinRAR 3.20" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\WinRAR\WRAR320.exe /s" /f

REG ADD %KEY%\005 /VE /D "Winamp 5" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Winamp\WinAmp.msi /qn" /f

REG ADD %KEY%\010 /VE /D "Power DVD 5" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\PowerDVD5\Setup.exe -s" /f

REG ADD %KEY%\015 /VE /D "Revolution Sound Drivers" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Drivers\002_revo\Revo_exe /silent /noreboot

REG ADD %KEY%\020/VE /D "Last of the Critical Hotfixes" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Hotfixes\hotfixes.cmd" /f

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

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Link to comment
Share on other sites

You have variable with nothing in it.

You need cmds to locate what %KEY% equals. E.G. CD letter = %KEY%

Like:

IF EXIST D:\WIN51 set CDROM=D:

IF EXIST E:\WIN51 set CDROM=E:

IF EXIST F:\WIN51 set CDROM=F:

IF EXIST G:\WIN51 set CDROM=G:

IF EXIST H:\WIN51 set CDROM=H:

IF EXIST I:\WIN51 set CDROM=I:

IF EXIST J:\WIN51 set CDROM=J:

in runoncecmd.

:)

Link to comment
Share on other sites

  • 2 weeks later...

Not to sure where to add this but was getting Tweakui working properly with the code listed in the unattended guide section. But now all of the sudden its saying that there's another install in progress. I searched the entire XPCD for another file or command pointing towards the tweakui.msi file but I couldn't locate it. Any suggestions?

@Echo Off
cmdow @ /HID

FOR %%d IN (c: 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 %%d\CD.TXT SET CDROM=%%d

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

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

REG ADD %KEY%\000 /VE /D ".NET Framework v1.1 w/SP1" /f
REG ADD %KEY%\000 /V 1 /D "%systemdrive%\Install\netframework\netfxsp1.exe /qb" /f

REG ADD %KEY%\001 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N DisallowSystemRestore\"" /f

REG ADD %KEY%\003 /VE /D "WinRAR 3.30" /f
REG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\WinRAR\wrar330.exe /s" /f

REG ADD %KEY%\004 /VE /D "Alcohol 120" /f
REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\alcohol\a120.vbs" /f
REG ADD %KEY%\004 /V 2 /D "REGEDIT /S %systemdrive%\install\Alcohol\register.reg" /f

REG ADD %KEY%\005 /VE /D "AnyDVD 3.9.2.1" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\anydvd\SetupAnyDVD3921.exe /S" /f
REG ADD %KEY%\005 /V 2 /D "REGEDIT /S %systemdrive%\install\anydvd\Register.reg" /f

REG ADD %KEY%\006 /VE /D "TweakUI 2.10 Powertoys" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\powertoys\tweakui.msi /qb" /f

REG ADD %KEY%\030 /VE /D "Shareaza 2.0.0" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Shareaza\Shareaza_2.0.0.0.exe /S" /f

REG ADD %KEY%\040 /VE /D "Nero Burning ROM 6.3.1.6" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Nero\nero6316.exe /silent /noreboot /no_ui /sn=1A23-0074-3030-1903-4324-8437 /write_sn" /f

REG ADD %KEY%\050 /VE /D "Mozilla Firefox 0.9.3" /f
REG ADD %KEY%\050 /V 1 /D "%CDROM%\Install\FIREFOX\FIREFOX.EXE /S" /f
REG ADD %KEY%\050 /V 2 /D "%SYSTEMDRIVE%\FIREFOX\SETUP.EXE -MS -IRA" /f
REG ADD %KEY%\050 /V 3 /D "%SYSTEMDRIVE%\FIREFOX\CLEAN.CMD" /f
REG ADD %KEY%\050 /V 4 /D "%CDROM%\Install\FIREFOX\PLUGINS.EXE /S" /f
FOR %%A IN ("%PROGRAMFILES%") DO SET SHORTPF=%%~sA
REG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /F
REG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /F
REG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /F
REG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /F
REG ADD "HKLM\SOFTWARE\Classes\.htm" /VE /D "FirefoxHTML" /F
REG ADD "HKLM\SOFTWARE\Classes\.html" /VE /D "FirefoxHTML" /F
REG ADD "HKLM\SOFTWARE\Classes\ftp\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Classes\gopher\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Classes\http\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\http\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Classes\https\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F
REG ADD "HKLM\SOFTWARE\Classes\https\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F
REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet" /VE /D "FIREFOX.EXE" /F
REG DELETE "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F
REG DELETE "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F
REG DELETE "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F
REG DELETE "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec" /F
REG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F

IF EXIST %systemroot%\system32\atiddc.dll REG ADD %KEY%\060 /VE /D "ATI Control Panel 4.8 w/ SmartGART" /f
IF EXIST %systemroot%\system32\atiddc.dll REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Drivers\020_Radeon\Setup.exe -s -f1 setup.iss" /f
IF EXIST %systemroot%\system32\atiddc.dll REG ADD %KEY%\060 /V 2 /D "%systemdrive%\Install\ATI_CPanel\Setup.exe -s -f1 setup.iss" /f

REG ADD %KEY%\060 /VE /D "Final Clean-up Process" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f
REG ADD %KEY%\060 /V 2 /D "cmd.exe /c copy /Q %systemdrive%\install\anydvd\elbycdio.dll" \"%systemdrive%\system32\" /Y"

EXIT

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