• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
FireGeier

Vista unattended Guide

289 posts in this topic

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-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.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-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.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-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.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-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.......

post-196312-1223841456_thumb.jpg

post-196312-1223841808_thumb.jpg

Edited by The Felon
0

Share this post


Link to post
Share on other sites

I looked over it and I think its a great site! Now I don't have to use vLite

0

Share this post


Link to post
Share on other sites

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 ...

0

Share this post


Link to post
Share on other sites

Forget appsroot.txt which don't work and better use configuration set.

See above post.

0

Share this post


Link to post
Share on other sites

Thing is I already have an $OEM$ folder in sources dir ... won't this affect things ?

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

Root of DVD should contain $oem$\$1\SetupComplete.cmd + unattended.xml. = unattended regestry tweaks.

Edited by The Felon
0

Share this post


Link to post
Share on other sites

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 ...

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites
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 ;)

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

I know how to do that mate, but this would work only for current user not to all users ? :D

0

Share this post


Link to post
Share on other sites

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 "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"</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>

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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 ...

0

Share this post


Link to post
Share on other sites

@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
0

Share this post


Link to post
Share on other sites

What you mean is, the $OEM$ folder actually is the system drive, meaning everything inside it is automatically copied to hard drive before running ?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.