Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Vista unattended Guide

- - - - -

  • Please log in to reply
288 replies to this topic

#201
Sgt. D. Pilla

Sgt. D. Pilla

    Newbie

  • Member
  • 35 posts
  • Joined 15-July 08
I've only found 1 answer file so far, and that one didn't work once I added my things into it.
I've used vLite to change what I want, but I want to create my own Answer File because vLites only unattends like 2 dialogs.

I want to achive the following...
Boot from CD>Enter partitions>Change DVD 3 times>PC Boots to desktop>Script runs at first logon
PC ready to use.

I can get the changing DVDs down pat, and booting from the CD.
Other then that, unattended just doesn't want to work, comparing my answerfile to others, there is nothing wrong with it, it just doesn't answer anything.

Is there a certain order things need to go in, within the answer file.
Is there a program, other then WAIK (Maybe one that works?) that can generate a Vista SP1 answer file
Is there more to unattended then just the answer file?

I've searched for guides, but they all use WAIK, and WAIK hates me and won't load the wim file


How to remove advertisement from MSFN

#202
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,782 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Man ya couldn't have searched very far? plenty on this board...The waik help files are great this UA is very time consuming & no one really masters this & its never finished.

#203
Sgt. D. Pilla

Sgt. D. Pilla

    Newbie

  • Member
  • 35 posts
  • Joined 15-July 08
I used search for "Answer File"
I found 1 guide, the one I used, the others were "This won't work" type threads
There is a difference between time consuming, and just straight out not working when its a copy/paste with a few numbers changed

#204
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,782 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Try searching "autounattend.xml" in this section, plenty of hits.
Understand it's not for us members to do it all for you. This UA stuff can take years of study. I can assure you all the info you need to create a Vista UA install is here & can certainly be done.

#205
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
I recommend to any one whose goal is to successfully
automate the install of third party applications and
drivers to use the framework provided by microsoft which
is the creation of first a distribution share and then
from this a "configuration set" to simplify the process.
The $OEM$ folders you used for xp work with vista.
All of this is done with WAIK-SIM.

Hint: Not mentioned in any documentation or manual
including the one that comes with WAIK is
the "use configuration set" option value = "true".
This is pass 1 windowsPE X86
OR X64_MICROSOFT-WINDOWS-SETUP-NUETRAL\userData

This basic example installs vista and my additional programs
from one DVD after I select a partition
and then just before first logon copies a folder named
"Install" located in $oem$\$1 which I added to the root of the vista
DVD to the root of the destination partition and executes
a batch script by synchronous command pass 7 oobe which
installs several applications - very simple: Nero, Adobe etc.
and with this example we do need the sysprep tool.
 
  <?xml version="1.0" encoding="utf-8" ?> 
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="windowsPE">
- <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
- <UserData>
- <ProductKey>
<Key>sssss-nnnnn-aaaaa-ccccc-kkkkk</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>National Snack Food Association</Organization>
<FullName>ANONYMOUS</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
- <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>
<UseConfigurationSet>true</UseConfigurationSet>
</component>
</settings>
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
- <AutoLogon>
<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\install.cmd</CommandLine>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
- <settings pass="specialize">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<ComputerName>COMPUTER</ComputerName>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
</component>
- <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/documents%20and%20settings/david/desktop/vista%20unatt%20vlite/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>



Over and out.......

Attached Files


Edited by The Felon, 12 October 2008 - 02:03 PM.

I have transfersered to a new user name.

#206
iheartsims

iheartsims

    Software Developer

  • Member
  • 30 posts
  • Joined 06-July 08
I looked over it and I think its a great site! Now I don't have to use vLite
Working on a Ultimate Operating System DVD: Its also going to have a home-made autorun
that you can select an OS to install, and create indivisual CD .iso's, for old computers :)

I'm also working on a boot menu program, like CDShell

#207
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
Do any of you here know how to set the AppsRoot mentioned in guide to Vista DvD itself ? Coz in guide it's set to a removable media ...

10x ...

Posted Image


#208
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
Forget appsroot.txt which don't work and better use configuration set.
See above post.
I have transfersered to a new user name.

#209
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
Thing is I already have an $OEM$ folder in sources dir ... won't this affect things ?

Posted Image


#210
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
Be best to move it to root of DVD.
I have transfersered to a new user name.

#211
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
No mate else it won't work .... I tried .. Am using SetupComplete.cmd .. What I want to do basically is just import my registry tweaks and I want it to apply those tweaks to all future users ...

And in the $OEM$ folder I have a bunch of silent installs ... So if there is any other way to do my Registry tweaks please do tell.

Posted Image


#212
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
Root of DVD should contain $oem$\$1\SetupComplete.cmd + unattended.xml. = unattended regestry tweaks.

Edited by The Felon, 23 October 2008 - 05:07 PM.

I have transfersered to a new user name.

#213
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
As I told u b4 I cannot move the $OEM$ folder from sources as it contains Silent appz that install upon 1st logon ... as for AutoUnattend.xml it is in dvd root .. I have a practically finished Custom Vista I just need to find a way to apply my registry tweaks to all users including all future users ...

Posted Image


#214
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
Make executables from your reg.files and include them just like applications on the batch.cmd..
By the way, why on earth do you have $oem$ in sources ?

Edited by The Felon, 23 October 2008 - 08:00 PM.

I have transfersered to a new user name.

#215
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06

By the way, why on earth do you have $oem$ in sources ?



Well it's not me who put it there, It's because I used Vista Update Toolkit to inert Add-ons ;)

Posted Image


#216
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
I don' know if this is what you mean :
if you know how to export a registry entry
you can install silent on command line:

regedit /s somefile.reg
I have transfersered to a new user name.

#217
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
I know how to do that mate, but this would work only for current user not to all users ? :D

Posted Image


#218
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
AppsRoot.txt dosn't work.

Edited by The Felon, 24 October 2008 - 08:15 PM.

I have transfersered to a new user name.

#219
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
Am trying to add some registry tweaks to my Autounattend.xml but setup keeps shutting down for some reason @ the end.

Here's my Autounattend.xml :

<?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>0409:00000409</InputLocale>
			<UserLocale>en-US</UserLocale>
			<UILanguage>en-US</UILanguage>
			<SystemLocale>en-US</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>
				<Organization>NewAge-OS.Net</Organization>
				<FullName>PsyChoses</FullName>
				<AcceptEula>true</AcceptEula>
			</UserData>
			<ImageInstall>
				<OSImage>
					<InstallFrom>
						<MetaData wcm:action="add">
							<Key>/IMAGE/NAME</Key>
							<Value>Windows Vista (vLite) ULTIMATE</Value>
						</MetaData>
					</InstallFrom>
					<InstallToAvailablePartition>false</InstallToAvailablePartition>
					<WillShowUI>OnError</WillShowUI>
				</OSImage>
			</ImageInstall>
			<EnableFirewall>false</EnableFirewall>
			<EnableNetwork>true</EnableNetwork>
		</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>UABhAHMAcwB3AG8AcgBkAA==</Value>
					<PlainText>false</PlainText>
				</Password>
				<Enabled>true</Enabled>
				<LogonCount>2</LogonCount>
				<Username>Administrator</Username>
			</AutoLogon>
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Home</NetworkLocation>
				<ProtectYourPC>1</ProtectYourPC>
				<SkipMachineOOBE></SkipMachineOOBE>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
			<Display>
				<ColorDepth>32</ColorDepth>
				<HorizontalResolution>1024</HorizontalResolution>
				<VerticalResolution>768</VerticalResolution>
			</Display>
			<UserAccounts>
				<AdministratorPassword>
					<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
					<PlainText>false</PlainText>
				</AdministratorPassword>
				<LocalAccounts>
					<LocalAccount wcm:action="add">
						<Password>
							<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
							<PlainText>false</PlainText>
						</Password>
						<DisplayName>Administrator</DisplayName>
						<Group>Administrators</Group>
						<Name>Administrator</Name>
					</LocalAccount>
				</LocalAccounts>
			</UserAccounts>
			<VisualEffects>
				<FontSmoothing>ClearType</FontSmoothing>
			</VisualEffects>
		</component>
	</settings>
	<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">
			<ComputerName>NewAge-OS</ComputerName>
			<Themes>
				<DefaultThemesOff>false</DefaultThemesOff>
				<CustomDefaultThemeFile>C:\Windows\Resources\Themes\SteelFlash Final.theme</CustomDefaultThemeFile>
			</Themes>
			<RegisteredOrganization>NewAge-OS.Net</RegisteredOrganization>
			<RegisteredOwner>PsyChoses</RegisteredOwner>
		</component>
		<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="Security-Malware-Windows-Defender" 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">
			<DisableAntiSpyware>true</DisableAntiSpyware>
		</component>
		<component name="Microsoft-Windows-IE-InternetExplorer" 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">
			<StartPages>
				<StartPage wcm:action="add">
					<StartPageKey>NewAge-OS Team</StartPageKey>
					<StartPageUrl>http://www.newage-os.net/</StartPageUrl>
				</StartPage>
			</StartPages>
			<SearchScopes>
				<Scope wcm:action="add">
					<ScopeDefault>true</ScopeDefault>
					<ScopeDisplayName>Google Search</ScopeDisplayName>
					<ScopeKey>Google.com</ScopeKey>
					<ScopeUrl>http://www.google.com/</ScopeUrl>
				</Scope>
			</SearchScopes>
		</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 (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %i:\RooT.txt SET CDROM=%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="auditSystem">
		<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>UABhAHMAcwB3AG8AcgBkAA==</Value>
					<PlainText>false</PlainText>
				</Password>
				<Enabled>true</Enabled>
				<LogonCount>5</LogonCount>
				<Username>Administrator</Username>
			</AutoLogon>
		</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 %CDROM%\Regtweaks.reg</Path>
					<Description>Registry Tweaks</Description>
				</RunSynchronousCommand>
				<RunSynchronousCommand wcm:action="add">
					<Order>2</Order>
					<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
				</RunSynchronousCommand>
			</RunSynchronous>
		</component>
	</settings>
	<cpi:offlineImage cpi:source="wim:f:/vistafinal/sources/install.wim#Windows Vista (vLite) ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Posted Image


#220
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
Why are you using sysprep?
I have transfersered to a new user name.

#221
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
Coz if you read the Unattended guide you'd know it's for integrating the registry tweaks, or haven't you read the guide yet ?

Check it :
http://firegeier.unattended-sponsor.de/en/regtweaks.html

Edited by nokia999i, 25 October 2008 - 02:08 PM.

Posted Image


#222
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
If you use a used a configuration set ($oem$) than all your aplications and
registry files would be copied to the hard drive before
they install so you could add synchonous commands with
the path pointing to your hard drive wich is more efficiant
than the appsroot.txt.
Example:
 
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
<CommandLine>%SYSTEMDRIVE%\INSTALL\INSTALL.CMD</CommandLine>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>

Edited by The Felon, 25 October 2008 - 02:35 PM.

I have transfersered to a new user name.

#223
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
Can you post what the Install.cmd has inside ? I do not know as I am new to all this as you might have noticed ... A detailed guide would do just nicely mate ;)

10x ...

Posted Image


#224
The Felon

The Felon

    Newbie

  • Member
  • 25 posts
  • Joined 11-June 08
@echo off
ECHO.
ECHO.
ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ECHO. XX .........................................................XX
ECHO. XX..........................................................XX
ECHO. XX..........................................................XX
ECHO. XX...........INSTALLING ADDITIONAL.........XX
ECHO. XX....................PROGRAMS.....................XX
ECHO. XX..........................................................XX
ECHO. XX..........................................................XX
ECHO. XX......................................................,...XX
ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.

echo INSTALLING JAVA
start /wait %systemdrive%\install\java.exe

echo INSTALLING M.S.WORDVIEWER
start /wait %systemdrive%\install\M.S.WORDVIEWER.exe

echo INSTALLING UNI EXTRACTOR
start /wait %systemdrive%\install\UNIEXT.exe

echo INSTALLING V-LITE
start /wait %systemdrive%\install\v-lite.exe

rem reg tweak
%systemdrive%\install\regedit /s tweaks.reg

Edited by The Felon, 25 October 2008 - 02:51 PM.

I have transfersered to a new user name.

#225
nokia999i

nokia999i

    The.Freak

  • Member
  • Pip
  • 96 posts
  • Joined 29-September 06
What you mean is, the $OEM$ folder actually is the system drive, meaning everything inside it is automatically copied to hard drive before running ?

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users