tmcjunkins Posted August 22, 2004 Share Posted August 22, 2004 I am a NOOB, went thru install like on website, but my application files are not getting copied over to HD...XP Prousing 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.sifThis 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.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\apps\AdobeReader6\AR6.msi TRANSFORMS="acrobat6.mst"/qb" /fREG ADD %KEY%\025 /VE /D "Diskeeper 8" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\apps\diskeeper8\Setup.exe /s /v/qn" /fREG ADD %KEY%\047 /VE /D "MSN Messenger" /fREG ADD %KEY%\047 /V 1 /D "%systemdrive%\install\apps\msn\MsnMsgs.msi /qn" /fREG ADD %KEY%\053 /VE /D ".NET Framework" /fREG ADD %KEY%\053 /V 1 /D "%systemdrive%\install\apps\net\netfx.msi /qb" /fREG ADD %KEY%\055 /VE /D "TweakUI Powertoy" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\apps\toys\TweakUI.msi /qn" /fREG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\install\apps\regtweaks.reg" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\apps\cleanup.cmd" /fEXIT This is my cleanup.cmd/QUOTE] cmdow @ /HIDshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."net user aspnet /deleteRD /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.regWindows 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 More sharing options...
jrzycrim Posted August 23, 2004 Share Posted August 23, 2004 Do other aspects of your unattended install work correctly? For example, are you prompted to enter your user data or is the Winnt.sif working correctly in this respect? Link to comment Share on other sites More sharing options...
tmcjunkins Posted August 23, 2004 Author Share Posted August 23, 2004 everything else seems to work fine... Link to comment Share on other sites More sharing options...
jrzycrim Posted August 23, 2004 Share Posted August 23, 2004 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 = YesYour 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 More sharing options...
tmcjunkins Posted August 23, 2004 Author Share Posted August 23, 2004 Yes, that is correct... Link to comment Share on other sites More sharing options...
exiteable Posted August 30, 2004 Share Posted August 30, 2004 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 offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Installing WinRAR 3.20" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\WinRAR\WRAR320.exe /s" /fREG ADD %KEY%\005 /VE /D "Winamp 5" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Winamp\WinAmp.msi /qn" /fREG ADD %KEY%\010 /VE /D "Power DVD 5" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\PowerDVD5\Setup.exe -s" /fREG ADD %KEY%\015 /VE /D "Revolution Sound Drivers" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\Drivers\002_revo\Revo_exe /silent /norebootREG ADD %KEY%\020/VE /D "Last of the Critical Hotfixes" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Hotfixes\hotfixes.cmd" /fREG ADD %KEY%\025/VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT Link to comment Share on other sites More sharing options...
MHz Posted August 30, 2004 Share Posted August 30, 2004 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 More sharing options...
MHz Posted August 30, 2004 Share Posted August 30, 2004 Sorry, think I misread. Ignore my last post.Opps. Link to comment Share on other sites More sharing options...
Zahriki Posted September 8, 2004 Share Posted September 8, 2004 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 Offcmdow @ /HIDFOR %%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=%%dSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\000 /VE /D ".NET Framework v1.1 w/SP1" /fREG ADD %KEY%\000 /V 1 /D "%systemdrive%\Install\netframework\netfxsp1.exe /qb" /fREG ADD %KEY%\001 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N DisallowSystemRestore\"" /fREG ADD %KEY%\003 /VE /D "WinRAR 3.30" /fREG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\WinRAR\wrar330.exe /s" /fREG ADD %KEY%\004 /VE /D "Alcohol 120" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\alcohol\a120.vbs" /fREG ADD %KEY%\004 /V 2 /D "REGEDIT /S %systemdrive%\install\Alcohol\register.reg" /fREG ADD %KEY%\005 /VE /D "AnyDVD 3.9.2.1" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\anydvd\SetupAnyDVD3921.exe /S" /fREG ADD %KEY%\005 /V 2 /D "REGEDIT /S %systemdrive%\install\anydvd\Register.reg" /fREG ADD %KEY%\006 /VE /D "TweakUI 2.10 Powertoys" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\powertoys\tweakui.msi /qb" /fREG ADD %KEY%\030 /VE /D "Shareaza 2.0.0" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Shareaza\Shareaza_2.0.0.0.exe /S" /fREG ADD %KEY%\040 /VE /D "Nero Burning ROM 6.3.1.6" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Nero\nero6316.exe /silent /noreboot /no_ui /sn=1A23-0074-3030-1903-4324-8437 /write_sn" /fREG ADD %KEY%\050 /VE /D "Mozilla Firefox 0.9.3" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Install\FIREFOX\FIREFOX.EXE /S" /fREG ADD %KEY%\050 /V 2 /D "%SYSTEMDRIVE%\FIREFOX\SETUP.EXE -MS -IRA" /fREG ADD %KEY%\050 /V 3 /D "%SYSTEMDRIVE%\FIREFOX\CLEAN.CMD" /fREG ADD %KEY%\050 /V 4 /D "%CDROM%\Install\FIREFOX\PLUGINS.EXE /S" /fFOR %%A IN ("%PROGRAMFILES%") DO SET SHORTPF=%%~sAREG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /FREG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /FREG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /FREG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /FREG ADD "HKLM\SOFTWARE\Classes\.htm" /VE /D "FirefoxHTML" /FREG ADD "HKLM\SOFTWARE\Classes\.html" /VE /D "FirefoxHTML" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\http\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\http\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\https\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\https\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet" /VE /D "FIREFOX.EXE" /FREG DELETE "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FIF EXIST %systemroot%\system32\atiddc.dll REG ADD %KEY%\060 /VE /D "ATI Control Panel 4.8 w/ SmartGART" /fIF EXIST %systemroot%\system32\atiddc.dll REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Drivers\020_Radeon\Setup.exe -s -f1 setup.iss" /fIF EXIST %systemroot%\system32\atiddc.dll REG ADD %KEY%\060 /V 2 /D "%systemdrive%\Install\ATI_CPanel\Setup.exe -s -f1 setup.iss" /fREG ADD %KEY%\060 /VE /D "Final Clean-up Process" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fREG 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now