Jump to content

Recommended Posts

Posted (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.extension

C:\XPCD2\$OEM$\$1\Install\Applications\folder2\and_here.extension

C:\XPCD2\$OEM$\$1\Install\Applications\folder3\more_here.extension

C:\XPCD2\$OEM$\$1\Install\Applications\folder4\here_too.extension

The 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 by SneakyNinj4

Posted

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

not

C:\XPCD2\$OEM$\$1\Install\Applications\folder1\files_here.extension

C:\XPCD2\$OEM$\$1\Install\Applications\folder2\and_here.extension

C:\XPCD2\$OEM$\$1\Install\Applications\folder3\more_here.extension

C:\XPCD2\$OEM$\$1\Install\Applications\folder4\here_too.extension

Posted (edited)

nono... RunOnceEx.cmd reads as this:

cmdow @ /HID

@Echo Off

SET PP=%SystemDrive%/Install/Applications/

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

REG ADD %KEY%/044 /VE /D "Intel Chipset" /f

REG ADD %KEY%/044 /V 1 /D "%PP%000_chipset/Setup.exe" /f

REG ADD %KEY%/050 /VE /D "Broadcom 10/100 LAN" /f

REG ADD %KEY%/050 /V 1 /D "%PP%001_lan/setup.exe -s -f2/"%systemdrive%/LAN.log/"" /f

REG ADD %KEY%/055 /VE /D "Intel Pro Wireless LAN" /f

REG ADD %KEY%/055 /V 1 /D "%PP%002_wlan/Setup.exe" /f

REG ADD %KEY%/060 /VE /D "NVIDIA Go6800" /f

REG ADD %KEY%/060 /V 1 /D "%PP%003_video/setup.exe" /f

REG ADD %KEY%/066 /VE /D "SigmaTel C-Major Audio" /f

REG ADD %KEY%/066 /V 1 /D "%PP%004_audio/setup.exe -s -f2/"%systemdrive%/AUDIO.log/"" /f

REG ADD %KEY%/070 /VE /D "Alps Touchpad" /f

REG ADD %KEY%/070 /V 1 /D "%PP%005_touchpad/Setup.exe -s -f2/"%systemdrive%/TOUCHPAD.log/"" /f

There 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 by SneakyNinj4
Posted

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.

Posted (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 by SneakyNinj4
Posted

In my previous installs, the main reason behind "Setup cannot copy file blahblah" was the bad burn.

Posted (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! :thumbup

Edited by SneakyNinj4
Posted (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=off

Something wrong?

Edited by SneakyNinj4
Posted (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 by Takeshi
Posted
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

Posted

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 :wacko: 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 Off

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

REG ADD %KEY% /V TITLE /D "Installing Programs and Drivers" /f

REG ADD %KEY%/001 /VE /D "Install Programs" /f

REG ADD %KEY%/004 /VE /D "-AdAware 6" /f
REG ADD %KEY%/004 /V 1 /D "%systemdrive%\Install\adaware6.exe /s" /f

REG ADD %KEY%/014 /VE /D "-Atomic Clock Sync" /f
REG ADD %KEY%/014 /V 1 /D "%systemdrive%\Install\acs.exe /s" /f

REG ADD %KEY%/019 /VE /D "-Avast Antivirus" /f
REG ADD %KEY%/019 /V 1 /D "%systemdrive%\Install\avastantivirus.exe /silent" /f

REG ADD %KEY%/027 /VE /D "-DVD Shrink" /f
REG ADD %KEY%/027 /V 1 /D "%systemdrive%\Install\dvdshrink.exe /VERYSILENT" /f

REG ADD %KEY%/028 /VE /D "-Mozilla Firefox" /f
REG ADD %KEY%/028 /V 1 /D "%systemdrive%\Install\Firefox.exe -ms -ira" /f

REG ADD %KEY%/029 /VE /D "-Mozilla Thunderbird" /f
REG ADD %KEY%/029 /V 1 /D "%systemdrive%\Install\thunderbird.exe -ms -ira" /f

REG ADD %KEY%/032 /VE /D "-Registry Booster" /f
REG ADD %KEY%/032 /V 1 /D "%systemdrive%\Install\regbooster.exe /VERYSILENT /SP- /NORESTART" /f

REG ADD %KEY%/034 /VE /D "-Office XP" /f
REG ADD %KEY%/034 /V 1 /D "%systemdrive%\Install\OfficeXP\SETUP.EXE TRANSFORMS=Unattended.msi /qb-" /f

REG ADD %KEY%/039 /VE /D "-Spybot Search & Destroy" /f
REG ADD %KEY%/039 /V 1 /D "%systemdrive%\Install\spybotsd13.exe /VERYSILENT /SP-" /f

REG ADD %KEY%/001 /VE /D "Install Drivers" /f

REG ADD %KEY%/044 /VE /D "-Intel Chipset" /f
REG ADD %KEY%/044 /V 1 /D "%systemdrive%\Install\chipset\Setup.exe" /f

REG ADD %KEY%/050 /VE /D "-Broadcom 10/100 LAN" /f
REG ADD %KEY%/050 /V 1 /D "%systemdrive%\Install\lan\setup.exe -s -f2\"%systemdrive%\LAN.log\"" /f

REG ADD %KEY%/055 /VE /D "-Intel Pro Wireless LAN" /f
REG ADD %KEY%/055 /V 1 /D "%systemdrive%\Install\wlan\Setup.exe" /f

REG ADD %KEY%/060 /VE /D "-NVIDIA Go6800" /f
REG ADD %KEY%/060 /V 1 /D "%systemdrive%\Install\video\setup.exe" /f

REG ADD %KEY%/066 /VE /D "-SigmaTel C-Major Audio" /f
REG ADD %KEY%/066 /V 1 /D "%systemdrive%\Install\audio\setup.exe -s -f2\"%systemdrive%\AUDIO.log\"" /f

REG ADD %KEY%/070 /VE /D "-Alps Touchpad" /f
REG ADD %KEY%/070 /V 1 /D "%systemdrive%\Install\touchpad\Setup.exe -s -f2\"%systemdrive%\TOUCHPAD.log\"" /f

REG ADD %KEY%/100 /VE /D "Clean Up and Reboot" /f
REG ADD %KEY%/100 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f

EXIT

Posted (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 by SneakyNinj4
Posted (edited)

I think I figured it out finally...

Originally.. my code run as this:

REG ADD %KEY%/004 /VE /D "AdAware 6" /f

REG ADD %KEY%/004 /V 1 /D "%systemdrive%\Install\adaware6.exe /s" /f

what is wrong with this you may ask?

REG ADD %KEY%\004 /VE /D "AdAware 6" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\Install\adaware6.exe /s" /f

go figure, now I remember why I changed majors out of Computer Science, details are the devil I tell ya

UPDATE -----------

Few little changes here and there.. now it all works good.

Thanks for the help all =)

Edited by SneakyNinj4

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