Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

cmdlines.txt wird nicht beachtet bei unattended Installation von XP

Empfohlene Antworten

Veröffentlicht

Hallo!

Ich verzweifel im Moment an einer unattended Installation von Windows XP.

Ich habe mir ein Image mit Hilfe von nlite gemacht und will zusätzliche Software nach Ende der XP installation installieren. Ich hab die Software in den $oe***\$1 Ordner gepackt und eine RunOnceEx.cmd erstellt (siehe unten)

Die Installation von XP läuft selbstständig ab aber die cmdlines.txt wird nicht eingelesen bzw die RunOnceEx.bat startet einfach nicht was zur Folge hat dass die Software nicht installiert wird. Woran kann das liegen?

Ordnerstruktur:

$oe***

$1\

cmdlines.txt

RunOnceEx.cmd

Inhalt der RunOnceEx:

%WINDIR%\SYSTEM32\cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "Installation von diversen Anwendungen" /f

REG ADD %KEY%\001 /VE /D "Installationen werden vorbereitet..." /f

REG ADD %KEY%\002 /VE /D "Acrobat Reader 9" /f

REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Installation\AdbeRdr90_de_DE.exe" /silent /f

REG ADD %KEY%\003 /VE /D "Firefox 3.0.6" /f

REG ADD %KEY%\003 /V 1 /D "%systemdrive%\Installation\Firefox Setup 3.0.6.exe" /s /f

REG ADD %KEY%\004 /VE /D "Java Runtime" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\Installation\jre-6u12-windows-i586-p-s.exe" /passive /f

REG ADD %KEY%\005 /VE /D "Framework" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Installation\Framework\netfx.msi" /passive /norestart /f

REG ADD %KEY%\007 /VE /D "Antivir" /f

REG ADD %KEY%\007 /V 1 /D "%systemdrive%\Installation\antivir.exe" /f

REG ADD %KEY%\008 /VE /D "FileZilla" /f

REG ADD %KEY%\008 /V 1 /D "%systemdrive%\Installation\FileZilla.exe" /f

REG ADD %KEY%\009 /VE /D "Flashplayer" /f

REG ADD %KEY%\009 /V 1 /D "%systemdrive%\Installation\Flashplayer.exe" /f

REG ADD %KEY%\010 /VE /D "IrfanView" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Installation\IrfanView.exe" /f

REG ADD %KEY%\011 /VE /D "Notepad++" /f

REG ADD %KEY%\011 /V 1 /D "%systemdrive%\Installation\Notepad++.exe" /f

REG ADD %KEY%\012 /VE /D "Microsoft Office" /f

REG ADD %KEY%\012 /V 1 /D "%systemdrive%\Installation\Office.exe" /f

REG ADD %KEY%\013 /VE /D "VLC" /f

REG ADD %KEY%\013 /V 1 /D "%systemdrive%\Installation\VLC.exe" /f

REG ADD %KEY%\014 /VE /D "WinRAR" /f

REG ADD %KEY%\014 /V 1 /D "%systemdrive%\Installation\WinRAR.exe" /f

REG ADD %KEY%\015 /VE /D "Batch und Registry" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Installation\Laufwerksnamen.bat" /f

REG ADD %KEY%\015 /V 2 /D "%systemdrive%\Installation\Verknuepfungenkopieren.bat" /f

REG ADD %KEY%\015 /V 3 /D "%systemdrive%\Installation\Drucker.bat" /f

REG ADD %KEY%\015 /V 4 /D "REGEDIT /S %systemdrive%\Installation\Registry.reg" /f

Die cmdlines.txt hat folgenden Inhalt:

[COMMANDS]

"RunOnceEx.cmd"

Inhalt der Winnt.sif:

; Generated by nLite 1.4.9.1

[Data]

Autopartition=1

MsDosInitiated=0

UnattendedInstall=Yes

AutomaticUpdates=No

[unattended]

UnattendMode=FullUnattended

OemPreinstall=Yes

OemSkipEula=Yes

UnattendSwitch=Yes

TargetPath=\WINDOWS

Repartition=Yes

FileSystem=*

WaitForReboot="No"

[GuiUnattended]

AdminPassword=01fc5a6be7bc6929aad3b435b51404ee0cb6948805f797bf2a82807973b89537

EncryptedAdminPassword=Yes

AutoLogon=Yes

AutoLogonCount=1

OEMSkipRegional=1

TimeZone=110

OemSkipWelcome=1

[userData]

ProductKey="XXX"

ComputerName=TEST

OrgName=""

FullName="XXX"

OrgName="XXX"

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=75

[shell]

DefaultStartPanelOff = Yes

[TapiLocation]

CountryCode=49

[RegionalSettings]

LanguageGroup=2,1

SystemLocale=00000407

UserLocale=00000407

InputLocale=0407:00000407

[identification]

JoinWorkgroup=LAN

[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=Yes

UseDomainNameDevolution=No

EnableLMHosts=Yes

AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]

SpecificTo=Adapter1

DHCP=Yes

IPAddress=192.168.0.5

SubnetMask=255.255.255.0

DefaultGateway=192.168.0.1

DNSServerSearchOrder=192.168.0.1

WINS=No

NetBIOSOptions=0

[branding]

BrandIEUsingUnattended=Yes

[Proxy]

Proxy_Enable=0

Use_Same_Proxy=0

Home_Page=XXXX

Sagt bescheid wenn ihr mehr Infos braucht. Danke schonmal

Mach mal den Eintrag in die Winnt.sif:

[GuiRunOnce]

%systemdrive%\install\RunOnce.cmd

Natürlich mit deinem angepassten Pfad..

Wenn du Doku brauchst, das Thema war mein Abschluss Projekt :-)

Bearbeitet von Pimpermann

  • Autor

sehr gerne!

screamer99[at]gmx[.]net

Aber ich dachte die cmdlines.txt wird während der Installation eingelesen sodass am Ende der XP Installation bevor der Rechner neustartet die Anwendungen installiert werden und somit Anwendungen die nach der Installation einen Neustart benötigen gleich funktionieren da der PC eh nochmal neustartet. Hingegen dass was in der GuiRunOnce steht nach dem Neustart und direkt vor der Benutzeranmeldung installiert wird.

Hab auch schon öfter gelesen dass man den GuiRunOnce Befehl nicht braucht wenn man eine cmdlines.txt hat :confused::confused::confused:

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.