Jump to content

Copy folders to systemdrive without winnt.sif ?


skeebum

Recommended Posts

I have been searching and experimenting with this topic for a few days now...

I have a multiboot CD with 6 XP installs (2 OEMs and a VLK, each of which have unattended and attended setups) and all of them have $OEM$ folders

Everything works as it should except for the Attended installs.

I want to keep them attended to ensure that the recovery console or repair options could be used. However, I also want the $OEM$ folders to be copied to the drive when XP is installed.

The only way I have attempted to copy them to drive is by using this Winnt.sif, however doing so skips the Recovery Console screen at the start of setup's execution and goes straight to the drive selection screen.

I have experimented with different settings but as soon as I include the [unattended] tag, the install skips to the drive selection screen. :}

[Data]
AutoPartition=0
MsDosInitiated=”0”
UnattendedInstall=”Yes”

[Unattended]
UnattendMode=ProvideDefault
OemPreinstall=Yes
OemSkipEula=No
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1

WaitForReboot=”No”
TargetPath=\WINDOWS
DriverSigningPolicy=Ignore

[GuiUnattended]
OEMSkipWelcome = 1

Did I miss a setting in winnt.sif? Or should I go about this a different way?

In summary, all I want to do is copy the $OEM$ folders to their respective locations on the drive while maintaining the Attended aspect of the install.

Thanks for your help///

Edited by skeebum
Link to comment
Share on other sites


I have experimented with different settings but as soon as I include the [unattended] tag, the install skips to the drive selection screen. :}

[Data]
AutoPartition=0

I think all you need to do is remove the above. This way, it will halt at the drive selection / format screen...I believe I USED to do it this way...

Edited by JuMz
Link to comment
Share on other sites

[Data]
AutoPartition=0

I think all you need to do is remove the above. This way, it will halt at the drive selection / format screen...I believe I USED to do it this way...

Thanks for the reply. The thing is, I don't want it to skip anything. It should be totally ATTENDED, as I need to be able to use the recovery console or do a repair install, or set domain settings during install, etc.

I am currently using cmdlines.txt to call RunOnceEx.cmd to install the programs that are copied over. The RunOnceEx does execute, however it throws errors when trying to install because the $OEM$ folders didnt copy.

Link to comment
Share on other sites

Hint: your txtsetup.sif in your bootfolder contains all entries of files copied to your hdd by WinSetup. You could add a couple of lines to get your own files copied..

Link to comment
Share on other sites

Your best bet is to completley get rid of winnt.sif. Use the svcpack method to copy your files. Just create a batch file that will run inside svcpack.inf. Take note that some envvars do not work in svcpack.inf (at least from my experiance).

@5128 I like your signature. :thumbup

Link to comment
Share on other sites

Thanks Siginet & 5128 ...

I have been spending some time making that work these last few days. Its hard to concentrate on while putting out other fires :wacko: but hopefully I will be able to test it today.

Looks like a lot of work to make it copy properly since I have to combine some other batch files and streamline the whole system. Plus, it seems that I wont even be able to use OEMPreinstall for the unattended versions because each windows install shares the same I386 folder and svcpack.inf with its unattended counterpart (I also use the svcpack.inf method to install the 60something hotfixes.)

Do you happen to recall which envvars do not work? Currently I am only using %systemdrive%

Any info on this would save me some time since, to test properly, I have to install Windows to the T-12 mark and beyond.

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