Seite 2 von 2

Re: Bug in unattend.xml / Win7-64

Verfasst: 26 Apr 2012, 16:54
von d.oertel
Hi,

just verify that you are using the actual stable version
http://download.uib.de/opsi4.0/products ... .1-11.opsi

And that the custom/unattend.xml is identical with the opsi/unattend.xml.template.
If not than copy opsi/unattend.xml.template to custom/unattend.xml .

Does this help ?

regards
d.oertel

Re: Bug in unattend.xml / Win7-64

Verfasst: 04 Mai 2012, 21:16
von topse
Hi and sorry... in the first place I did not realize that 2nd page of this post started...

I have installed the update - I had version 5 of the package.

I have checked the unattend.xml and there were some changes - not done by me. There are in face changes done by me:

Code: Alles auswählen

Line 67:
<!--<Value>#@imagename*#</Value>-->
<Value>Win7 SP1 Professional x64</Value>
-> because I have build an Image with SP1 integrated and have used the given name

Code: Alles auswählen

<!--	<cpi:offlineImage cpi:source="wim:y:/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />-->
<cpi:offlineImage cpi:source="wim:#@winpe_partition_letter*#:/install.wim#Win7 SP1 Professional x64" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
Same Reason...

My feeling is that those changes are not the problem - as it works if I replace the pcname-Variable with a static valid value...

Any idea :-/?

Thanks and Best Regards,
Tobias

Re: Bug in unattend.xml / Win7-64

Verfasst: 11 Mai 2012, 08:48
von topse
Mmh... Am I not the only one who is not noticing the 2nd page of this thread? ;-)

Re: Bug in unattend.xml / Win7-64

Verfasst: 11 Mai 2012, 13:04
von d.oertel
Hi,

remove your second change:

Code: Alles auswählen

<cpi:offlineImage cpi:source="wim:#@winpe_partition_letter*#:/install.wim#Win7 SP1 Professional x64" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
does this help ?

regards
d.oertel

Re: Bug in unattend.xml / Win7-64

Verfasst: 11 Mai 2012, 17:44
von topse
... sorry - problem persists... I really feel its a problem with substituting the pcname-variable...?

Re: Bug in unattend.xml / Win7-64

Verfasst: 11 Mai 2012, 18:57
von d.oertel
Hi,

normally (with an unchanged) we have here never a problem.
So - I think it's time to inspect the patched unattend.xml:
open your win7-x64/setup.py in a editor
search the line

Code: Alles auswählen

print >> f, "copy c:\\opsi\\unattend.xml x:\\unattend.xml >nul\r"
and insert

Code: Alles auswählen

print >> f, "pause \r"
Now the winpe work.cmd shoud stop and you may use Ctrl-C to interupt it
and look for the
c:\opsi\unattend.xml

Please give feedback.

cheers

d.oertel

Re: Bug in unattend.xml / Win7-64

Verfasst: 13 Mai 2012, 11:24
von topse
Hi,
directly after "print >> f, "copy c:\\opsi\\unattend.xml x:\\unattend.xml >nul\r"" I have added the pause-command. I got to the console and then I copied the unattended.xml to my desktop. I did not find a problem. I attached the file (but XXX'ed my serial number).

You find anything?

Sorry - Attachment was not possible ("Sorry, the board attachment quota has been reached.") So please find it here:

http://www.fantasymusic.de/unattend.xml

Best Regards,
Tobias

Re: Bug in unattend.xml / Win7-64

Verfasst: 13 Mai 2012, 15:24
von topse
Hello again,
I just did some more testing... it seems, that the problem occurs, when the name of the pc contains '-' symbols. If I remove the '-' symbols from the name everything is fine... I did not know, that '-' is not allowed for a pc name?

Best Regards,
Tobias

Re: Bug in unattend.xml / Win7-64

Verfasst: 14 Mai 2012, 14:40
von d.oertel
Hi,

i just installed a win7x64 named 'detlef-vm-04' without any problems....
and '-' are allowed.

I Think you have still a problem with your xml file:

Code: Alles auswählen

	<settings pass="specialize">

		<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
-			<ComputerName>vbox-opsi-client</ComputerName>
<!--			<ComputerName>testpcname</ComputerName>-->
			<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
			<CopyProfile>false</CopyProfile>
There is a minus sign and white spaces before <ComputerName> and the <ProductKey> is wrong here.

See the opsi template:

Code: Alles auswählen

	<settings pass="specialize">
		
		<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">
			<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
			<ComputerName>#@pcname*#</ComputerName>
			<!--  <ProductKey>#@productkey*#</ProductKey>  -->
			<CopyProfile>false</CopyProfile>
regards
d.oertel

Re: Bug in unattend.xml / Win7-64

Verfasst: 16 Mai 2012, 18:30
von topse
Now it works... thanks for your help. It must have been an interesting combination of problems - which I think I caused myself - so thank you very much...

Best Regards,
Tobias