Jump to content

autounatended xml


Recommended Posts

both tinker and hold'em r games that microsoft offers to ultimate owners.....

they r cab files that can b downloaded from windows update...

i integrated both the cabs into install.wim but after installing vista...

couldnt find them anywhere.....thou i could c them in show updates.....

but they werent present anywhere...

so now i know that integration doesnt help me out....

i have the cab file..... but no way 2 install it....how 2 install cab files into vista...

i found some bat files...in some russian sites that help 2 install them but there were a hell lot of errors

while installing....through the bat...as they had posted it in quotes and there was lot of spaces and errors cause of that...

so need help...hope the above info halps...

thanx

angel

Link to comment
Share on other sites


hey buddy ...the hold'em isnt working for installation...

so i extracted it from the cab,,,

now just want 2 know how and where 2 place the help file for it....in windows

so that when i press the help link in the game, the help file should open...

the help file has extension of .h1s

where 2 place it is the prob...needed help

thanx

angel

Link to comment
Share on other sites

hey pals...tested everything and here v go...

autounattended.xml.....

<FirstLogonCommands>

<SynchronousCommand wcm:action="add">

<CommandLine>%AppsRoot%Install\FirstLogon.bat</CommandLine>

<Description>Installing Applications....</Description>

<Order>1</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>cmd /c REGEDIT /S %AppsRoot%Install\Tweaks.reg</CommandLine>

<Order>2</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>cmd /c REGEDIT /S %AppsRoot%Install\IESet.reg</CommandLine>

<Order>3</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>%AppsRoot%Install\Clean.bat</CommandLine>

<Order>4</Order>

</SynchronousCommand>

</FirstLogonCommands>

FirstLogon.bat

echo Installing Essentials......

echo ......Installing .NET Framework 1.1 TO 3.5

start /wait %AppsRoot%Install\DNF_all.exe

echo ......Installing Java Runtime 6.11

start /wait %AppsRoot%Install\jre6u11.exe /qn /norestart

echo ......Installing Adobe Reader 9 Lite

start /wait %AppsRoot%Install\AR9_Lite.exe /qn

echo ......Installing Flash Player 10

start /wait %AppsRoot%Install\F1001236.exe /s

echo ......Installing HashTab Shell Extension 2.1.1

start /wait %AppsRoot%Install\HashTab2.1.1.exe /S

echo ......Installing Shockwave Player

start /wait %AppsRoot%Install\SWFull.msi /qn /norestart

echo ......Installing Vista Ultimate Extra Sound Schemes

start /wait %AppsRoot%Install\WSS1.exe /Q

start /wait %AppsRoot%Install\WSS2.exe /Q

echo ......Updating DirectX 9

start /wait %AppsRoot%Install\DX9.exe

EXIT

clean.bat

echo Final Cleanup & Customization.....

RD /S /Q "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Tablet PC"

deltree /Y "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Extras and Upgrades"

RD /S /Q "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Extras and Upgrades"

MD "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Stuff"

move /Y "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows*.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Stuff"

move /Y "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows*.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Stuff"

move /Y "%systemdrive%\Program Files\Microsoft Games\HoldEm\Texas Hold'Em Poker.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Games"

move /Y "%systemdrive%\Program Files\Microsoft Games\Tinker\Microsoft Tinker.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Games"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo\Compressed (zipped) Folder.ZFSendToTarget"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo\Fax Recipient.lnk"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo\Mail Recipient.MAPIMail"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows*.lnk"

del "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Default Programs.lnk"

deltree /Y "%systemdrive%\users\administrator\appdata\local\temp"

deltree /Y "%systemdrive%\Users\Public\Music\Sample Music\"

echo ......Shuting Off Hibernation

powercfg -h off

echo ......Setting New Power Profile

powercfg -import %systemdrive%\windows\hp.pow 11111111-2222-3333-4444-555555555555

powercfg -s 11111111-2222-3333-4444-555555555555

shutdown.exe -r -f -t 45 -c "Vista will now restart in 45 Seconds..."

EXIT

now the verdict....

as u can c, added reg files into xml..

and they run partially....some local machine keys doesnt get applied...

will check out everything and reply it which keys rnt working.....

but the bat files added doesnt run at all..that is neither clean nor firstrun.....

so nothing gets installed.......other then the reg settings......

things should also be in mind that i have some settings in the reg that has 2 b applied after the softs gets installed....

so the reg file cant b run first....

wot m i doin wrong.....

help needed pals...

thanx

angel

Edited by The Day Walker!
Link to comment
Share on other sites

pals...after carefully reading ur posts...

i changed all my bat files to cmd files....as i saw that u ppl r using cmd files....

and did the following changes....

xml file

<FirstLogonCommands>

<SynchronousCommand wcm:action="add">

<CommandLine>%AppsRoot%Install\FirstLogon.cmd</CommandLine>

<Description>Installing Applications....</Description>

<Order>1</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>%AppsRoot%Install\Clean.cmd</CommandLine>

<Order>2</Order>

</SynchronousCommand>

</FirstLogonCommands>

FirstLogon.cmd

echo Installing Essentials......

echo ......Installing .NET Framework 1.1 TO 3.5

start /wait %AppsRoot%Install\DNF_all.exe

echo ......Installing Java Runtime 6.11

start /wait %AppsRoot%Install\jre6u11.exe /qn /norestart

echo ......Installing Adobe Reader 9 Lite

start /wait %AppsRoot%Install\AR9_Lite.exe /qn

echo ......Installing Flash Player 10

start /wait %AppsRoot%Install\F1001236.exe /s

echo ......Installing HashTab Shell Extension 2.1.1

start /wait %AppsRoot%Install\HashTab2.1.1.exe /S

echo ......Installing Shockwave Player

start /wait %AppsRoot%Install\SWFull.msi /qn /norestart

echo ......Installing Texas Hold'Em Poker

start /wait %AppsRoot%Install\HoldEm.exe

echo ......Installing Microsoft Tinker

start /wait %AppsRoot%Install\Tinker.exe

echo ......Installing Vista Ultimate Extra Sound Schemes

start /wait %AppsRoot%Install\WSS1.exe /Q

start /wait %AppsRoot%Install\WSS2.exe /Q

echo ......Updating DirectX 9

start /wait %AppsRoot%Install\DX9.exe

echo ......Installing Registry Tweaks

REGEDIT /S %AppsRoot%Install\Tweaks.reg

REGEDIT /S %AppsRoot%Install\IESet.reg

EXIT

clean.cmd

echo Final Cleanup & Customization.....

RD /S /Q "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Tablet PC"

deltree /Y "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Extras and Upgrades"

RD /S /Q "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Extras and Upgrades"

MD "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Stuff"

move /Y "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows*.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Stuff"

move /Y "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows*.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Stuff"

move /Y "%systemdrive%\Program Files\Microsoft Games\HoldEm\Texas Hold'Em Poker.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Games"

move /Y "%systemdrive%\Program Files\Microsoft Games\Tinker\Microsoft Tinker.lnk" "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Games"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo\Compressed (zipped) Folder.ZFSendToTarget"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo\Fax Recipient.lnk"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo\Mail Recipient.MAPIMail"

del "%systemdrive%\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows*.lnk"

del "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Default Programs.lnk"

deltree /Y "%systemdrive%\users\administrator\appdata\local\temp"

deltree /Y "%systemdrive%\Users\Public\Music\Sample Music\"

copy /Y "%AppsRoot%Install\Manual Tweaks.txt" "%systemdrive%\Users\Administrator\Desktop"

copy /Y "%AppsRoot%Install\Tweaks.exe" "%systemdrive%\Users\Administrator\Desktop"

echo ......Shuting Off Hibernation

powercfg -h off

echo ......Setting New Power Profile

powercfg -import %systemdrive%\windows\hp.pow 11111111-2222-3333-4444-555555555555

powercfg -s 11111111-2222-3333-4444-555555555555

shutdown.exe -r -f -t 45 -c "Vista will now restart in 45 Seconds..."

EXIT

and when i gaain installed vista...

nothing started, neither the reg files got integrated,,nor and soft got installed....

the cmd file flashed 1ce.....but then in some seconds,,,system restarted....

wot m i doin wrong...help needed

thanx

angel

Link to comment
Share on other sites

The firstSynchronous Command \ Pass 4 specialize.

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:\AppsRoot.txt SETX AppsRoot %i: -m"

The second Synchronous Command to Pass 4 specialize according 'firegeier'

%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit

Now we create an AutoLogon for the Administrator account in audit mode.

So we add Windows-Shell-Setup \ AutoLogon component to auditSystem pass:

Put this in Pass 6 auditUser:

SynchronousCommand wcm:action="add">

<CommandLine>%AppsRoot%Install\FirstLogon.bat</CommandLine>

<Description>Installing Applications....</Description>

<Order>1</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>cmd /c REGEDIT /S %AppsRoot%Install\Tweaks.reg</CommandLine>

<Order>2</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>cmd /c REGEDIT /S %AppsRoot%Install\IESet.reg</CommandLine>

<Order>3</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>%AppsRoot%Install\Clean.bat</CommandLine>

<Order>4</Order>

</SynchronousCommand>

The last command must be:

<SynchronousCommand wcm:action="add">

<CommandLine>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</CommandLine>

<Order>5</Order>

</SynchronousCommand>

Installing applications

Edited by The Glimmerman
Link to comment
Share on other sites

Daywalker... I only tried briefly messing around with the updates etc.. but afai remember, if you got cab files... use EXPAND.exe (comes with vista) I think its expand or push hehe... to extract into a temp folder the .mui? files anyway the ones which are used for updates/install... so where ot put them? in a temp folder where you store the hotfixes you integrate.

Also.. don't know if people have still issues from above.. but generally I think it might be a good idea to whack all the registry tweaks into one file eh. Either it will work or not.

About autoupdate? Well... I just now wanted to integrate the windows update agent but it is not in the windows update catalog site (where you get the offline hotfixes one can use for integration).

So , I don't know... I basically download all relevant hotfixes/updates etc. then let the update happen after install, bla bla bla.. and will make a fat image me thinks cos sysprep and the lot has driven me crazy as of late.

Link to comment
Share on other sites

i m driven crazy cause of the reg files...

if i use reg file during audit user,,then only local machine gets integrated...

adn if i use it during oobe login then only current user gets integrated.......

so dont ustand how 2 use the reg file so thta dont have 2 do it 2 times.. 2 make it work full....

and also some of my reg settings r related 2 softs that silently install......so reg settings have 2

install after soft install....

help needed

angel

Link to comment
Share on other sites

  • 2 weeks later...
The firstSynchronous Command \ Pass 4 specialize.

The second Synchronous Command to Pass 4 specialize according 'firegeier'

%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit

Installing applications

Hasn't this application instruction page been proven to be outdated and incorrect in regards to Vista SP1 and beyond? Hence the whole point of the OP.

Link to comment
Share on other sites

  • 7 months later...

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.
×
×
  • Create New...