You are not logged in.

  • "Master123" started this thread

Posts: 11

Date of registration: Apr 13th 2011

  • Send private message

1

Thursday, May 12th 2011, 10:51am

WIndows Vista unattend Installation Programme integrieren

Hallo zusammen,

ich bin gerade dabei eine unbeaufsichtigte Installation für Vista 32bit Business zu erstellen. Hierzu möchte ich einige Programme in die Installation einbinden, wie zum Beispiel Firefox. Die Programme liegen im Windows Vista Installationsordner unter "Addons". In diesem Ordner befindet sich ebenfalls eine "Spezial.cmd" Datei, mit welcher die Programme nach dem ersten Anmelden installiert werden sollen. Bei Windows 7 hat dies einwandfrei geklappt. Gibt es überhaupt eine Möglichkeit dies unter Vista zu bewerkstelligen und wenn ja wie ?


Hier mal meine Autounattend.xml :

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
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE">
	<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  	<SetupUILanguage>
    	<UILanguage>en-US</UILanguage>
  	</SetupUILanguage>
  	<InputLocale>0407:00000407</InputLocale>
  	<UserLocale>de-DE</UserLocale>
  	<UILanguage>en-US</UILanguage>
  	<SystemLocale>de-DE</SystemLocale>
	</component>
	<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  	<UserData>
    	<ProductKey>
      	<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
      	<WillShowUI>OnError</WillShowUI>
    	</ProductKey>
    	<AcceptEula>true</AcceptEula>
  	</UserData>
  	<ImageInstall>
    	<OSImage>
      	<InstallFrom>
        	<MetaData wcm:action="add">
          	<Key>/IMAGE/NAME</Key>
          	<Value>Windows Vista BUSINESS</Value>
        	</MetaData>
      	</InstallFrom>
      	<InstallToAvailablePartition>false</InstallToAvailablePartition>
      	<WillShowUI>OnError</WillShowUI>
    	</OSImage>
  	</ImageInstall>
	</component>
  </settings>
  <settings pass="oobeSystem">
	<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  	<AutoLogon>
    	<Password>
      	<Value>
      	</Value>
    	</Password>
    	<Enabled>true</Enabled>
    	<LogonCount>1</LogonCount>
    	<Username>Administrator</Username>
  	</AutoLogon>
	  
	  <FirstLogonCommands>
        		<SynchronousCommand wcm:action="add">
            		<RequiresUserInput>false</RequiresUserInput>
            		<CommandLine>%SOURCE%\Addons\Spezial.cmd</CommandLine>
            		<Order>1</Order>
        		</SynchronousCommand>
    		</FirstLogonCommands>
  	<OOBE>
    	<HideEULAPage>true</HideEULAPage>
    	<SkipMachineOOBE>true</SkipMachineOOBE>
    	<SkipUserOOBE>false</SkipUserOOBE>
  	</OOBE>
  	<TimeZone>W. Europe Standard Time</TimeZone>
  	<UserAccounts>
    	<AdministratorPassword>
      	<Value />
    	</AdministratorPassword>
  	</UserAccounts>
	</component>
  </settings>
  <settings pass="specialize">
	<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  	<SkipAutoActivation>true</SkipAutoActivation>
	</component>
	
	
	<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    		<RunSynchronous>
        		<RunSynchronousCommand wcm:action="add">
            		<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:\Spezial1.txt SETX SOURCE %i: -m"</Path>
        		</RunSynchronousCommand>
    		</RunSynchronous>
		</component>
	
	
  </settings>
  <cpi:offlineImage cpi:source="wim:C:/WinVistaBusiness32bit/sources/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>



EDIT: Folgende Fehlermeldung tritt auf :

"Windows could not parse or process unattend answer file [C:\Windows\Panther\unattend.xml] for pass [oobeSystem]. A component or setting specified in the answer file does not exist."



Vielen Dank schonmal!

Lg

This post has been edited 1 times, last edit by "Master123" (May 12th 2011, 11:14am)


Posts: 950

Date of registration: Mar 14th 2009

Thanks: 219 / 21

  • Send private message

2

Thursday, May 12th 2011, 10:59am

@Master123

Ich habe mal den Key der in deiner Autounattended.xml steht durch XXXXX-XXXXX-XXXXX-XXXXX-XXXXX ersetzt.

Gruß

  • "Master123" started this thread

Posts: 11

Date of registration: Apr 13th 2011

  • Send private message

3

Thursday, May 12th 2011, 11:02am

Danke unantastbar. das hatte ich vollkommen vergessen...

beatmaster

Der Addon fanatische

Posts: 2,319

Date of registration: Jan 19th 2009

Thanks: 651 / 26

  • Send private message

4

Thursday, May 12th 2011, 1:25pm

Hallo Master123,

hier einmal der entsprechende beitrag im WIKI: http://wiki.win-lite.de/index.php?title=…mitinstallieren.

Du kannst u.a. auch meine Addons von Win7 für VISTA nutzen. Die meisten sollten eigentlich funktionieren.


Gruß beatmaster
"Können wir das schaffen . Jo wir schaffen das. "
Besucht mich auch in meinem Blog . Da gibts vieles rund ums Thema Tools, Windows und WinLite.

  • "Master123" started this thread

Posts: 11

Date of registration: Apr 13th 2011

  • Send private message

5

Thursday, May 12th 2011, 2:03pm

Hallo beatmaster,

schonmal vielen dank für deine Hilfe. Habe mir mal den WIKI-Artikel durchgelesen und noch eine Frage dazu.
"Die "start /wait" Einträge müssen jetzt an die individuellen Programme im Ordner Addons angepasst werden."Ich weiss nicht genau , wie das gemeint ist. Muss im Addonordner dann noch eine .cmd Datei erstellt werden oder wie kann man die Einträge an die Programme anpassen?

LG

Posts: 38

Date of registration: Apr 27th 2010

Thanks: 0 / 2

  • Send private message

6

Thursday, May 12th 2011, 3:23pm

Hallo Master

ich würde dir den WPI enpfehlen einfacher,viel schöner, und dass ganze auch noch unabhängig vom Installtionsmedium.

Kann auch unattended gestartet werden .


Gruss

Gizmomete

http://www.wpiw.net/

This post has been edited 1 times, last edit by "Gizmomete" (May 12th 2011, 3:24pm)


Posts: 38

Date of registration: Apr 27th 2010

Thanks: 0 / 2

  • Send private message

7

Thursday, May 12th 2011, 3:28pm

Setup einträge anpassen ist gemeint du musst natürlich so anpassen wie die exe heisst.

Bsp--> wenn dein Firefox heisst firefox4.0 exe dann muss das so in der CMD stehen

start /wait %SOURCE%"\Addons\firefox4.0.exe" /S

Gruss

Gizmomete :-D

  • "Master123" started this thread

Posts: 11

Date of registration: Apr 13th 2011

  • Send private message

8

Thursday, May 12th 2011, 4:18pm

ok jetzt klappt alles , vielen Dank nochmal :)

Lg