autounattend and install program
#1
Posted 13 August 2012 - 11:58 PM
i know how to create autounattend and its work , but now i want to install my own program in my customize windows7.
is there any way to create autounattend with waik and install program like office or kmplayer,adobe flash player.............?????
#2
Posted 14 August 2012 - 12:18 AM
http://technet.micro...v=ws.10%29.aspx
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>c:synccommands\command1.exe</CommandLine>
<Description>Description_of_command1</Description>
<Order>1</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>c:synccommands\command2.exe</CommandLine>
<Description>Description_of_command2</Description>
<Order>2</Order>
</SynchronousCommand>
</FirstLogonCommands>
There are other ways (setupcomplete.cmd, etc) but you mentioned your your XML first, so just pop open WSIM and edit them in that way.
#3
Posted 14 August 2012 - 12:46 AM
i try to do it and tell you what happend
#4
Posted 14 August 2012 - 01:01 AM
could you give me example about this line
c:synccommands\command2.exe
i dont know what is this exactly (syccommands)
#5
Posted 14 August 2012 - 01:15 AM
"c:synccommands\command2.exe"
to something like this
C:\Mypathtooffice\Officesetup.exe
C:\MyAdobeFolder\AdobeReader.exe
or whatever apps you need to run. Good luck.
This post has been edited by MrJinje: 14 August 2012 - 01:16 AM
#7
Posted 14 August 2012 - 02:18 AM
1) i must to set configure disk at first then set this <FirstLogonCommands>???
2) coud you tell me about order more ?
some people order 1 ,2 , ....10
i think order 1 or 2,,,,,, depend on how many set disk is that true????
#8
Posted 14 August 2012 - 05:08 AM
<?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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>200</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<Label>System</Label>
<Active>true</Active>
<Format>NTFS</Format>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>Windows</Label>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
</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">
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>"C:\Program Files\The KMPlayer\KMPlayer.exe"</CommandLine>
<Description>kmplayer</Description>
<Order>2</Order>
</SynchronousCommand>
</FirstLogonCommands>
</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">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
<settings pass="specialize">
<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">
<Home_Page>www.matiran.ir</Home_Page>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/users/f.khalaji/desktop/new%20folder/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
#9
Posted 14 August 2012 - 12:28 PM
It also would be helpful to know what happens when you try to use your current XML file and if you have validated the file using the Windows System Image Manager (Windows SIM).
You also might be interested in using the Microsoft Deployment Toolkit (MDT) as it acts as a common console that combines all deployment tasks into an easy to use interface. MDT even allows you to create “universal images” by allowing you to easily add and remove drivers as well as applications to and from the deployment images. You might want to watch the following videos to become more familiar with MDT and deploying Windows 7.
Deployment Day Session 1: Introduction to MDT 2012
Deployment Day Session 2: MDT 2012 Advanced
Should you decide that you also do want to use WDS which is a part of Windows Server 2003, 2008 and 2008R2, you might find the Deployment Day Session 3: Deployment using WDS video beneficial as well.
Finally, I always recommend the following two videos for anyone who is starting Windows 7 deployment as the first video outlines how simple it is to not only manage your deployments but also greatly minimize the time it takes while the second video walks you through, step-by step, the process of doing so with all the aforementioned tools.
Alphabet Soup Deployment: Understanding MDT, WDS, MAP, ACT, SCCM, and USMT
Deploy Windows 7 The Easy Way: Using WDS, MDT and AIK – Step-By-Step Video
I know this is a lot of information but hopefully it will give you a few options to get you pointed in the right direction.
Jessica
Windows Outreach Team – IT Pro
#10
Posted 24 August 2012 - 10:27 PM
you suggest me lots of ways but i must to use waik.
could you tell me more about install program with waik.
i have problem how install and store my own program with autounattend in waik.
#11
Posted 24 August 2012 - 10:29 PM
you suggest me lots of ways but i must to use waik.
could you tell me more about install program with waik.
i have problem how install and store my own program with autounattend in waik.
#12
Posted 24 August 2012 - 11:02 PM
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>c:synccommands\command1.exe</CommandLine>in my autounattend programs set in windir after install windows my program arent available
<Description>Description_of_command1</Description>
<Order>1</Order>
</SynchronousCommand>
my programs set in windir and after install windows doesnt exist what shoud i do???
#13
Posted 26 August 2012 - 05:48 AM
okey i understand about how to install application but know i have another question
is it work just by network and i shoud use script ?????
#14
Posted 02 September 2012 - 06:55 AM
finally i became successful .
thank you so much Jessica for her suggestion .
#15
Posted 05 September 2012 - 08:51 AM



Help
Back to top










