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.

commands.txt when using floppy.

Featured Replies

Hi

I'm trying to use a vanilla XP an a floppy with a winnt.sif. Where should I place cmdlines.txt so it get's executed when doing a installation.

Edited by THXTEX

I think you mean cmdlines.txt. In order to parse cmdlines.txt you need to have your source on a network share (or local hard drive) or a customized CD. You might be able to accomplish what you want using autologin and guirunonce.

Edited by Bezalel

  • Author
I think you mean cmdlines.txt.

Ups, you are right about that.

I need to make reg-tweaks to the default profile, so these must be made at before guirunonce.

I have a self-extracting WinRAR archive that extracts to %systemdrive%/OEM, which is run from presetupcmd. The SFX afterwards calls the AutoIT script that installs drivers. So basicly i could put the "cmdlines.txt" in this directory aswell. But I don't think that the installer sees this as the $OEM$ folder. (Maybe $OEM$ isn't used when using a floppy).

I was wrong in my previous post. According to the documentation you can use the OemFilesPath in the [unattended] section the specify where your $OEM$ directory is located. Try the following:

[Unattended]
OemFilesPath="A:"

Make sure your cmdlines.txt is located in A:\$OEM$\cmdlines.txt

SetupParams might also work for you.

  • Author

Thanks, I'll try that when I get home and report back here.

  • Author
[Unattended]
OemFilesPath="A:"

Nope, it didn't work. I was thinking.... are files at this place limited to 8.3?

BTW: This is my winnt.sif

;SetupMgrTag
[Data]
AutomaticUpdates = Yes
AutoPartition = 0
MsDosInitiated = 0
UnattendedInstall = Yes

[Unattended]
UnattendSwitch = Yes
UnattendMode = FullUnattended
OemFilesPath = "A:"
OemSkipEula = Yes
OemPreinstall = No
TargetPath = \Windows
ProgramFilesDir = "C:\Programmer"
Repartition = No
WaitForReboot = No
AutoActivate = No
Hibernation = No
Filesystem = LeaveAlone
KeyboardLayout = Danish

[GuiUnattended]
DetachedProgram = "a:\OEM.exe" ; WinRAR sfx that extracts some files to %systemdrive%\oem\
; executed in [GuiRunOnce]
AdminPassword = "************"
EncryptedAdminPassword = No
AutoLogon = Yes
AutoLogonCount = 1
OEMSkipRegional = 1
TimeZone = 105
OemSkipWelcome = 1
ProfilesDir = "%SystemDrive%\Documents and Settings\"

[UserData]
ProductKey = "*****-*****-*****-*****"
FullName = "****** *****"
OrgName = "*******"
ComputerName = ********

[Display]
BitsPerPel = 32
Vrefresh = 85
Xresolution = 800
Yresolution = 600

[TapiLocation]
CountryCode = 45

[Identification]
JoinWorkgroup = Arbejdsgruppe

[Components]
...
...

[Shell]
DefaultStartPanelOff = Yes
DefaultThemesOff = Yes

[Networking]
InstallDefaultComponents=No

[NetAdapters]
Adapter1=params.Adapter1

[params.Adapter1]
INFID=*

[NetClients]
MS_MSClient=params.MS_MSClient

[NetServices]
MS_SERVER=params.MS_SERVER

[NetProtocols]
MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=No
IPAddress=192.168.0.22
SubnetMask=255.255.255.0
DefaultGateway=192.168.0.1
DNSServerSearchOrder=***.***.***.***,***.***.***.***
WINS=No
NetBIOSOptions=0

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=http://www.newz.dk
Search_Page=http://www.google.com

[GuiRunOnce]
Command0 = %SystemDrive%\OEM\RunOnce.bat

Maybe OemFilesPath = "A:\" or OemFilesPath = "A:\myfiles" would work

The first case cmdlines.txt goes in the top level of the floppy.

The second it goes in a dir on the floppy called myfiles.

OemPreinstall must be yes when using the $OEM$ structure. When using the CD-Boot method you are not limited to 8.3.

  • Author

Thanks for both your answers....

OemFilesPath = "A:\" - Haven't tried this one. Will do it later today.

OemFilesPath = "A:\myfiles" - I tried with OemFilesPath = "A:\$OEM$" and this didn't work.

OemPreinstall = Yes - Tried this one aswell without success. Shouldn't this only be set to Yes when you need to copy files from your CD to the systemdrive?

Anyway - I have another floppysetup with a winnt.sif which is simular to the one above, but with this part added.

[MassStorageDrivers]
"Intel(R) 82801ER SATA RAID Controller" = OEM

[OEMBootFiles]
Txtsetup.oem
iaStor.inf
iaStor.sys
iaStor.cat

The drivers are placed on the rootlevel of the floppy and this works perfectly, bit only if OemPreinstall is set to No. Maybe this can help.

Edited by THXTEX

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.