-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathDeployWiz_CaptureImage.xml
More file actions
105 lines (95 loc) · 3.57 KB
/
DeployWiz_CaptureImage.xml
File metadata and controls
105 lines (95 loc) · 3.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="utf-8"?>
<!--
' // ***************************************************************************
' //
' // Copyright (c) Microsoft Corporation. All rights reserved.
' //
' // Microsoft Deployment Toolkit Solution Accelerator
' //
' // File: DeployWiz_Definition_ENU.wsf
' //
' // Version: 6.3.8443.1000
' //
' // Purpose: Main Client Deployment Wizard Defintion File
' //
' // ***************************************************************************
-->
<Wizard>
<Global>
<CustomScript>DeployWiz_CaptureImage.vbs</CustomScript>
</Global>
<Pane id="CaptureImage" title="Capture Image">
<Body><![CDATA[
<H1>Specify whether to capture an image.</H1>
<table>
<tr>
<td valign="top">
<input type=radio name="DoCapture" id="CaptureRadio1" Value="YES" language=vbscript onclick=ValidateCapture AccessKey=A>
</td>
<td>
<Label class="Larger" for=CaptureRadio1 language=vbscript >C<u class=larger>a</u>pture an image of this reference computer.</Label>
<br>
<div>Specify the UNC path where the image should be stored and the file name to use.</div>
<br>
<div><u>L</u>ocation: <label class=ErrMsg for=ComputerBackupLocation>* Required (MISSING)</label></div>
<div><label class=ErrMsg id="InvalidCaptureLocation">ERROR: Unable to connect to UNC path.</label></div>
<input type=text name="ComputerBackupLocation" id="ComputerBackupLocation" size=65 disabled language=vbscript AccessKey=L>
<br>
<div>File name: <label class=ErrMsg for=BackupFile>* Required (MISSING)</label></div>
<input type=text name="BackupFile" id="BackupFile" size=65 disabled language=vbscript onpropertychange=ValidateCapture >
<br>
</td>
</tr>
<tr>
<td>
<input type=radio name="DoCapture" id="CaptureRadio2" value="SYSPREP" language=vbscript onclick=ValidateCapture AccessKey=S>
</td>
<td>
<Label class="Larger" for=CaptureRadio2 language=vbscript ><u class=larger>S</u>ysprep this computer.</Label>
</td>
</tr>
<tr>
<td></td>
<td>
<div>Initiate Sysprep for the operating system, but do not capture an image (useful when generating a VHD).</div>
<br>
</td>
</tr>
<tr>
<td>
<input type=radio name="DoCapture" id="CaptureRadio3" value="PREPARE" language=vbscript onclick=ValidateCapture AccessKey=P>
</td>
<td>
<Label class="Larger" for=CaptureRadio3 language=vbscript ><u class=larger>P</u>repare to capture the machine.</Label>
</td>
</tr>
<tr>
<td></td>
<td>
<div>Copy the needed Sysprep files to the proper location, but do nothing else.</div>
<br>
</td>
</tr>
<tr>
<td>
<input type=radio name="DoCapture" id="CaptureRadio4" checked value="NO" language=vbscript onclick=ValidateCapture AccessKey=O>
</td>
<td>
<Label class="Larger" for=CaptureRadio4 language=vbscript >Do n<u class=larger>o</u>t capture an image of this computer.</Label>
</td>
</tr>
<tr>
<td></td>
<td>
<div>This is a normal deployment, so an image does not need to be captured.</div>
</td>
</tr>
</table>
]]></Body>
<Validation><![CDATA[ValidateCapture]]></Validation>
<Validation><![CDATA[ValidateCaptureLocation]]></Validation>
<Initialization><![CDATA[InitializeCapture]]></Initialization>
<Condition><![CDATA[FindTaskSequenceStep("//step[@name='Create WIM']","ZTIBackup.wsf")]]></Condition>
<Condition><![CDATA[ Ucase(Property("SkipCapture"))<>"YES" and Property("JoinDomain")="" and Property("DeploymentType")<>"REPLACE"]]></Condition>
</Pane>
</Wizard>