MSFN Forum: Vista unattended Guide - MSFN Forum

Jump to content


  • 15 Pages +
  • « First
  • 5
  • 6
  • 7
  • 8
  • 9
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Vista unattended Guide A little Guide for you Rate Topic: -----

#121 User is offline   tonycrew 

  • Newbie
  • Group: Members
  • Posts: 42
  • Joined: 18-May 04

Posted 22 June 2007 - 09:23 AM

Ok got it working i tried your advice although vista told me to do it... anyway i disabled Symantec AV, i closed winamp agent, i closed Clone CD tray and closed Deamon Tools and it went ok.

Thanx for your help and paitience... :)

This post has been edited by tonycrew: 22 June 2007 - 09:23 AM



#122 User is offline   acen2006 

  • Junior
  • Pip
  • Group: Members
  • Posts: 77
  • Joined: 27-May 06

Posted 23 June 2007 - 02:06 PM

Im getting the following errors when I come to save my XML answer file.

Setting SkipMachineOOBE is deprecated in the windows image.
8 x The setting has not been modified. It will no be saved to the answer file.


my answer file :

<?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>00020437</InputLocale>
<UserLocale>en-GB</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-GB</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>**********************</Key> (I deleted this for purpose of post)
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
</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>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value />
<PlainText>true</PlainText>
</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 &quot;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:\AppsRoot.txt SETX AppsRoot %i: -m&quot;</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="auditUser">
<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 REGEDIT /S %AppsRoot%Install\RegTweaks\IE Desktop.reg</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>cmd /c REGEDIT /S %AppsRoot%Install\RegTweaks\Vista Tweaks.reg</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>cmd /c %AppsRoot%Install\Opera\Opera921.exe</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>cmd /c %AppsRoot%Install\ConnectionPatch\InstallPatch32.bat</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>60</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/documents%20and%20settings/administrator/desktop/project_x/sources/install.wim#Windows Vista (vLite) HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Would anyone be able to help where Im going wrong. Thanks in advance & the UA Vista guide is great.

This post has been edited by acen2006: 24 June 2007 - 12:34 AM


#123 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 25 June 2007 - 04:39 AM

Hello acen2006!

Please look here.

Regards,
Martin

#124 User is offline   shampoo 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 05-April 07

Posted 27 June 2007 - 01:37 AM

Martin,

Sorry for the late response

Im talking about this:

Attached File  info12.JPG (32.39K)
Number of downloads: 44


I took it from an Acer laptop, is the map where all the offers, eula and pics end so on stand.
I changed it into my own information. So the offers and pics come in the welcome screen.

Now the question is: Can i automate it so that when install Vista with ur great guide, the map goes directly where it needs to be put (oobe).
Or is there an other way.

thx for youre time :thumbup

#125 User is offline   komo06 

  • Group: Members
  • Posts: 2
  • Joined: 28-January 06

Posted 29 June 2007 - 01:03 PM

Hi,

i followed the guide and started the install and it works fine after i click next on the below window:

Attached File  Capture.JPG (63.71K)
Number of downloads: 33


Any ideas why this window is still poping up?

This post has been edited by komo06: 29 June 2007 - 10:47 PM


#126 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 30 June 2007 - 05:36 AM

View Postkomo06, on Jun 29 2007, 09:03 PM, said:

Hi,

i followed the guide and started the install and it works fine after i click next on the below window:
...


Hello komo!

Well, if you would have followed the guide correctly, you would not get this window! :thumbup Sorry, I'm kidding!

But I can't read tea leaves... so would you may post your Autounattend.xml. :hello:

Regards,
Martin

#127 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 30 June 2007 - 05:42 AM

Guide Update:

I've changed the row inside manual updates section from:

# Alternative I - Manual Integration

	* Step 1: Copying updates into one folder

	* Step 2: Mounting install.wim
	
	* Step 3: Creating temporary folder

	* Step 4: Extracting update files

	* Step 5: Importing update packages to WSIM

	* Step 6: Adding update and hotfix packages to answer file

	* Step 7: Saving answer file as Integrate.xml

	* Step 8: Integrating updates using package manager pkgmgr.exe

	* Step 9: Save changes to install.wim

	* Step 10: Clearing Sandbox directory

	* If something went wrong

to

Alternative I - Manual Integration

	* Step 1: Copying updates into one folder

	* Step 2: Creating temporary folder

	* Step 3: Extracting update files

	* Step 4: Importing update packages to WSIM

	* Step 5: Adding update and hotfix packages to answer file

	* Step 6: Saving answer file as Integrate.xml

	* Step 7: Mounting install.wim

	* Step 8: Integrating updates using package manager pkgmgr.exe

	* Step 9: Save changes to install.wim

	* Step 10: Clearing Sandbox directory

	* If something went wrong



Before you could recieve an error message while trying to open install.wim inside WSIM, telling that install.wim is in use already.

Regards,
Martin

#128 User is offline   komo06 

  • Group: Members
  • Posts: 2
  • Joined: 28-January 06

Posted 30 June 2007 - 03:55 PM

i found my problem

This post has been edited by komo06: 30 June 2007 - 04:00 PM


#129 User is offline   No_Style 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 18-December 03

  Posted 09 July 2007 - 09:23 PM

Is it normal to not have entries in your Add/Remove Programs after running the installation files from audituser mode? For some reason, my Daemon Tools and Opera entries are not present. The Start Menu shortcuts do not appear either. The only item which appears is the Sun Java. I tested the applications (Opera and Daemon Tools) and they work fine, it's just that their entries are missing from the Add/Remove programs and start menu. Is there something wrong with my installation files?

Any insight would be a appreciated. Thanks!

#130 User is offline   Atheros 

  • Junior
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 01-June 04

Posted 10 July 2007 - 08:46 AM

View PostNo_Style, on Jul 9 2007, 09:23 PM, said:

Is it normal to not have entries in your Add/Remove Programs after running the installation files from audituser mode? For some reason, my Daemon Tools and Opera entries are not present. The Start Menu shortcuts do not appear either. The only item which appears is the Sun Java. I tested the applications (Opera and Daemon Tools) and they work fine, it's just that their entries are missing from the Add/Remove programs and start menu. Is there something wrong with my installation files?

Any insight would be a appreciated. Thanks!


I believe thats it is caused by you being as the administrator in audit mode. maybe this is restricting you from removing the programs that the administrator has installed?? just a thought.... also i didn't think you could get rid of the language selection at the begining of a vista install... when its white i know it has detected the autounattend.xml.

when installing are you selecting that applies to all users or this account only?

This post has been edited by Atheros: 10 July 2007 - 08:48 AM


#131 User is offline   No_Style 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 18-December 03

Posted 10 July 2007 - 08:54 PM

View PostAtheros, on Jul 10 2007, 10:46 AM, said:

View PostNo_Style, on Jul 9 2007, 09:23 PM, said:

Is it normal to not have entries in your Add/Remove Programs after running the installation files from audituser mode? For some reason, my Daemon Tools and Opera entries are not present. The Start Menu shortcuts do not appear either. The only item which appears is the Sun Java. I tested the applications (Opera and Daemon Tools) and they work fine, it's just that their entries are missing from the Add/Remove programs and start menu. Is there something wrong with my installation files?

Any insight would be a appreciated. Thanks!


I believe thats it is caused by you being as the administrator in audit mode. maybe this is restricting you from removing the programs that the administrator has installed?? just a thought.... also i didn't think you could get rid of the language selection at the begining of a vista install... when its white i know it has detected the autounattend.xml.

when installing are you selecting that applies to all users or this account only?


I believe you are correct, sir. I re-did my Opera installation specifying the ALLUSERs switch and it appeared in the Add/Remove. Odd since I never had to do that with my XP install. Go figure. Thanks, sir. :D

#132 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 11 July 2007 - 03:59 AM

Quote

...I believe thats it is caused by you being as the administrator in audit mode. ...


That is right.

Quote

I re-did my Opera installation specifying the ALLUSERs switch and it appeared in the Add/Remove.


Another option should be to copy the Administrators user profile to the Default user profile when leaving audit mode like described here. This has the advantage that all user specific settings are moved to Default user profile and all user in future will inherit them, even if they were installed with an "AllUsers" switch or not.

Regards,
Martin

#133 User is offline   Spaceboy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 21-January 04

Posted 11 July 2007 - 06:17 PM

I'm getting the following error when running mount_install_wim.cmd:

VVersion= NOT DECLARED! 
ImgX= NOT DECLARED! 
 
   2 environment variables are not setted. So the  
   procedure can't be continued. 
 
   Check Control Panel \ System \ Avanced \ 
   to find out, if all environment variables were setted correctly. 
 
   You will find more informations about that inside Vista guide 
   in "Preparation\ Prepare directories".


I adjusted the value of ImgX variable BEFORE executing the PrepLab.cmd, as stated in the x64 notes for PrepLab.cmd. Imgx shows up under "system variables", but VVersion is missing.

Any ideas how to fix this?

#134 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 12 July 2007 - 12:30 AM

Hello Spaceboy!

Please change the following line inside PrepLab.cmd from,

IF EXIST "%WorkDrive%\VistaWork\DVD\boot\cdboot.efi" SETX VVersion amd64 -m


to

IF EXIST "%WorkDrive%\VistaWork\DVD\bootmgr.efi" SETX VVersion amd64 -m
.


This should set the VVersion to amd64 than.

For the moment I can't find an error that would cause the ImgX problem. Would you please post your adapted PrepLab.cmd.

Thanks & Regards,
Martin

#135 User is offline   Spaceboy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 21-January 04

Posted 12 July 2007 - 04:42 PM

View PostFireGeier, on Jul 12 2007, 07:30 AM, said:

Please change the following line inside PrepLab.cmd from,

IF EXIST "%WorkDrive%\VistaWork\DVD\boot\cdboot.efi" SETX VVersion amd64 -m


to

IF EXIST "%WorkDrive%\VistaWork\DVD\bootmgr.efi" SETX VVersion amd64 -m
.

This should set the VVersion to amd64 than.

For the moment I can't find an error that would cause the ImgX problem. Would you please post your adapted PrepLab.cmd.


Thanks. VVersion is now set correctly. Just found what was causing the ImgX problem. In your prepare.cmd you've written the following:

::so the whole line looks like this:
::
::SETX Imgx "%Programfiles%\Windows AIK\Tools\amd64" -m


"SETX Imgx" however should read "SETX ImgX". The X in ImgX being a capital Letter. Anyway problem solved now, thanks for the help

#136 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 13 July 2007 - 03:28 AM

Quote

"SETX Imgx" however should read "SETX ImgX". The X in ImgX being a capital Letter. Anyway problem solved now, thanks for the help


Hello Spaceboy!

You're right. Thank you for your feedback! :thumbup I will correct both things now, and upload the corrected version!

The VVersion problem was comming up cause MS changed the location and name of the 64bit boot file in the final release.

I just wanna mention again, that I've no 64bit environment here, so there is no guarantee that the batchs will run exactly the same way like under x86. So I'm depended from users feedback to improve the 64bit version.

Thanks again!

Regards,
Martin

#137 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 13 July 2007 - 04:08 AM

GUIDE UPDATE:

PrepLab.cmd of VU Batch Modules has been changed and corrected some errors for 64bit environment:

Following two lines have been changed:

Example line:

From:
SETX Imgx "%Programfiles%\Windows AIK\Tools\amd64" -m

To:
SETX ImgX "%Programfiles%\Windows AIK\Tools\amd64" -m

Set VVersion line:

From:
IF EXIST "%WorkDrive%\VistaWork\DVD\boot\cdboot.efi" SETX VVersion amd64 -m

To:
IF EXIST "%WorkDrive%\VistaWork\DVD\bootmgr.efi" SETX VVersion amd64 -m


Much thanks goes to Spaceboy, who has reported the error and posted part of the fix!

Regards,
Martin

p.s.: The full and corrected version of VU Batch Modules can be downloaded from here.

This post has been edited by FireGeier: 13 July 2007 - 04:10 AM


#138 User is offline   Spaceboy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 21-January 04

Posted 13 July 2007 - 06:29 PM

Ok, i've created an iso and tried installing in VMware. The problem is the Disk configuration screen never appears. Installation starts and then reboots in an infinite loop. Here's my AUTOUNATTEND.XML file:

<?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="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">
			<SetupUILanguage>
				<UILanguage>en-GB</UILanguage>
			</SetupUILanguage>
			<InputLocale>0809:00000809</InputLocale>
			<SystemLocale>en-GB</SystemLocale>
			<UILanguage>en-GB</UILanguage>
			<UserLocale>en-GB</UserLocale>
		</component>
		<component name="Microsoft-Windows-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">
			<UserData>
				<ProductKey>
					<WillShowUI>OnError</WillShowUI>
					<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXX</Key>
				</ProductKey>
				<AcceptEula>true</AcceptEula>
			</UserData>
			<Display>
				<ColorDepth>32</ColorDepth>
				<HorizontalResolution>1280</HorizontalResolution>
				<VerticalResolution>1024</VerticalResolution>
			</Display>
			<ImageInstall>
				<OSImage>
					<InstallFrom>
						<MetaData wcm:action="add">
							<Value>2</Value>
							<Key>/IMAGE/INDEX</Key>
						</MetaData>
					</InstallFrom>
					<InstallToAvailablePartition>false</InstallToAvailablePartition>
					<WillShowUI>OnError</WillShowUI>
				</OSImage>
			</ImageInstall>
			<EnableFirewall>false</EnableFirewall>
		</component>
	</settings>
	<settings pass="specialize">
		<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
			<SkipAutoActivation>true</SkipAutoActivation>
		</component>
	</settings>
	<settings pass="oobeSystem">
		<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">
			<AutoLogon>
				<Password>
					<Value>bQBpAG4AbgBpAGUAUABhAHMAcwB3AG8AcgBkAA==</Value>
					<PlainText>false</PlainText>
				</Password>
				<Enabled>true</Enabled>
				<Username>Administrator</Username>
				<LogonCount>2</LogonCount>
			</AutoLogon>
			<Display>
				<ColorDepth>32</ColorDepth>
				<VerticalResolution>1024</VerticalResolution>
				<HorizontalResolution>1280</HorizontalResolution>
				<DPI>96</DPI>
			</Display>
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Home</NetworkLocation>
				<ProtectYourPC>3</ProtectYourPC>
				<SkipMachineOOBE>true</SkipMachineOOBE>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
			<TimeZone>GMT Standard Time</TimeZone>
		</component>
		<component name="Microsoft-Windows-International-Core" 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">
			<InputLocale>0809:00000809</InputLocale>
			<SystemLocale>en-GB</SystemLocale>
			<UserLocale>en-GB</UserLocale>
			<UILanguage>en-GB</UILanguage>
		</component>
	</settings>
	<cpi:offlineImage cpi:source="wim:c:/vistawork/dvd/sources/install.wim#Windows Longhorn SERVERENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


Any ideas?

#139 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 July 2007 - 07:53 PM

Try removing the following from your xml

Quote

<InstallToAvailablePartition>false</InstallToAvailablePartition>


If you want to choose etc.

#140 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,752
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 July 2007 - 10:07 PM

Quote

The problem is the Disk configuration screen never appears.

<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>

Remove <InstallToAvailablePartition>
Change <WillShowUI> to Always

Share this topic:


  • 15 Pages +
  • « First
  • 5
  • 6
  • 7
  • 8
  • 9
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy