Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Drivers Via CD

Featured Replies

Hi all

I'm attempting to add OEM drivers to my CD. I've followed the section on the website entitled 'Drivers via CD' and am getting an error at the file copy stage of the install :-

Setup cannot copy the file presetup.cmd

I've edited txtsetup.sif as stated, placed all the relevant files in the I386 folder etc.

Anyone got any ideas?

Have you tried integrating the same driver trough nLite to see if that works?

  • Author

I'm not using nLite as it doesn't seem to let me add any more drivers after I've added a few (ie started another nLite session at a later date and attempted to add more drivers) which I may need to do.

Is there a way around this?

  • Author

I'll give it a try.

One problem though. I can't find winnt.sif anywhere! I vaguely recall seeing it in the distant past, but I can't find it anywhere on any i386 source I have access to. Is it hidden in a .cab file?

Andy

  • Author

Ok. I posted before doing much research :(

winnt.sif is the CD version of unattend.txt or answer.txt (or whatever you would like to call the answer file).

Unfortunately, the version I'm writing here is intended to boot from either floppy, CD, USB drive or network and use an install source from either CD, USB drive or network. While I can call the answer file anything I want, actually having it in the i386 folder isn't cool for me as I have a DOS menu portion before the install that will overwrite portions of the answer file dependant on user input, and this is obviously not possible if on a CD (the idea being to provide a very customisable menu driven install for relatively none technical IT department members if required).

Can this version be 'tweaked' to look at a none CD version of the answer file?

Andy

it doesn't matter where the answer file is. as long as it is being read during setup, it will call the drivers.cmd file, which will install the drivers...

  • Author

I've attempted this method, following the instructions to the letter (unless I've been stoopid and done something wrong, which is a possibility :blink: ) and I don't see a batch file running at any point of the install :(

I've cut and pasted the [GuiUnattended] section that should show the batch file and copied the zipped files to $OEM$ as suggested.

I have a $OEM$\Drivers folder containing my drivers (in subfolders under this). I've even shortened all folder names to less than 8 chars just in case there are issues with 8.3 naming conventions. I still see nothing and no OEM drivers get installed.

The only thing that I can see is definately different is that I have extra entries in [GuiUnattended] for the time zones, admin passwords etc. I've tried reming these out, but no joy.

Any ideas as to what I'm doing wrong?

What sets the %I and %J variables?

Andy

Edited by Duckfather

the code you copied into guiunattended detects your cd/dvd drive, and finds drivers.cmd (the batch file) on it.

  • Author

Ok, so I've found out why this wasn't working in the first place. My $oem$ folder wasn't being found, which hints at a bigger issue, as my $oem$ folder is now being seen, but the scripts still don't seem to run.

I beleave that the reason for this is that certain variables are set by the Autobooted setup program (setup.exe), which I'm not running.

The reason for this is that I have a pre-installation portion which destroys any corrupt partitions, installs a 2GB MS-DOS partition and boots from this to run winnt.exe with an unattend.txt file. I have to do this because I have not guarantee that an intact partition will be available for file copies, or that there will be a bootable CD ROM. In fact, my installation is coded to boot from floppy, CD, NIC or USB drive before re-creating local partitions and then kicking off winnt.exe (using a source on either CD, network or USB drive).

Does setup.exe set certain system variables at installation launch? Certain system variables are used by the scripts (%I, %J, %CD%, %SystemDrive%, %SystemRoot%) which I obviously don't have set if I boot from my MS-DOS partition as opposed to the CD.

Cheers

Andy

Regarding your question as to nLite not being able to add more drivers later... the new RC4 version of nLite can add more drivers later :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.