You are not logged in.

  • "Modano" started this thread

Posts: 23

Date of registration: Nov 20th 2008

  • Send private message

1

Friday, August 21st 2009, 11:33am

CDROM in Autounattend.xml festlegen

Hi Leute,

habe mir ein WIHU Menü zusammengestellt und will es nun mit dem ersten Logon starten lassen. WIe kann ich in der Autounattend.xml das CDROM LW festlegen?

Im root der CD habe ich eine leere txt Datei (cdrom.txt). Klappt das dann und wie kann ich das WIHU starten? WIHU liegt im root der CD im Ordner wihu! Meine Autounattend.xml sieht so aus:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE">
	<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS">
  	<SetupUILanguage>
    	<UILanguage>de-DE</UILanguage>
  	</SetupUILanguage>
  	<InputLocale>0407:00000407</InputLocale>
  	<UserLocale>de-DE</UserLocale>
  	<UILanguage>de-DE</UILanguage>
  	<SystemLocale>de-DE</SystemLocale>
	</component>
	<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS">
  	<UserData>
    	<ProductKey>
      	<Key>xxxxxxxxxxxxxxxxxxx</Key>
      	<WillShowUI>OnError</WillShowUI>
    	</ProductKey>
    	<Organization>Modano Inc.</Organization>
    	<FullName>Modano</FullName>
    	<AcceptEula>true</AcceptEula>
  	</UserData>
  	<Display>
            	<ColorDepth>32</ColorDepth>
            	<HorizontalResolution>1024</HorizontalResolution>
            	<VerticalResolution>768</VerticalResolution>
  	</Display>
  	<ImageInstall>
    	<OSImage>
      	<InstallFrom>
        	<MetaData wcm:action="add">
          	<Key>/IMAGE/NAME</Key>
          	<Value>Windows Vista ULTIMATE</Value>
        	</MetaData>
      	</InstallFrom>
      	<InstallToAvailablePartition>false</InstallToAvailablePartition>
      	<WillShowUI>OnError</WillShowUI>
    	</OSImage>
  	</ImageInstall>
	</component>
  </settings>
  <settings pass="oobeSystem">
	<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS">
  <RunSynchronous>
  <RunSynchronousCommand wcm:action="add">
  <Description>Detection CDROM</Description>
  <Order>1</Order>
  <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\cdrom.txt SETX CDROM %i:\ -m"</Path>
  </RunSynchronousCommand>
  </RunSynchronous> 	
  	<AutoLogon>
    	<Password>
      	<Value>
      	</Value>
    	</Password>
    	<Enabled>true</Enabled>
    	<LogonCount>1</LogonCount>
    	<Username>Administrator</Username>
  	</AutoLogon>   
  	<OOBE>
      	<HideEULAPage>true</HideEULAPage>
      	<SkipMachineOOBE>true</SkipMachineOOBE>
      	<SkipUserOOBE>false</SkipUserOOBE>
  	</OOBE>
  	<FirstLogonCommands>
            	<SynchronousCommand wcm:action="add">
                	<CommandLine>%SystemDrive%\install.cmd</CommandLine>
                	<Description>customises settings</Description>
                	<Order>20</Order>
            	</SynchronousCommand>
  	</FirstLogonCommands>
  	<TimeZone>W. Europe Standard Time</TimeZone>
  	<OEMInformation>
        	<Manufacturer>Modano</Manufacturer>
        	<Logo>C:\WINDOWS\system32\oemlogo.bmp</Logo>
        	<SupportURL>www.modano-unattended.de.vu</SupportURL>
  	</OEMInformation>
	</component>
  </settings>
  <settings pass="specialize">
	<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS">
  	<ComputerName>VISTA-PC</ComputerName>
	</component>
	<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS">
  	<SkipAutoActivation>true</SkipAutoActivation>
	</component>
  </settings>
  <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:D:/VISTA/SLIPSTREAM.SP1.SP2/Vista.ULTIMATE.x86.SP1.SP2.Integrated.May.2009/sources/install.wim#Windows Vista ULTIMATE"/>
</unattend>

Posts: 1,781

Date of registration: Sep 23rd 2008

Thanks: 1 / 0

  • Send private message

2

Friday, August 21st 2009, 2:46pm

Folgendes schon gelesen?: >>Programme integrieren Guide<<
Dort wird erklärt wie du eigenen Programmcode während der Vista-Installation aufrufen kannst.
Denn eine Möglichkeit direkt in der autounattended.xml per Variable auf das CD-LW zuzugreifen ist mir nicht bekannt.

This post has been edited 1 times, last edit by "AspirinJunkie" (Aug 21st 2009, 2:49pm)


peterpan

Ahnungsloser

Posts: 481

Date of registration: Sep 23rd 2008

Thanks: 0 / 21

  • Send private message

3

Friday, August 21st 2009, 3:11pm

Also...
Wie AspirinJunkie schon erklärt, CD-Rom zuweisen ist nicht möglich, und
Folgendes schon gelesen?:

Wenn Du von CD Starten willst muss diese Zeile WEG, denn hier ist ja ein Verzeichniss auf deiner Festplatte.

Source code

1
2
3
<cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" 
  cpi:source="wim:D:/VISTA/SLIPSTREAM.SP1.SP2/Vista.ULTIMATE.x86.SP1.SP2.
  Integrated.May.2009/sources/install.wim#Windows Vista ULTIMATE"/>

Die Autounattend.xml wird automatisch erkannt,da ja auch die CD schon erkannt wird.

Falls vorhanden kopiere die Autounattend.xml auf eine Leere Diskette, oder USB Stick.
Computer von CD- starten und die Diskette / den Stick ins Laufwerk.
Jetzt wird gesagt "Diskette entfernen und Taste drücken", das mach mal so und schiebe sie
nachdem das Setup weiterläuft gleich wieder rein.
Nun wird die Installation von Disk oder sogar vom USB Stick falls die Maschine es kann erkannt.
Der Vorteil ist, du hast eine Grund CD zum Testen und kannst mit der Autounattend.xml probieren.

chris.b

V.I.P.

Posts: 1,122

Date of registration: Sep 23rd 2008

Thanks: 2 / 3

  • Send private message

4

Friday, August 21st 2009, 3:28pm

Source code

1
source="wim:D:/VISTA/SLIPSTREAM.SP1.SP2/Vista.ULTIMATE.x86.SP1.SP2.Integrated.May.2009/sources/install.wim#Windows Vista ULTIMATE"


Dazu wollte ich grad was anderes schreiben...
Muss ja jeder selbst wissen aber ein integrated Wärez Release ist nicht wirklich die beste Basis.

  • "Modano" started this thread

Posts: 23

Date of registration: Nov 20th 2008

  • Send private message

5

Saturday, August 22nd 2009, 10:42pm

Besten Dank, mit der im WIKI beschriebenen Methode 1 hat es super geklappt!