SneakyNinj4 Posted August 3, 2006 Posted August 3, 2006 (edited) Hey all! Great unattended guides you have here!For some reason when I am attempting to install on my virtual machine it tells me, during the blue screen installation, that "Setup cannot copy file blahblah." I searched around the forums and found some related things but wasn't able to find anything usefull.The files are located in the following folders.C:\XPCD2\$OEM$\$1\Install\Applications\folder1\files_here.extensionC:\XPCD2\$OEM$\$1\Install\Applications\folder2\and_here.extensionC:\XPCD2\$OEM$\$1\Install\Applications\folder3\more_here.extensionC:\XPCD2\$OEM$\$1\Install\Applications\folder4\here_too.extensionThe files that cannot be copied are my driver installers. All of my drivers come bundled with packages that I also need installed. The only place that I call for these files is in my RunOnceEx.cmd, other than that they should just get copied right?There was an option when I was burning that said.. "Allow more than 64 characters for Joliet names" it was unchecked. Maybe the problem is as simple as that?Thanks! Edited August 3, 2006 by SneakyNinj4
Yzöwl Posted August 3, 2006 Posted August 3, 2006 You have not got the correct information written into your runonceex.cmd file.The locations in that file should read%SystemDrive%\Install\Applications\folder1\files_here.extension%SystemDrive%\Install\Applications\folder2\and_here.extension%SystemDrive%\Install\Applications\folder3\more_here.extension%SystemDrive%\Install\Applications\folder4\here_too.extensionnot C:\XPCD2\$OEM$\$1\Install\Applications\folder1\files_here.extensionC:\XPCD2\$OEM$\$1\Install\Applications\folder2\and_here.extensionC:\XPCD2\$OEM$\$1\Install\Applications\folder3\more_here.extensionC:\XPCD2\$OEM$\$1\Install\Applications\folder4\here_too.extension
SneakyNinj4 Posted August 3, 2006 Author Posted August 3, 2006 (edited) nono... RunOnceEx.cmd reads as this:cmdow @ /HID@Echo OffSET PP=%SystemDrive%/Install/Applications/SET KEY=HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/RunOnceExREG ADD %KEY%/044 /VE /D "Intel Chipset" /fREG ADD %KEY%/044 /V 1 /D "%PP%000_chipset/Setup.exe" /fREG ADD %KEY%/050 /VE /D "Broadcom 10/100 LAN" /fREG ADD %KEY%/050 /V 1 /D "%PP%001_lan/setup.exe -s -f2/"%systemdrive%/LAN.log/"" /fREG ADD %KEY%/055 /VE /D "Intel Pro Wireless LAN" /fREG ADD %KEY%/055 /V 1 /D "%PP%002_wlan/Setup.exe" /fREG ADD %KEY%/060 /VE /D "NVIDIA Go6800" /fREG ADD %KEY%/060 /V 1 /D "%PP%003_video/setup.exe" /fREG ADD %KEY%/066 /VE /D "SigmaTel C-Major Audio" /fREG ADD %KEY%/066 /V 1 /D "%PP%004_audio/setup.exe -s -f2/"%systemdrive%/AUDIO.log/"" /fREG ADD %KEY%/070 /VE /D "Alps Touchpad" /fREG ADD %KEY%/070 /V 1 /D "%PP%005_touchpad/Setup.exe -s -f2/"%systemdrive%/TOUCHPAD.log/"" /fThere are a bunch of other entries above the ones listed here (notice the numbers) that work fine. Those however are a single file within "%SystemDrive%/Install/Applications/file" where as the ones that don't work are "%SystemDrive%/Install/Applications/00X_name/file" Edited August 3, 2006 by SneakyNinj4
Yzöwl Posted August 3, 2006 Posted August 3, 2006 I see you've edited your post whilst I was responding.If the errors are coming during the textmode part of the setup, before the first reboot, then it suggests a problem with your files, or the ISO.Your files, I take it are located correctly within \$OEM$\$1\Applications\What are you using to burn your ISO, it sounds like a GUI tool, why not use CDIMAGE or MKISOFS to create an ISO then just use your usual burning app just to put it onto the CD.
SneakyNinj4 Posted August 3, 2006 Author Posted August 3, 2006 I just downloaded CDIMAGE and i'm giving that a whirl. I'll get back to you. Thanks for the help so far. =)
SneakyNinj4 Posted August 3, 2006 Author Posted August 3, 2006 (edited) Alright, I made the image using CDIMAGE and I got the same result. When I check the ISO image everything is where it is supposed to be. The folders that are not correctly being copied are named "000_folder" and so on. I renamed them "000folder" thinking the underscore is being interpreted incorrectly. I think this may be the problem because the "OfficeXP" and "DirectX" folders work fine.same result... I'm going to try and not require the install to copy the files. Just.. pull the files from the CD when needed: http://unattended.msfn.org/unattended.xp/view/web/59/ Edited August 3, 2006 by SneakyNinj4
mazin Posted August 3, 2006 Posted August 3, 2006 In my previous installs, the main reason behind "Setup cannot copy file blahblah" was the bad burn.
SneakyNinj4 Posted August 3, 2006 Author Posted August 3, 2006 (edited) I think I know what happened... I originally made my XPCD folder with nlite. I tried to integrate drivers into this install... After that I probably moved the drivers and now the windows install is looking for 'em... I think I should just start over, shouldn't take too long.----Update----Yep, that looks like it was the problem. I am installing right now and it ripped right past where I was having problems before. Hopefully I won't run into any more problems.Thanks for the help all! Edited August 3, 2006 by SneakyNinj4
SneakyNinj4 Posted August 4, 2006 Author Posted August 4, 2006 (edited) Okay, I've literally been working on this all day.. and after making that new ISO that doesn't say "file cannot copy" !!Success!!Windows installs however my RunOnceEx.cmd isn't running... I've got my WINNT.SIF in my I386, cmdlines.txt in my $OEM$. When I run my WINNT.SIF, my registry gets changed correctly so that seems to be fine.I tried the whole RunOnceEx.cmd using %CDROM% (http://unattended.msfn.org/unattended.xp/view/web/59/) and the standard RunOnceEx.cmd using %systemroot% (http://unattended.msfn.org/unattended.xp/view/web/31/) and neither seem to be doing anything. I had it working with my first ISO, but now it's not.Any ideas????? =( =(I am really confused with a few things.. resolution isn't being applied nor is the auto logon however my product key and password are being set. Both of these things are affected by winnt.sif but not both are being applied?[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Repartition=No FileSystem=* UnattendSwitch="yes" WaitForReboot="Yes" AutoActivate=No[GuiUnattended] AdminPassword=* EncryptedAdminPassword=Yes AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1[UserData] ProductKey=* FullName="Sneaky" OrgName="" ComputerName=SNEAKY[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 AutoConfirm=1[Identification] JoinWorkgroup=MSHOME[Networking] InstallDefaultComponents=Yes[Components] msmsgs=off msnexplr=off zomegames=offSomething wrong? Edited August 4, 2006 by SneakyNinj4
Takeshi Posted August 4, 2006 Posted August 4, 2006 (edited) it won't autologon with EncryptedAdminPassword=Yes.Higher resolutions won't be applied in VMWare unless you include drivers. Don't know about VPC. Edited August 4, 2006 by Takeshi
SneakyNinj4 Posted August 4, 2006 Author Posted August 4, 2006 it won't autologon with EncryptedAdminPassword=Yes.Higher resolutions won't be applied in VMWare unless you include drivers. Don't know about VPC.Thanks! both noted
SneakyNinj4 Posted August 4, 2006 Author Posted August 4, 2006 Just found something interesting... I copied my RunOnceEx.cmd to the desktop of the virtual machine. I ran it and the registry showed the changes of.. RunOnceEx, RunOnceEx/001, RunOnceEx/005 etc. Each folder had values reflecting the correct exe's.This was good, however.. I ran rundll32.exe iernonce.dll,RunOnceExProcess and nothing happened I deleted the registry keys and added rundll32.exe iernonce.dll,RunOnceExProcess to the RunOnceEx.cmd and nothing happened once again. All the files are in the correct place that the RunOnceEx.cmd is calling for. What is wrong with this thing! cmdow @ /HID@echo OffSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs and Drivers" /fREG ADD %KEY%/001 /VE /D "Install Programs" /fREG ADD %KEY%/004 /VE /D "-AdAware 6" /fREG ADD %KEY%/004 /V 1 /D "%systemdrive%\Install\adaware6.exe /s" /fREG ADD %KEY%/014 /VE /D "-Atomic Clock Sync" /fREG ADD %KEY%/014 /V 1 /D "%systemdrive%\Install\acs.exe /s" /fREG ADD %KEY%/019 /VE /D "-Avast Antivirus" /fREG ADD %KEY%/019 /V 1 /D "%systemdrive%\Install\avastantivirus.exe /silent" /fREG ADD %KEY%/027 /VE /D "-DVD Shrink" /fREG ADD %KEY%/027 /V 1 /D "%systemdrive%\Install\dvdshrink.exe /VERYSILENT" /fREG ADD %KEY%/028 /VE /D "-Mozilla Firefox" /fREG ADD %KEY%/028 /V 1 /D "%systemdrive%\Install\Firefox.exe -ms -ira" /fREG ADD %KEY%/029 /VE /D "-Mozilla Thunderbird" /fREG ADD %KEY%/029 /V 1 /D "%systemdrive%\Install\thunderbird.exe -ms -ira" /fREG ADD %KEY%/032 /VE /D "-Registry Booster" /fREG ADD %KEY%/032 /V 1 /D "%systemdrive%\Install\regbooster.exe /VERYSILENT /SP- /NORESTART" /fREG ADD %KEY%/034 /VE /D "-Office XP" /fREG ADD %KEY%/034 /V 1 /D "%systemdrive%\Install\OfficeXP\SETUP.EXE TRANSFORMS=Unattended.msi /qb-" /fREG ADD %KEY%/039 /VE /D "-Spybot Search & Destroy" /fREG ADD %KEY%/039 /V 1 /D "%systemdrive%\Install\spybotsd13.exe /VERYSILENT /SP-" /fREG ADD %KEY%/001 /VE /D "Install Drivers" /fREG ADD %KEY%/044 /VE /D "-Intel Chipset" /fREG ADD %KEY%/044 /V 1 /D "%systemdrive%\Install\chipset\Setup.exe" /fREG ADD %KEY%/050 /VE /D "-Broadcom 10/100 LAN" /fREG ADD %KEY%/050 /V 1 /D "%systemdrive%\Install\lan\setup.exe -s -f2\"%systemdrive%\LAN.log\"" /fREG ADD %KEY%/055 /VE /D "-Intel Pro Wireless LAN" /fREG ADD %KEY%/055 /V 1 /D "%systemdrive%\Install\wlan\Setup.exe" /fREG ADD %KEY%/060 /VE /D "-NVIDIA Go6800" /fREG ADD %KEY%/060 /V 1 /D "%systemdrive%\Install\video\setup.exe" /fREG ADD %KEY%/066 /VE /D "-SigmaTel C-Major Audio" /fREG ADD %KEY%/066 /V 1 /D "%systemdrive%\Install\audio\setup.exe -s -f2\"%systemdrive%\AUDIO.log\"" /fREG ADD %KEY%/070 /VE /D "-Alps Touchpad" /fREG ADD %KEY%/070 /V 1 /D "%systemdrive%\Install\touchpad\Setup.exe -s -f2\"%systemdrive%\TOUCHPAD.log\"" /fREG ADD %KEY%/100 /VE /D "Clean Up and Reboot" /fREG ADD %KEY%/100 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /fEXIT
SneakyNinj4 Posted August 4, 2006 Author Posted August 4, 2006 (edited) Where's the Install folder?My complete filestructure:--------------------------------C:\XPCD--CD.txt--$OEM$----RunOnceEx.cmd (C:\XPCD\$OEM$\RunOnceEx.cmd)----cmdlines.txt (C:\XPCD\$OEM$\cmdlines.txt)----$Docs----$Progs----$$------System32--------cmdow.exe (C:\xpcd\$OEM$\$$\System32\cmdow.exe)----$1------Drivers------Install--------cleanup.cmd (C:\XPCD\$OEM$\$1\Install\cleanup.cmd)--------audio--------chipset--------DirectX--------lan--------OfficeXP--------touchpad--------video--------wlan--I386----WINNT.SIF (C:\XPCD\I386\WINNT.SIF)rest of the XP CD folders--------------------------------I highlighted all of the important files. (I think, may have missed one)That should be right.. took me a million edits >< Edited August 4, 2006 by SneakyNinj4
SneakyNinj4 Posted August 4, 2006 Author Posted August 4, 2006 (edited) I think I figured it out finally... Originally.. my code run as this:REG ADD %KEY%/004 /VE /D "AdAware 6" /fREG ADD %KEY%/004 /V 1 /D "%systemdrive%\Install\adaware6.exe /s" /fwhat is wrong with this you may ask?REG ADD %KEY%\004 /VE /D "AdAware 6" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\Install\adaware6.exe /s" /fgo figure, now I remember why I changed majors out of Computer Science, details are the devil I tell yaUPDATE -----------Few little changes here and there.. now it all works good.Thanks for the help all =) Edited August 4, 2006 by SneakyNinj4
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