Merge lp:~wwahammy-deactivatedaccount/coapp-toolkit/developing into lp:coapp-toolkit

Proposed by Eric Schultz
Status: Merged
Approved by: Garrett Serack
Approved revision: 42
Merged at revision: 41
Proposed branch: lp:~wwahammy-deactivatedaccount/coapp-toolkit/developing
Merge into: lp:coapp-toolkit
Diff against target: 3105 lines (+3058/-0) (has conflicts)
5 files modified
CoApp.Toolkit.csproj (+26/-0)
Package/mkPackage.cs (+1463/-0)
Package/mkPackage.xsd (+1356/-0)
Properties/Resources.Designer.cs (+89/-0)
Properties/Resources.resx (+124/-0)
Text conflict in CoApp.Toolkit.csproj
To merge this branch: bzr merge lp:~wwahammy-deactivatedaccount/coapp-toolkit/developing
Reviewer Review Type Date Requested Status
Garrett Serack Pending
Review via email: mp+47073@code.launchpad.net

Description of the change

Code shared between mkPackage and SmartManifest. It's bound to change a lot but not much I can do about that.

To post a comment you must log in.
Revision history for this message
Garrett Serack (garretts) wrote :

What's the purpose of the xsd path reference in the resource.resx?

Are you using the XSD programatically somewhere?

Revision history for this message
Eric Schultz (wwahammy-deactivatedaccount) wrote :

Ya, the XSD itself is used by mkPackage directly. That could be changed in
the future if that's a problem.

On Fri, Jan 21, 2011 at 1:56 PM, Garrett Serack <email address hidden>wrote:

> What's the purpose of the xsd path reference in the resource.resx?
>
> Are you using the XSD programatically somewhere?
> --
> https://code.launchpad.net/~wwahammy/coapp-toolkit/developing/+merge/47073
> You are the owner of lp:~wwahammy/coapp-toolkit/developing.
>

Revision history for this message
Garrett Serack (garretts) wrote :

Well, my assumption is that the necessity of the separate mkPackage XSD should eventually go away when we transition the information in there into mkSpec's spec file.

Hmmm. After looking thru the XSLT you're using to transform the mkPackage info into WiX.... I'm wondering how hard that's gonna be.

I suppose there's no reason to change the current implementation... I suspect that (a future) version 2 of mkPackage will/should use the WiX libraries directly (as opposed to manipulating XML), but that's a discussion for another day.

I've added you to the developer list on toolkit, so if you'd pull updates to the toolkit from trunk, go ahead and merge this and commit it.

Oh, one last thing... you should move your extension methods from mkPackage into toolkit/extensions (there's already a stringextensions class).

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CoApp.Toolkit.csproj'
--- CoApp.Toolkit.csproj 2011-01-21 17:16:54 +0000
+++ CoApp.Toolkit.csproj 2011-01-21 19:08:57 +0000
@@ -64,7 +64,20 @@
64 <SubType>Code</SubType>64 <SubType>Code</SubType>
65 </Compile>65 </Compile>
66 <Compile Include="Extensions\XmlExtensions.cs" />66 <Compile Include="Extensions\XmlExtensions.cs" />
67<<<<<<< TREE
67 <Compile Include="Network\Ftp.cs" />68 <Compile Include="Network\Ftp.cs" />
69=======
70 <Compile Include="Package\mkPackage.cs">
71 <AutoGen>True</AutoGen>
72 <DesignTime>True</DesignTime>
73 <DependentUpon>mkPackage.xsd</DependentUpon>
74 </Compile>
75 <Compile Include="Properties\Resources.Designer.cs">
76 <AutoGen>True</AutoGen>
77 <DesignTime>True</DesignTime>
78 <DependentUpon>Resources.resx</DependentUpon>
79 </Compile>
80>>>>>>> MERGE-SOURCE
68 <Compile Include="Scan\ProjectScanner.cs" />81 <Compile Include="Scan\ProjectScanner.cs" />
69 <Compile Include="Scan\Types\ScannedDefine.cs" />82 <Compile Include="Scan\Types\ScannedDefine.cs" />
70 <Compile Include="Scan\Types\ScannedFile.cs" />83 <Compile Include="Scan\Types\ScannedFile.cs" />
@@ -122,6 +135,12 @@
122 <Folder Include="Installer\" />135 <Folder Include="Installer\" />
123 </ItemGroup>136 </ItemGroup>
124 <ItemGroup>137 <ItemGroup>
138 <None Include="Package\mkPackage.xsd">
139 <Generator>XsdTool</Generator>
140 <LastGenOutput>mkPackage.cs</LastGenOutput>
141 <CustomToolNamespace>CoApp.Toolkit.Package</CustomToolNamespace>
142 <SubType>Designer</SubType>
143 </None>
125 <None Include="Spec\TargetSchema.xsd">144 <None Include="Spec\TargetSchema.xsd">
126 <Generator>XsdTool</Generator>145 <Generator>XsdTool</Generator>
127 <LastGenOutput>TargetSchema.cs</LastGenOutput>146 <LastGenOutput>TargetSchema.cs</LastGenOutput>
@@ -135,6 +154,13 @@
135 <LastGenOutput>Tracing.cs</LastGenOutput>154 <LastGenOutput>Tracing.cs</LastGenOutput>
136 </None>155 </None>
137 </ItemGroup>156 </ItemGroup>
157 <ItemGroup>
158 <EmbeddedResource Include="Properties\Resources.resx">
159 <Generator>PublicResXFileCodeGenerator</Generator>
160 <LastGenOutput>Resources.Designer.cs</LastGenOutput>
161 <SubType>Designer</SubType>
162 </EmbeddedResource>
163 </ItemGroup>
138 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />164 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
139 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 165 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
140 Other similar extension points exist, see Microsoft.Common.targets.166 Other similar extension points exist, see Microsoft.Common.targets.
141167
=== added directory 'Package'
=== added file 'Package/mkPackage.cs'
--- Package/mkPackage.cs 1970-01-01 00:00:00 +0000
+++ Package/mkPackage.cs 2011-01-21 19:08:57 +0000
@@ -0,0 +1,1463 @@
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:4.0.30319.1
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11//
12// This source code was auto-generated by xsd, Version=2.0.50727.3038.
13//
14namespace CoApp.Toolkit.Package {
15 using System.Xml.Serialization;
16using System.Collections.Generic;
17
18
19 /// <remarks/>
20 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
21 [System.SerializableAttribute()]
22 [System.Diagnostics.DebuggerStepThroughAttribute()]
23 [System.ComponentModel.DesignerCategoryAttribute("code")]
24 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
25 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
26 public partial class Package {
27
28 /// <remarks/>
29 public Tags Tags;
30
31 /// <remarks/>
32 public Dependencies Dependencies;
33
34 /// <remarks/>
35 public Publisher Publisher;
36
37 /// <remarks/>
38 public Properties Properties;
39
40 /// <remarks/>
41 public BindingPolicy BindingPolicy;
42
43 /// <remarks/>
44 public Urls Urls;
45
46 /// <remarks/>
47 public SharedLib SharedLib;
48
49 /// <remarks/>
50 public DeveloperLib DeveloperLib;
51
52 /// <remarks/>
53 public AppRole AppRole;
54
55 /// <remarks/>
56 public DriverRole DriverRole;
57
58 /// <remarks/>
59 [System.Xml.Serialization.XmlArrayItemAttribute("comp", IsNullable=false)]
60 public List<comp> features = new List<comp>();
61
62 /// <remarks/>
63 [System.Xml.Serialization.XmlAttributeAttribute()]
64 public string Name;
65
66 /// <remarks/>
67 [System.Xml.Serialization.XmlAttributeAttribute()]
68 public string Version;
69
70 /// <remarks/>
71 [System.Xml.Serialization.XmlAttributeAttribute()]
72 public Arch Arch;
73
74 /// <remarks/>
75 [System.Xml.Serialization.XmlAttributeAttribute()]
76 public string Platform;
77
78 /// <remarks/>
79 [System.Xml.Serialization.XmlAttributeAttribute()]
80 public string proddir_id;
81
82 /// <remarks/>
83 [System.Xml.Serialization.XmlAttributeAttribute()]
84 public string package_guid;
85
86 /// <remarks/>
87 [System.Xml.Serialization.XmlAttributeAttribute()]
88 public string product_guid;
89 }
90
91 /// <remarks/>
92 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
93 [System.SerializableAttribute()]
94 [System.Diagnostics.DebuggerStepThroughAttribute()]
95 [System.ComponentModel.DesignerCategoryAttribute("code")]
96 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
97 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
98 public partial class Tags {
99
100 /// <remarks/>
101 public Tag Tag;
102 }
103
104 /// <remarks/>
105 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
106 [System.SerializableAttribute()]
107 [System.Diagnostics.DebuggerStepThroughAttribute()]
108 [System.ComponentModel.DesignerCategoryAttribute("code")]
109 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
110 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
111 public partial class Tag {
112
113 /// <remarks/>
114 [System.Xml.Serialization.XmlAttributeAttribute()]
115 public string Type;
116
117 /// <remarks/>
118 [System.Xml.Serialization.XmlAttributeAttribute()]
119 public string Value;
120
121 /// <remarks/>
122 [System.Xml.Serialization.XmlAttributeAttribute()]
123 public string tag_guid;
124 }
125
126 /// <remarks/>
127 [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileType))]
128 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
129 [System.SerializableAttribute()]
130 [System.Diagnostics.DebuggerStepThroughAttribute()]
131 [System.ComponentModel.DesignerCategoryAttribute("code")]
132 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
133 public partial class FileSysItem {
134 }
135
136 /// <remarks/>
137 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
138 [System.SerializableAttribute()]
139 [System.Diagnostics.DebuggerStepThroughAttribute()]
140 [System.ComponentModel.DesignerCategoryAttribute("code")]
141 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
142 public partial class FileType : FileSysItem {
143
144 /// <remarks/>
145 [System.Xml.Serialization.XmlAttributeAttribute()]
146 public string name;
147
148 /// <remarks/>
149 [System.Xml.Serialization.XmlAttributeAttribute()]
150 public string Src;
151
152 /// <remarks/>
153 [System.Xml.Serialization.XmlAttributeAttribute()]
154 public string ext;
155
156 /// <remarks/>
157 [System.Xml.Serialization.XmlAttributeAttribute()]
158 public string component_guid;
159
160 /// <remarks/>
161 [System.Xml.Serialization.XmlAttributeAttribute()]
162 public string component_id;
163 }
164
165 /// <remarks/>
166 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
167 [System.SerializableAttribute()]
168 [System.Diagnostics.DebuggerStepThroughAttribute()]
169 [System.ComponentModel.DesignerCategoryAttribute("code")]
170 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
171 public partial class Role {
172
173 /// <remarks/>
174 public License License;
175
176 /// <remarks/>
177 [System.Xml.Serialization.XmlArrayItemAttribute("RegistryKey", typeof(RegistryKey), IsNullable=false)]
178 [System.Xml.Serialization.XmlArrayItemAttribute("RegistryValue", typeof(RegistryValue), IsNullable=false)]
179 [System.Xml.Serialization.XmlArrayItemAttribute("RemoveRegistryKey", typeof(RemoveRegistryKey), IsNullable=false)]
180 [System.Xml.Serialization.XmlArrayItemAttribute("RemoveRegistryValue", typeof(RemoveRegistryValue), IsNullable=false)]
181 public List<object> Registry = new List<object>();
182
183 /// <remarks/>
184 public InstallProperties InstallProperties;
185
186 /// <remarks/>
187 [System.Xml.Serialization.XmlAttributeAttribute()]
188 public string type;
189
190 /// <remarks/>
191 [System.Xml.Serialization.XmlAttributeAttribute()]
192 public string Flavor;
193
194 /// <remarks/>
195 [System.Xml.Serialization.XmlAttributeAttribute()]
196 public string role_guid;
197 }
198
199 /// <remarks/>
200 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
201 [System.SerializableAttribute()]
202 [System.Diagnostics.DebuggerStepThroughAttribute()]
203 [System.ComponentModel.DesignerCategoryAttribute("code")]
204 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
205 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
206 public partial class License {
207
208 /// <remarks/>
209 [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")]
210 public string Url;
211
212 /// <remarks/>
213 [System.Xml.Serialization.XmlAttributeAttribute()]
214 public string license_guid;
215
216 /// <remarks/>
217 [System.Xml.Serialization.XmlTextAttribute()]
218 public List<string> Text = new List<string>();
219 }
220
221 /// <remarks/>
222 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
223 [System.SerializableAttribute()]
224 [System.Diagnostics.DebuggerStepThroughAttribute()]
225 [System.ComponentModel.DesignerCategoryAttribute("code")]
226 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
227 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
228 public partial class RegistryKey {
229
230 /// <remarks/>
231 [System.Xml.Serialization.XmlAnyElementAttribute()]
232 [System.Xml.Serialization.XmlElementAttribute("Permission", typeof(Permission))]
233 [System.Xml.Serialization.XmlElementAttribute("PermissionEx", typeof(PermissionEx))]
234 [System.Xml.Serialization.XmlElementAttribute("RegistryKey", typeof(RegistryKey))]
235 [System.Xml.Serialization.XmlElementAttribute("RegistryValue", typeof(RegistryValue))]
236 public List<object> Items = new List<object>();
237
238 /// <remarks/>
239 [System.Xml.Serialization.XmlAttributeAttribute()]
240 public string Id;
241
242 /// <remarks/>
243 [System.Xml.Serialization.XmlAttributeAttribute()]
244 public RegistryKeyAction Action;
245
246 /// <remarks/>
247 [System.Xml.Serialization.XmlIgnoreAttribute()]
248 public bool ActionSpecified;
249
250 /// <remarks/>
251 [System.Xml.Serialization.XmlAttributeAttribute()]
252 public string Key;
253
254 /// <remarks/>
255 [System.Xml.Serialization.XmlAttributeAttribute()]
256 public RegistryRootType Root;
257
258 /// <remarks/>
259 [System.Xml.Serialization.XmlIgnoreAttribute()]
260 public bool RootSpecified;
261 }
262
263 /// <remarks/>
264 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
265 [System.SerializableAttribute()]
266 [System.Diagnostics.DebuggerStepThroughAttribute()]
267 [System.ComponentModel.DesignerCategoryAttribute("code")]
268 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
269 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
270 public partial class Permission {
271
272 /// <remarks/>
273 [System.Xml.Serialization.XmlAttributeAttribute()]
274 public string Domain;
275
276 /// <remarks/>
277 [System.Xml.Serialization.XmlAttributeAttribute()]
278 public string User;
279
280 /// <remarks/>
281 [System.Xml.Serialization.XmlAttributeAttribute()]
282 public YesNoType Read;
283
284 /// <remarks/>
285 [System.Xml.Serialization.XmlIgnoreAttribute()]
286 public bool ReadSpecified;
287
288 /// <remarks/>
289 [System.Xml.Serialization.XmlAttributeAttribute()]
290 public YesNoType Delete;
291
292 /// <remarks/>
293 [System.Xml.Serialization.XmlIgnoreAttribute()]
294 public bool DeleteSpecified;
295
296 /// <remarks/>
297 [System.Xml.Serialization.XmlAttributeAttribute()]
298 public YesNoType ReadPermission;
299
300 /// <remarks/>
301 [System.Xml.Serialization.XmlIgnoreAttribute()]
302 public bool ReadPermissionSpecified;
303
304 /// <remarks/>
305 [System.Xml.Serialization.XmlAttributeAttribute()]
306 public YesNoType ChangePermission;
307
308 /// <remarks/>
309 [System.Xml.Serialization.XmlIgnoreAttribute()]
310 public bool ChangePermissionSpecified;
311
312 /// <remarks/>
313 [System.Xml.Serialization.XmlAttributeAttribute()]
314 public YesNoType TakeOwnership;
315
316 /// <remarks/>
317 [System.Xml.Serialization.XmlIgnoreAttribute()]
318 public bool TakeOwnershipSpecified;
319
320 /// <remarks/>
321 [System.Xml.Serialization.XmlAttributeAttribute()]
322 public YesNoType ReadAttributes;
323
324 /// <remarks/>
325 [System.Xml.Serialization.XmlIgnoreAttribute()]
326 public bool ReadAttributesSpecified;
327
328 /// <remarks/>
329 [System.Xml.Serialization.XmlAttributeAttribute()]
330 public YesNoType WriteAttributes;
331
332 /// <remarks/>
333 [System.Xml.Serialization.XmlIgnoreAttribute()]
334 public bool WriteAttributesSpecified;
335
336 /// <remarks/>
337 [System.Xml.Serialization.XmlAttributeAttribute()]
338 public YesNoType ReadExtendedAttributes;
339
340 /// <remarks/>
341 [System.Xml.Serialization.XmlIgnoreAttribute()]
342 public bool ReadExtendedAttributesSpecified;
343
344 /// <remarks/>
345 [System.Xml.Serialization.XmlAttributeAttribute()]
346 public YesNoType WriteExtendedAttributes;
347
348 /// <remarks/>
349 [System.Xml.Serialization.XmlIgnoreAttribute()]
350 public bool WriteExtendedAttributesSpecified;
351
352 /// <remarks/>
353 [System.Xml.Serialization.XmlAttributeAttribute()]
354 public YesNoType Synchronize;
355
356 /// <remarks/>
357 [System.Xml.Serialization.XmlIgnoreAttribute()]
358 public bool SynchronizeSpecified;
359
360 /// <remarks/>
361 [System.Xml.Serialization.XmlAttributeAttribute()]
362 public YesNoType CreateFile;
363
364 /// <remarks/>
365 [System.Xml.Serialization.XmlIgnoreAttribute()]
366 public bool CreateFileSpecified;
367
368 /// <remarks/>
369 [System.Xml.Serialization.XmlAttributeAttribute()]
370 public YesNoType CreateChild;
371
372 /// <remarks/>
373 [System.Xml.Serialization.XmlIgnoreAttribute()]
374 public bool CreateChildSpecified;
375
376 /// <remarks/>
377 [System.Xml.Serialization.XmlAttributeAttribute()]
378 public YesNoType DeleteChild;
379
380 /// <remarks/>
381 [System.Xml.Serialization.XmlIgnoreAttribute()]
382 public bool DeleteChildSpecified;
383
384 /// <remarks/>
385 [System.Xml.Serialization.XmlAttributeAttribute()]
386 public YesNoType Traverse;
387
388 /// <remarks/>
389 [System.Xml.Serialization.XmlIgnoreAttribute()]
390 public bool TraverseSpecified;
391
392 /// <remarks/>
393 [System.Xml.Serialization.XmlAttributeAttribute()]
394 public YesNoType Append;
395
396 /// <remarks/>
397 [System.Xml.Serialization.XmlIgnoreAttribute()]
398 public bool AppendSpecified;
399
400 /// <remarks/>
401 [System.Xml.Serialization.XmlAttributeAttribute()]
402 public YesNoType Execute;
403
404 /// <remarks/>
405 [System.Xml.Serialization.XmlIgnoreAttribute()]
406 public bool ExecuteSpecified;
407
408 /// <remarks/>
409 [System.Xml.Serialization.XmlAttributeAttribute()]
410 public YesNoType Write;
411
412 /// <remarks/>
413 [System.Xml.Serialization.XmlIgnoreAttribute()]
414 public bool WriteSpecified;
415
416 /// <remarks/>
417 [System.Xml.Serialization.XmlAttributeAttribute()]
418 public YesNoType CreateSubkeys;
419
420 /// <remarks/>
421 [System.Xml.Serialization.XmlIgnoreAttribute()]
422 public bool CreateSubkeysSpecified;
423
424 /// <remarks/>
425 [System.Xml.Serialization.XmlAttributeAttribute()]
426 public YesNoType EnumerateSubkeys;
427
428 /// <remarks/>
429 [System.Xml.Serialization.XmlIgnoreAttribute()]
430 public bool EnumerateSubkeysSpecified;
431
432 /// <remarks/>
433 [System.Xml.Serialization.XmlAttributeAttribute()]
434 public YesNoType Notify;
435
436 /// <remarks/>
437 [System.Xml.Serialization.XmlIgnoreAttribute()]
438 public bool NotifySpecified;
439
440 /// <remarks/>
441 [System.Xml.Serialization.XmlAttributeAttribute()]
442 public YesNoType CreateLink;
443
444 /// <remarks/>
445 [System.Xml.Serialization.XmlIgnoreAttribute()]
446 public bool CreateLinkSpecified;
447
448 /// <remarks/>
449 [System.Xml.Serialization.XmlAttributeAttribute()]
450 public YesNoType GenericAll;
451
452 /// <remarks/>
453 [System.Xml.Serialization.XmlIgnoreAttribute()]
454 public bool GenericAllSpecified;
455
456 /// <remarks/>
457 [System.Xml.Serialization.XmlAttributeAttribute()]
458 public YesNoType GenericExecute;
459
460 /// <remarks/>
461 [System.Xml.Serialization.XmlIgnoreAttribute()]
462 public bool GenericExecuteSpecified;
463
464 /// <remarks/>
465 [System.Xml.Serialization.XmlAttributeAttribute()]
466 public YesNoType GenericWrite;
467
468 /// <remarks/>
469 [System.Xml.Serialization.XmlIgnoreAttribute()]
470 public bool GenericWriteSpecified;
471
472 /// <remarks/>
473 [System.Xml.Serialization.XmlAttributeAttribute()]
474 public YesNoType GenericRead;
475
476 /// <remarks/>
477 [System.Xml.Serialization.XmlIgnoreAttribute()]
478 public bool GenericReadSpecified;
479 }
480
481 /// <remarks/>
482 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
483 [System.SerializableAttribute()]
484 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
485 public enum YesNoType {
486
487 /// <remarks/>
488 no,
489
490 /// <remarks/>
491 yes,
492 }
493
494 /// <remarks/>
495 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
496 [System.SerializableAttribute()]
497 [System.Diagnostics.DebuggerStepThroughAttribute()]
498 [System.ComponentModel.DesignerCategoryAttribute("code")]
499 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
500 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
501 public partial class PermissionEx {
502
503 /// <remarks/>
504 public Condition Condition;
505
506 /// <remarks/>
507 [System.Xml.Serialization.XmlAttributeAttribute()]
508 public string Id;
509
510 /// <remarks/>
511 [System.Xml.Serialization.XmlAttributeAttribute()]
512 public string Sddl;
513 }
514
515 /// <remarks/>
516 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
517 [System.SerializableAttribute()]
518 [System.Diagnostics.DebuggerStepThroughAttribute()]
519 [System.ComponentModel.DesignerCategoryAttribute("code")]
520 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
521 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
522 public partial class Condition {
523
524 /// <remarks/>
525 [System.Xml.Serialization.XmlAttributeAttribute()]
526 public ConditionAction Action;
527
528 /// <remarks/>
529 [System.Xml.Serialization.XmlIgnoreAttribute()]
530 public bool ActionSpecified;
531
532 /// <remarks/>
533 [System.Xml.Serialization.XmlAttributeAttribute(DataType="integer")]
534 public string Level;
535
536 /// <remarks/>
537 [System.Xml.Serialization.XmlAttributeAttribute()]
538 public string Message;
539
540 /// <remarks/>
541 [System.Xml.Serialization.XmlTextAttribute()]
542 public string Value;
543 }
544
545 /// <remarks/>
546 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
547 [System.SerializableAttribute()]
548 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
549 public enum ConditionAction {
550
551 /// <remarks/>
552 @default,
553
554 /// <remarks/>
555 enable,
556
557 /// <remarks/>
558 disable,
559
560 /// <remarks/>
561 hide,
562
563 /// <remarks/>
564 show,
565 }
566
567 /// <remarks/>
568 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
569 [System.SerializableAttribute()]
570 [System.Diagnostics.DebuggerStepThroughAttribute()]
571 [System.ComponentModel.DesignerCategoryAttribute("code")]
572 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
573 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
574 public partial class RegistryValue {
575
576 /// <remarks/>
577 [System.Xml.Serialization.XmlAnyElementAttribute()]
578 [System.Xml.Serialization.XmlElementAttribute("MultiStringValue", typeof(object))]
579 [System.Xml.Serialization.XmlElementAttribute("Permission", typeof(Permission))]
580 [System.Xml.Serialization.XmlElementAttribute("PermissionEx", typeof(PermissionEx))]
581 public List<object> Items = new List<object>();
582
583 /// <remarks/>
584 [System.Xml.Serialization.XmlTextAttribute()]
585 public List<string> Text = new List<string>();
586
587 /// <remarks/>
588 [System.Xml.Serialization.XmlAttributeAttribute()]
589 public string Id;
590
591 /// <remarks/>
592 [System.Xml.Serialization.XmlAttributeAttribute()]
593 public RegistryRootType Root;
594
595 /// <remarks/>
596 [System.Xml.Serialization.XmlIgnoreAttribute()]
597 public bool RootSpecified;
598
599 /// <remarks/>
600 [System.Xml.Serialization.XmlAttributeAttribute()]
601 public string Key;
602
603 /// <remarks/>
604 [System.Xml.Serialization.XmlAttributeAttribute()]
605 public string Name;
606
607 /// <remarks/>
608 [System.Xml.Serialization.XmlAttributeAttribute()]
609 public string Value;
610
611 /// <remarks/>
612 [System.Xml.Serialization.XmlAttributeAttribute()]
613 public RegistryValueType Type;
614
615 /// <remarks/>
616 [System.Xml.Serialization.XmlIgnoreAttribute()]
617 public bool TypeSpecified;
618
619 /// <remarks/>
620 [System.Xml.Serialization.XmlAttributeAttribute()]
621 public RegistryValueAction Action;
622
623 /// <remarks/>
624 [System.Xml.Serialization.XmlIgnoreAttribute()]
625 public bool ActionSpecified;
626
627 /// <remarks/>
628 [System.Xml.Serialization.XmlAttributeAttribute()]
629 public YesNoType KeyPath;
630
631 /// <remarks/>
632 [System.Xml.Serialization.XmlIgnoreAttribute()]
633 public bool KeyPathSpecified;
634 }
635
636 /// <remarks/>
637 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
638 [System.SerializableAttribute()]
639 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
640 public enum RegistryRootType {
641
642 /// <remarks/>
643 HKMU,
644
645 /// <remarks/>
646 HKCR,
647
648 /// <remarks/>
649 HKCU,
650
651 /// <remarks/>
652 HKLM,
653
654 /// <remarks/>
655 HKU,
656 }
657
658 /// <remarks/>
659 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
660 [System.SerializableAttribute()]
661 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
662 public enum RegistryValueType {
663
664 /// <remarks/>
665 @string,
666
667 /// <remarks/>
668 integer,
669
670 /// <remarks/>
671 binary,
672
673 /// <remarks/>
674 expandable,
675
676 /// <remarks/>
677 multiString,
678 }
679
680 /// <remarks/>
681 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
682 [System.SerializableAttribute()]
683 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
684 public enum RegistryValueAction {
685
686 /// <remarks/>
687 append,
688
689 /// <remarks/>
690 prepend,
691
692 /// <remarks/>
693 write,
694 }
695
696 /// <remarks/>
697 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
698 [System.SerializableAttribute()]
699 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
700 public enum RegistryKeyAction {
701
702 /// <remarks/>
703 create,
704
705 /// <remarks/>
706 createAndRemoveOnUninstall,
707
708 /// <remarks/>
709 none,
710 }
711
712 /// <remarks/>
713 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
714 [System.SerializableAttribute()]
715 [System.Diagnostics.DebuggerStepThroughAttribute()]
716 [System.ComponentModel.DesignerCategoryAttribute("code")]
717 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
718 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
719 public partial class RemoveRegistryKey {
720
721 /// <remarks/>
722 [System.Xml.Serialization.XmlAttributeAttribute()]
723 public string Id;
724
725 /// <remarks/>
726 [System.Xml.Serialization.XmlAttributeAttribute()]
727 public RemoveRegistryKeyAction Action;
728
729 /// <remarks/>
730 [System.Xml.Serialization.XmlIgnoreAttribute()]
731 public bool ActionSpecified;
732
733 /// <remarks/>
734 [System.Xml.Serialization.XmlAttributeAttribute()]
735 public string Key;
736
737 /// <remarks/>
738 [System.Xml.Serialization.XmlAttributeAttribute()]
739 public RegistryRootType Root;
740
741 /// <remarks/>
742 [System.Xml.Serialization.XmlIgnoreAttribute()]
743 public bool RootSpecified;
744 }
745
746 /// <remarks/>
747 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
748 [System.SerializableAttribute()]
749 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
750 public enum RemoveRegistryKeyAction {
751
752 /// <remarks/>
753 removeOnInstall,
754
755 /// <remarks/>
756 removeOnUninstall,
757 }
758
759 /// <remarks/>
760 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
761 [System.SerializableAttribute()]
762 [System.Diagnostics.DebuggerStepThroughAttribute()]
763 [System.ComponentModel.DesignerCategoryAttribute("code")]
764 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
765 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
766 public partial class RemoveRegistryValue {
767
768 /// <remarks/>
769 [System.Xml.Serialization.XmlAttributeAttribute()]
770 public string Id;
771
772 /// <remarks/>
773 [System.Xml.Serialization.XmlAttributeAttribute()]
774 public string Key;
775
776 /// <remarks/>
777 [System.Xml.Serialization.XmlAttributeAttribute()]
778 public string Name;
779
780 /// <remarks/>
781 [System.Xml.Serialization.XmlAttributeAttribute()]
782 public RegistryRootType Root;
783
784 /// <remarks/>
785 [System.Xml.Serialization.XmlIgnoreAttribute()]
786 public bool RootSpecified;
787 }
788
789 /// <remarks/>
790 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
791 [System.SerializableAttribute()]
792 [System.Diagnostics.DebuggerStepThroughAttribute()]
793 [System.ComponentModel.DesignerCategoryAttribute("code")]
794 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
795 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
796 public partial class InstallProperties {
797
798 /// <remarks/>
799 [System.Xml.Serialization.XmlElementAttribute("Property")]
800 public List<Property> Property = new List<Property>();
801 }
802
803 /// <remarks/>
804 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
805 [System.SerializableAttribute()]
806 [System.Diagnostics.DebuggerStepThroughAttribute()]
807 [System.ComponentModel.DesignerCategoryAttribute("code")]
808 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
809 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
810 public partial class Property {
811
812 /// <remarks/>
813 [System.Xml.Serialization.XmlAttributeAttribute()]
814 public string Type;
815
816 /// <remarks/>
817 [System.Xml.Serialization.XmlAttributeAttribute()]
818 public string Link;
819
820 /// <remarks/>
821 [System.Xml.Serialization.XmlAttributeAttribute()]
822 public string Target;
823
824 /// <remarks/>
825 [System.Xml.Serialization.XmlAttributeAttribute()]
826 public string prop_guid;
827 }
828
829 /// <remarks/>
830 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
831 [System.SerializableAttribute()]
832 [System.Diagnostics.DebuggerStepThroughAttribute()]
833 [System.ComponentModel.DesignerCategoryAttribute("code")]
834 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
835 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
836 public partial class Dependencies {
837
838 /// <remarks/>
839 [System.Xml.Serialization.XmlElementAttribute("Dependency")]
840 public List<Dependency> Dependency = new List<Dependency>();
841 }
842
843 /// <remarks/>
844 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
845 [System.SerializableAttribute()]
846 [System.Diagnostics.DebuggerStepThroughAttribute()]
847 [System.ComponentModel.DesignerCategoryAttribute("code")]
848 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
849 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
850 public partial class Dependency {
851
852 /// <remarks/>
853 [System.Xml.Serialization.XmlAttributeAttribute()]
854 public string package_id;
855
856 /// <remarks/>
857 [System.Xml.Serialization.XmlAttributeAttribute()]
858 public string Name;
859
860 /// <remarks/>
861 [System.Xml.Serialization.XmlAttributeAttribute()]
862 public string Version;
863
864 /// <remarks/>
865 [System.Xml.Serialization.XmlAttributeAttribute()]
866 public Arch Arch;
867
868 /// <remarks/>
869 [System.Xml.Serialization.XmlAttributeAttribute()]
870 public string PublicKeyToken;
871 }
872
873 /// <remarks/>
874 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
875 [System.SerializableAttribute()]
876 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
877 public enum Arch {
878
879 /// <remarks/>
880 x86,
881
882 /// <remarks/>
883 x64,
884
885 /// <remarks/>
886 any,
887 }
888
889 /// <remarks/>
890 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
891 [System.SerializableAttribute()]
892 [System.Diagnostics.DebuggerStepThroughAttribute()]
893 [System.ComponentModel.DesignerCategoryAttribute("code")]
894 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
895 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
896 public partial class Publisher {
897
898 /// <remarks/>
899 [System.Xml.Serialization.XmlAttributeAttribute()]
900 public string Name;
901
902 /// <remarks/>
903 [System.Xml.Serialization.XmlAttributeAttribute()]
904 public string PublicKeyToken;
905
906 /// <remarks/>
907 [System.Xml.Serialization.XmlAttributeAttribute()]
908 public string directory_id;
909 }
910
911 /// <remarks/>
912 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
913 [System.SerializableAttribute()]
914 [System.Diagnostics.DebuggerStepThroughAttribute()]
915 [System.ComponentModel.DesignerCategoryAttribute("code")]
916 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
917 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
918 public partial class Properties {
919
920 /// <remarks/>
921 [System.Xml.Serialization.XmlAttributeAttribute()]
922 public string DisplayName;
923
924 /// <remarks/>
925 [System.Xml.Serialization.XmlAttributeAttribute()]
926 public string Description;
927
928 /// <remarks/>
929 [System.Xml.Serialization.XmlAttributeAttribute()]
930 public string Icon;
931
932 /// <remarks/>
933 [System.Xml.Serialization.XmlAttributeAttribute(DataType="date")]
934 public System.DateTime PublishDate;
935
936 /// <remarks/>
937 [System.Xml.Serialization.XmlIgnoreAttribute()]
938 public bool PublishDateSpecified;
939
940 /// <remarks/>
941 [System.Xml.Serialization.XmlAttributeAttribute()]
942 public string AuthorVersion;
943
944 /// <remarks/>
945 [System.Xml.Serialization.XmlAttributeAttribute()]
946 public string icon_id;
947 }
948
949 /// <remarks/>
950 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
951 [System.SerializableAttribute()]
952 [System.Diagnostics.DebuggerStepThroughAttribute()]
953 [System.ComponentModel.DesignerCategoryAttribute("code")]
954 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
955 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
956 public partial class BindingPolicy {
957
958 /// <remarks/>
959 [System.Xml.Serialization.XmlAttributeAttribute()]
960 public string MinimumVersion;
961
962 /// <remarks/>
963 [System.Xml.Serialization.XmlAttributeAttribute()]
964 public string MaximumVersion;
965 }
966
967 /// <remarks/>
968 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
969 [System.SerializableAttribute()]
970 [System.Diagnostics.DebuggerStepThroughAttribute()]
971 [System.ComponentModel.DesignerCategoryAttribute("code")]
972 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
973 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
974 public partial class Urls {
975
976 /// <remarks/>
977 [System.Xml.Serialization.XmlElementAttribute("Url")]
978 public List<Url> Url = new List<Url>();
979 }
980
981 /// <remarks/>
982 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
983 [System.SerializableAttribute()]
984 [System.Diagnostics.DebuggerStepThroughAttribute()]
985 [System.ComponentModel.DesignerCategoryAttribute("code")]
986 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
987 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
988 public partial class Url {
989
990 /// <remarks/>
991 [System.Xml.Serialization.XmlAttributeAttribute()]
992 public string URL;
993
994 /// <remarks/>
995 [System.Xml.Serialization.XmlAttributeAttribute()]
996 public string Type;
997
998 /// <remarks/>
999 [System.Xml.Serialization.XmlAttributeAttribute()]
1000 public string url_guid;
1001 }
1002
1003 /// <remarks/>
1004 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1005 [System.SerializableAttribute()]
1006 [System.Diagnostics.DebuggerStepThroughAttribute()]
1007 [System.ComponentModel.DesignerCategoryAttribute("code")]
1008 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1009 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1010 public partial class SharedLib : Role {
1011
1012 /// <remarks/>
1013 public Files Files;
1014 }
1015
1016 /// <remarks/>
1017 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1018 [System.SerializableAttribute()]
1019 [System.Diagnostics.DebuggerStepThroughAttribute()]
1020 [System.ComponentModel.DesignerCategoryAttribute("code")]
1021 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1022 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1023 public partial class Files {
1024
1025 /// <remarks/>
1026 public Assembly Assembly;
1027
1028 /// <remarks/>
1029 [System.Xml.Serialization.XmlElementAttribute("PolicyAssembly")]
1030 public List<PolicyAssembly> PolicyAssembly = new List<PolicyAssembly>();
1031
1032 /// <remarks/>
1033 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1034 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1035 public List<FileSysItem> Items = new List<FileSysItem>();
1036 }
1037
1038 /// <remarks/>
1039 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1040 [System.SerializableAttribute()]
1041 [System.Diagnostics.DebuggerStepThroughAttribute()]
1042 [System.ComponentModel.DesignerCategoryAttribute("code")]
1043 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1044 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1045 public partial class Assembly : FileType {
1046
1047 /// <remarks/>
1048 public Manifest Manifest;
1049
1050 /// <remarks/>
1051 public CatFile CatFile;
1052
1053 /// <remarks/>
1054 [System.Xml.Serialization.XmlElementAttribute("File")]
1055 public List<File> Items = new List<File>();
1056
1057 /// <remarks/>
1058 [System.Xml.Serialization.XmlAttributeAttribute()]
1059 public string type;
1060
1061 /// <remarks/>
1062 [System.Xml.Serialization.XmlAttributeAttribute()]
1063 public Arch Arch;
1064
1065 /// <remarks/>
1066 [System.Xml.Serialization.XmlAttributeAttribute()]
1067 public string Platform;
1068
1069 /// <remarks/>
1070 [System.Xml.Serialization.XmlAttributeAttribute()]
1071 public bool CreateManifestAndCat;
1072
1073 /// <remarks/>
1074 [System.Xml.Serialization.XmlIgnoreAttribute()]
1075 public bool CreateManifestAndCatSpecified;
1076 }
1077
1078 /// <remarks/>
1079 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1080 [System.SerializableAttribute()]
1081 [System.Diagnostics.DebuggerStepThroughAttribute()]
1082 [System.ComponentModel.DesignerCategoryAttribute("code")]
1083 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1084 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1085 public partial class Manifest : FileType {
1086 }
1087
1088 /// <remarks/>
1089 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1090 [System.SerializableAttribute()]
1091 [System.Diagnostics.DebuggerStepThroughAttribute()]
1092 [System.ComponentModel.DesignerCategoryAttribute("code")]
1093 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1094 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1095 public partial class CatFile : FileType {
1096 }
1097
1098 /// <remarks/>
1099 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1100 [System.SerializableAttribute()]
1101 [System.Diagnostics.DebuggerStepThroughAttribute()]
1102 [System.ComponentModel.DesignerCategoryAttribute("code")]
1103 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1104 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1105 public partial class File : FileType {
1106 }
1107
1108 /// <remarks/>
1109 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1110 [System.SerializableAttribute()]
1111 [System.Diagnostics.DebuggerStepThroughAttribute()]
1112 [System.ComponentModel.DesignerCategoryAttribute("code")]
1113 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1114 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1115 public partial class PolicyAssembly {
1116
1117 /// <remarks/>
1118 public Manifest Manifest;
1119
1120 /// <remarks/>
1121 public CatFile CatFile;
1122
1123 /// <remarks/>
1124 [System.Xml.Serialization.XmlAttributeAttribute()]
1125 public string type;
1126
1127 /// <remarks/>
1128 [System.Xml.Serialization.XmlAttributeAttribute()]
1129 public Arch Arch;
1130
1131 /// <remarks/>
1132 [System.Xml.Serialization.XmlAttributeAttribute()]
1133 public string Platform;
1134 }
1135
1136 /// <remarks/>
1137 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1138 [System.SerializableAttribute()]
1139 [System.Diagnostics.DebuggerStepThroughAttribute()]
1140 [System.ComponentModel.DesignerCategoryAttribute("code")]
1141 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1142 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1143 public partial class Folder : FileSysItem {
1144
1145 /// <remarks/>
1146 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1147 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1148 public List<FileSysItem> Items = new List<FileSysItem>();
1149
1150 /// <remarks/>
1151 [System.Xml.Serialization.XmlAttributeAttribute()]
1152 public string Name;
1153
1154 /// <remarks/>
1155 [System.Xml.Serialization.XmlAttributeAttribute()]
1156 public string folder_id;
1157 }
1158
1159 /// <remarks/>
1160 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1161 [System.SerializableAttribute()]
1162 [System.Diagnostics.DebuggerStepThroughAttribute()]
1163 [System.ComponentModel.DesignerCategoryAttribute("code")]
1164 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1165 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1166 public partial class DeveloperLib : Role {
1167
1168 /// <remarks/>
1169 public Includes Includes;
1170 }
1171
1172 /// <remarks/>
1173 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1174 [System.SerializableAttribute()]
1175 [System.Diagnostics.DebuggerStepThroughAttribute()]
1176 [System.ComponentModel.DesignerCategoryAttribute("code")]
1177 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1178 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1179 public partial class Includes {
1180
1181 /// <remarks/>
1182 [System.Xml.Serialization.XmlElementAttribute("StaticLibs")]
1183 public List<StaticLibs> StaticLibs = new List<StaticLibs>();
1184
1185 /// <remarks/>
1186 [System.Xml.Serialization.XmlElementAttribute("ImportLibs")]
1187 public List<ImportLibs> ImportLibs = new List<ImportLibs>();
1188
1189 /// <remarks/>
1190 [System.Xml.Serialization.XmlElementAttribute("Headers")]
1191 public List<Headers> Headers = new List<Headers>();
1192
1193 /// <remarks/>
1194 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1195 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1196 public List<FileSysItem> Items = new List<FileSysItem>();
1197 }
1198
1199 /// <remarks/>
1200 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1201 [System.SerializableAttribute()]
1202 [System.Diagnostics.DebuggerStepThroughAttribute()]
1203 [System.ComponentModel.DesignerCategoryAttribute("code")]
1204 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1205 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1206 public partial class StaticLibs {
1207
1208 /// <remarks/>
1209 [System.Xml.Serialization.XmlElementAttribute("LibFile")]
1210 public List<LibFile> LibFile = new List<LibFile>();
1211 }
1212
1213 /// <remarks/>
1214 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1215 [System.SerializableAttribute()]
1216 [System.Diagnostics.DebuggerStepThroughAttribute()]
1217 [System.ComponentModel.DesignerCategoryAttribute("code")]
1218 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1219 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1220 public partial class LibFile : FileType {
1221
1222 /// <remarks/>
1223 [System.Xml.Serialization.XmlAttributeAttribute()]
1224 public string Compiler;
1225
1226 /// <remarks/>
1227 [System.Xml.Serialization.XmlAttributeAttribute()]
1228 public Arch Arch;
1229 }
1230
1231 /// <remarks/>
1232 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1233 [System.SerializableAttribute()]
1234 [System.Diagnostics.DebuggerStepThroughAttribute()]
1235 [System.ComponentModel.DesignerCategoryAttribute("code")]
1236 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1237 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1238 public partial class ImportLibs {
1239
1240 /// <remarks/>
1241 [System.Xml.Serialization.XmlElementAttribute("LibFile")]
1242 public List<LibFile> LibFile = new List<LibFile>();
1243 }
1244
1245 /// <remarks/>
1246 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1247 [System.SerializableAttribute()]
1248 [System.Diagnostics.DebuggerStepThroughAttribute()]
1249 [System.ComponentModel.DesignerCategoryAttribute("code")]
1250 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1251 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1252 public partial class Headers {
1253
1254 /// <remarks/>
1255 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1256 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1257 public List<FileSysItem> Items = new List<FileSysItem>();
1258
1259 /// <remarks/>
1260 [System.Xml.Serialization.XmlAttributeAttribute()]
1261 public string dir_id;
1262 }
1263
1264 /// <remarks/>
1265 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1266 [System.SerializableAttribute()]
1267 [System.Diagnostics.DebuggerStepThroughAttribute()]
1268 [System.ComponentModel.DesignerCategoryAttribute("code")]
1269 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1270 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1271 public partial class AppRole : Role {
1272
1273 /// <remarks/>
1274 public AppFiles AppFiles;
1275 }
1276
1277 /// <remarks/>
1278 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1279 [System.SerializableAttribute()]
1280 [System.Diagnostics.DebuggerStepThroughAttribute()]
1281 [System.ComponentModel.DesignerCategoryAttribute("code")]
1282 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1283 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1284 public partial class AppFiles {
1285
1286 /// <remarks/>
1287 [System.Xml.Serialization.XmlElementAttribute("ExeFile")]
1288 public List<ExeFile> ExeFile = new List<ExeFile>();
1289
1290 /// <remarks/>
1291 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1292 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1293 public List<FileSysItem> Items = new List<FileSysItem>();
1294 }
1295
1296 /// <remarks/>
1297 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1298 [System.SerializableAttribute()]
1299 [System.Diagnostics.DebuggerStepThroughAttribute()]
1300 [System.ComponentModel.DesignerCategoryAttribute("code")]
1301 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1302 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1303 public partial class ExeFile : FileType {
1304
1305 /// <remarks/>
1306 [System.Xml.Serialization.XmlAttributeAttribute()]
1307 public string Compiler;
1308
1309 /// <remarks/>
1310 [System.Xml.Serialization.XmlAttributeAttribute()]
1311 public Arch Arch;
1312 }
1313
1314 /// <remarks/>
1315 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1316 [System.SerializableAttribute()]
1317 [System.Diagnostics.DebuggerStepThroughAttribute()]
1318 [System.ComponentModel.DesignerCategoryAttribute("code")]
1319 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1320 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1321 public partial class DriverRole : Role {
1322
1323 /// <remarks/>
1324 public DriverFiles DriverFiles;
1325 }
1326
1327 /// <remarks/>
1328 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1329 [System.SerializableAttribute()]
1330 [System.Diagnostics.DebuggerStepThroughAttribute()]
1331 [System.ComponentModel.DesignerCategoryAttribute("code")]
1332 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1333 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1334 public partial class DriverFiles {
1335
1336 /// <remarks/>
1337 [System.Xml.Serialization.XmlElementAttribute("Driver")]
1338 public List<Driver> Driver = new List<Driver>();
1339
1340 /// <remarks/>
1341 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1342 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1343 public List<FileSysItem> Items = new List<FileSysItem>();
1344 }
1345
1346 /// <remarks/>
1347 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1348 [System.SerializableAttribute()]
1349 [System.Diagnostics.DebuggerStepThroughAttribute()]
1350 [System.ComponentModel.DesignerCategoryAttribute("code")]
1351 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1352 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1353 public partial class Driver : FileType {
1354
1355 /// <remarks/>
1356 public File File;
1357 }
1358
1359 /// <remarks/>
1360 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1361 [System.SerializableAttribute()]
1362 [System.Diagnostics.DebuggerStepThroughAttribute()]
1363 [System.ComponentModel.DesignerCategoryAttribute("code")]
1364 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1365 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1366 public partial class comp {
1367
1368 /// <remarks/>
1369 [System.Xml.Serialization.XmlAttributeAttribute()]
1370 public string component_id;
1371 }
1372
1373 /// <remarks/>
1374 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1375 [System.SerializableAttribute()]
1376 [System.Diagnostics.DebuggerStepThroughAttribute()]
1377 [System.ComponentModel.DesignerCategoryAttribute("code")]
1378 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1379 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1380 public partial class StaticLib {
1381
1382 /// <remarks/>
1383 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1384 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1385 public List<FileSysItem> Items = new List<FileSysItem>();
1386 }
1387
1388 /// <remarks/>
1389 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1390 [System.SerializableAttribute()]
1391 [System.Diagnostics.DebuggerStepThroughAttribute()]
1392 [System.ComponentModel.DesignerCategoryAttribute("code")]
1393 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1394 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1395 public partial class ImportLib {
1396
1397 /// <remarks/>
1398 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1399 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1400 public List<FileSysItem> Items = new List<FileSysItem>();
1401 }
1402
1403 /// <remarks/>
1404 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1405 [System.SerializableAttribute()]
1406 [System.Diagnostics.DebuggerStepThroughAttribute()]
1407 [System.ComponentModel.DesignerCategoryAttribute("code")]
1408 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1409 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1410 public partial class Registry {
1411
1412 /// <remarks/>
1413 [System.Xml.Serialization.XmlElementAttribute("RegistryKey", typeof(RegistryKey))]
1414 [System.Xml.Serialization.XmlElementAttribute("RegistryValue", typeof(RegistryValue))]
1415 [System.Xml.Serialization.XmlElementAttribute("RemoveRegistryKey", typeof(RemoveRegistryKey))]
1416 [System.Xml.Serialization.XmlElementAttribute("RemoveRegistryValue", typeof(RemoveRegistryValue))]
1417 public List<object> Items = new List<object>();
1418 }
1419
1420 /// <remarks/>
1421 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1422 [System.SerializableAttribute()]
1423 [System.Diagnostics.DebuggerStepThroughAttribute()]
1424 [System.ComponentModel.DesignerCategoryAttribute("code")]
1425 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1426 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1427 public partial class CodeFiles {
1428
1429 /// <remarks/>
1430 [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1431 [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1432 public List<FileSysItem> Items = new List<FileSysItem>();
1433 }
1434
1435 /// <remarks/>
1436 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1437 [System.SerializableAttribute()]
1438 [System.Diagnostics.DebuggerStepThroughAttribute()]
1439 [System.ComponentModel.DesignerCategoryAttribute("code")]
1440 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1441 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1442 public partial class features {
1443
1444 /// <remarks/>
1445 [System.Xml.Serialization.XmlElementAttribute("comp")]
1446 public List<comp> Items = new List<comp>();
1447 }
1448
1449 /// <remarks/>
1450 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1451 [System.SerializableAttribute()]
1452 [System.Diagnostics.DebuggerStepThroughAttribute()]
1453 [System.ComponentModel.DesignerCategoryAttribute("code")]
1454 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1455 [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1456 public partial class SourceCode : Role {
1457
1458 /// <remarks/>
1459 [System.Xml.Serialization.XmlArrayItemAttribute("File", typeof(File), IsNullable=false)]
1460 [System.Xml.Serialization.XmlArrayItemAttribute("Folder", typeof(Folder), IsNullable=false)]
1461 public List<FileSysItem> CodeFiles = new List<FileSysItem>();
1462 }
1463}
01464
=== added file 'Package/mkPackage.xsd'
--- Package/mkPackage.xsd 1970-01-01 00:00:00 +0000
+++ Package/mkPackage.xsd 2011-01-21 19:08:57 +0000
@@ -0,0 +1,1356 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3<![CDATA[
4//
5// <copyright company="CoApp Project">
6// Copyright (c) 2010-2011 Eric Schultz. All rights reserved.
7//
8// Certain types included from WiX project,
9// Copyright (c) 2010 Windows Installer Xml
10// </copyright>
11//
12]]>
13-->
14<xs:schema id="InputSchema"
15 targetNamespace="http://coapp.org/ns/mkPackage.xsd"
16 elementFormDefault="qualified"
17 xmlns="http://coapp.org/ns/mkPackage.xsd"
18 xmlns:mstns="http://coapp.org/ns/mkPackage.xsd"
19 xmlns:xs="http://www.w3.org/2001/XMLSchema"
20 xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
21>
22 <xs:annotation>
23 <xs:documentation>Schema for mkPackage input files. IMPORTANT CONVENTION: Attribute names that start with a
24 lower-case letter will be automatically created by mkPackage.</xs:documentation>
25 </xs:annotation>
26 <xs:element name="Package">
27 <xs:annotation>
28 <xs:documentation>Represents a CoApp package.</xs:documentation>
29 </xs:annotation>
30 <xs:complexType>
31
32 <xs:sequence minOccurs="1">
33 <xs:element ref="Tags" minOccurs="0" maxOccurs="1"/>
34 <xs:element ref="Dependencies" minOccurs="0" maxOccurs="1"/>
35 <xs:element ref="Publisher" minOccurs="0" maxOccurs="1"/>
36 <xs:element ref="Properties" minOccurs="0" maxOccurs="1"/>
37 <xs:element ref="BindingPolicy" minOccurs="0" maxOccurs="1"/>
38 <xs:element ref="Urls" minOccurs="0" maxOccurs="1" />
39 <xs:sequence minOccurs="1">
40 <xs:element ref="SharedLib" minOccurs="0"/>
41 <xs:element ref="DeveloperLib" minOccurs="0"/>
42 <xs:element ref="AppRole" minOccurs="0"/>
43 <xs:element ref="DriverRole" minOccurs="0"/>
44 </xs:sequence>
45 <xs:element ref="features" minOccurs="0" maxOccurs="1" />
46
47 </xs:sequence>
48
49 <xs:attribute name="Name" type="Id" use="required">
50 <xs:annotation>
51 <xs:documentation>The name of your package.</xs:documentation>
52 </xs:annotation>
53 </xs:attribute>
54 <xs:attribute name="Version" type="VersionType" use="required">
55 <xs:annotation>
56 <xs:documentation>
57 The version of your package. Must be of the form X.X.X.X where X is an integer from 0-65534.
58 If you have some other type of versioning system, i.e.: 1.0k, that goes in the AuthorVersion attribute of Properties element.
59 </xs:documentation>
60 </xs:annotation>
61 </xs:attribute>
62
63 <xs:attribute name="Arch" type="Arch" use="required">
64 <xs:annotation>
65 <xs:documentation>The architecture the package runs on. See the Arch type for details.</xs:documentation>
66 </xs:annotation>
67 </xs:attribute>
68
69 <xs:attribute name="Platform" type="xs:string">
70 <xs:annotation>
71 <xs:documentation>The platform your package runs on. Currently this is only meaningful if you are making a .NET package,
72 in which case you should enter MSIL (and set Arch to any).</xs:documentation>
73 </xs:annotation>
74 </xs:attribute>
75
76 <xs:attribute name="proddir_id" type="Id"/>
77 <xs:attribute name="package_guid" type="Guid"/>
78 <xs:attribute name="product_guid" type="Guid"/>
79 </xs:complexType>
80 </xs:element>
81
82 <!-- groups -->
83 <xs:element name="Tags">
84 <xs:annotation>
85 <xs:documentation>Holds all the tags for a given package.</xs:documentation>
86 </xs:annotation>
87 <xs:complexType>
88 <xs:sequence minOccurs="0">
89 <xs:element ref="Tag" />
90 </xs:sequence>
91 </xs:complexType>
92 </xs:element>
93
94 <xs:element name="Dependencies">
95 <xs:annotation>
96 <xs:documentation>Holds all the dependencies for a given package.</xs:documentation>
97 </xs:annotation>
98 <xs:complexType>
99 <xs:sequence minOccurs="0" maxOccurs="unbounded">
100 <xs:element ref="Dependency"/>
101 </xs:sequence>
102 </xs:complexType>
103 </xs:element>
104
105 <xs:element name="InstallProperties">
106 <xs:complexType>
107 <xs:sequence minOccurs="1" maxOccurs="unbounded">
108 <xs:element ref="Property"/>
109 </xs:sequence>
110 </xs:complexType>
111 </xs:element>
112
113 <!--others-->
114 <xs:element name="Tag">
115 <xs:complexType>
116 <xs:attribute name="Type" type="xs:string" use="required"/>
117 <xs:attribute name="Value" type="xs:string" use="required"/>
118 <xs:attribute name="tag_guid" type="Guid" use="optional"/>
119 </xs:complexType>
120 </xs:element>
121
122 <xs:element name="Property">
123 <xs:complexType>
124 <xs:attribute name="Type" type="xs:string" use="required"/>
125 <xs:attribute name="Link" type="xs:string" use="required"/>
126 <xs:attribute name="Target" type="xs:string" use="required"/>
127 <xs:attribute name="prop_guid" type="Guid" use="optional"/>
128 </xs:complexType>
129 </xs:element>
130
131
132 <xs:element name="Dependency">
133 <xs:annotation>
134 <xs:documentation>Some packages are dependent on other packages. In those cases,
135 each of the other packages are described using a Dependency element.
136 </xs:documentation>
137 </xs:annotation>
138 <xs:complexType>
139 <xs:attribute name="package_id" type="Guid" use="optional"/>
140 <xs:attribute name="Name" type="Id" use="required">
141 <xs:annotation>
142 <xs:documentation>The name of the dependency.</xs:documentation>
143 </xs:annotation>
144 </xs:attribute>
145 <xs:attribute name="Version" type="VersionType" use="required">
146 <xs:annotation>
147 <xs:documentation>
148 The particular version of the dependency.
149 </xs:documentation>
150 </xs:annotation>
151 </xs:attribute>
152
153 <xs:attribute name="Arch" type="Arch" use="required">
154 <xs:annotation>
155 <xs:documentation>
156 The architecture of the dependency.
157 </xs:documentation>
158 </xs:annotation>
159 </xs:attribute>
160 <xs:attribute name="PublicKeyToken" type="PublicKeyToken" use="required">
161 <xs:annotation>
162 <xs:documentation>The public key token of the publisher that signed the dependency.</xs:documentation>
163 </xs:annotation>
164 </xs:attribute>
165 </xs:complexType>
166 </xs:element>
167
168 <xs:element name="Publisher">
169 <xs:complexType>
170 <xs:attribute name="Name" type="xs:string" use="required">
171 <xs:annotation>
172 <xs:documentation>The name of publisher. This name must match the name on the certificate used for signing
173 this package.</xs:documentation>
174 </xs:annotation>
175 </xs:attribute>
176 <xs:attribute name="PublicKeyToken" type="PublicKeyToken" use="required">
177 <xs:annotation>
178 <xs:documentation>The public key token of the publisher. Must match the public key token on the
179 certificate used for signing this package.</xs:documentation>
180 </xs:annotation>
181 </xs:attribute>
182 <xs:attribute name="directory_id" type="xs:string"/>
183 </xs:complexType>
184 </xs:element>
185
186 <xs:element name="Properties">
187 <xs:annotation>
188 <xs:documentation>These are properties of the package itself.</xs:documentation>
189 </xs:annotation>
190 <xs:complexType >
191 <xs:attribute name="DisplayName" type="xs:string">
192 <xs:annotation>
193 <xs:documentation>The "friendly" name of the package. This can include pretty much any character.</xs:documentation>
194 </xs:annotation>
195 </xs:attribute>
196 <xs:attribute name="Description" type="xs:string">
197 <xs:annotation>
198 <xs:documentation>An end-user readable description of the software.</xs:documentation>
199 </xs:annotation>
200 </xs:attribute>
201 <xs:attribute name="Icon" type="xs:string">
202 <xs:annotation>
203 <xs:documentation>The file path to the package's icon.</xs:documentation>
204 </xs:annotation>
205 </xs:attribute>
206 <xs:attribute name="PublishDate" type="xs:date">
207 <xs:annotation>
208 <xs:documentation>The release date of the package.</xs:documentation>
209 </xs:annotation>
210 </xs:attribute>
211 <xs:attribute name="AuthorVersion" type="xs:string">
212 <xs:annotation>
213 <xs:documentation>The version used by the author. An example would be Windows Vista.
214 It's package version would be 6000.x.x.x but it's AuthorVersion would be 'Vista'</xs:documentation>
215 </xs:annotation>
216 </xs:attribute>
217 <xs:attribute name="icon_id" type="xs:string"/>
218 </xs:complexType>
219 </xs:element>
220
221 <xs:element name="BindingPolicy">
222 <xs:annotation>
223 <xs:documentation>States which versions of this package that this specific version replaces and which other
224 software should use. Example: An update to the version 1 branch of Apache might replaces versions: 1.0.0.0-1.x.x.x but
225 it wouldn't replace anything from the version 2 branch (something with a version like 2.x.x.x)</xs:documentation>
226 </xs:annotation>
227 <xs:complexType>
228 <xs:attribute name="MinimumVersion" type="VersionType">
229 <xs:annotation>
230 <xs:documentation>The minimum version of this package that this specific version replaces.</xs:documentation>
231 </xs:annotation>
232 </xs:attribute>
233 <xs:attribute name="MaximumVersion" type="VersionType">
234 <xs:annotation>
235 <xs:documentation>The maximum version of this package that this specific version replaces.</xs:documentation>
236 </xs:annotation>
237 </xs:attribute>
238 </xs:complexType>
239 </xs:element>
240
241
242 <xs:complexType name="Role">
243 <xs:sequence minOccurs="0" maxOccurs="1">
244 <xs:element ref="License" minOccurs="0" maxOccurs="1"/>
245 <xs:element ref="Registry" minOccurs="0" maxOccurs="1"/>
246 <xs:element ref="InstallProperties" minOccurs="0" maxOccurs="1"/>
247 </xs:sequence>
248 <xs:attribute name="type" use="optional"/>
249 <xs:attribute name="Flavor" use="optional" type="xs:string"/>
250 <xs:attribute name="role_guid" use="optional" type="Guid"/>
251 </xs:complexType>
252
253 <xs:element name="StaticLib">
254 <xs:complexType>
255 <xs:choice minOccurs="0" maxOccurs="unbounded">
256
257 <xs:element ref="File" />
258 <xs:element ref="Folder"/>
259
260 </xs:choice>
261 </xs:complexType>
262 </xs:element>
263
264 <xs:element name="ImportLib">
265 <xs:complexType>
266 <xs:choice minOccurs="0" maxOccurs="unbounded">
267
268 <xs:element ref="File" />
269 <xs:element ref="Folder"/>
270
271 </xs:choice>
272 </xs:complexType>
273 </xs:element>
274
275
276 <xs:complexType name="FileSysItem">
277 <xs:annotation>
278 <xs:documentation>A file system item. The base type of all major</xs:documentation>
279 </xs:annotation>
280 </xs:complexType>
281
282 <xs:element name="Folder">
283 <xs:complexType>
284 <xs:complexContent>
285 <xs:extension base="FileSysItem">
286 <xs:choice minOccurs="0" maxOccurs="unbounded">
287
288 <xs:element ref="File" />
289 <xs:element ref="Folder"/>
290
291 </xs:choice>
292
293 <!-- make this a valid folder name-->
294 <xs:attribute name="Name" type="xs:string" use="required"/>
295
296 <xs:attribute name="folder_id" type="Id" use="optional"/>
297 </xs:extension>
298 </xs:complexContent>
299 </xs:complexType>
300 </xs:element>
301
302 <xs:complexType name="FileType">
303 <xs:complexContent>
304 <xs:extension base="FileSysItem">
305 <xs:attribute name="name" type="xs:string"/>
306 <xs:attribute name="Src" type="xs:string" use="required"/>
307 <xs:attribute name="ext" type="xs:string"/>
308 <xs:attribute name="component_guid" type ="Guid" use="optional"/>
309 <xs:attribute name="component_id" type="Id" use="optional"/>
310 </xs:extension>
311 </xs:complexContent>
312
313 </xs:complexType>
314
315 <xs:element name="File">
316 <xs:complexType>
317 <xs:complexContent>
318 <xs:extension base="FileType"/>
319 </xs:complexContent>
320 </xs:complexType>
321 </xs:element>
322
323 <xs:element name="LibFile">
324 <xs:complexType>
325 <xs:complexContent>
326 <xs:extension base="FileType">
327 <xs:attribute name="Compiler" type="xs:string" use="optional"/>
328 <xs:attribute name="Arch" type="Arch" use="required"/>
329 </xs:extension>
330
331 </xs:complexContent>
332 </xs:complexType>
333 </xs:element>
334
335 <xs:element name="ExeFile">
336 <xs:complexType>
337 <xs:complexContent>
338 <xs:extension base="FileType">
339 <xs:attribute name="Compiler" type="xs:string" use="optional"/>
340 <xs:attribute name="Arch" type="Arch" use="required"/>
341 </xs:extension>
342
343 </xs:complexContent>
344 </xs:complexType>
345 </xs:element>
346
347
348 <xs:element name="License">
349 <xs:complexType mixed="true">
350
351 <xs:attribute name="Url" type="xs:anyURI"/>
352 <xs:attribute name="license_guid" type="Guid"/>
353 </xs:complexType>
354 </xs:element>
355
356 <xs:element name="Assembly">
357 <xs:complexType>
358 <xs:complexContent>
359 <xs:extension base ="FileType">
360 <xs:sequence>
361 <xs:element ref="Manifest" minOccurs="0" maxOccurs="1"/>
362 <xs:element ref="CatFile" minOccurs="0" maxOccurs="1"/>
363 <xs:choice minOccurs="0" maxOccurs="unbounded">
364 <xs:element ref="File"/>
365 </xs:choice>
366 </xs:sequence>
367 <!-- restrict this to valid types-->
368 <xs:attribute name="type" type="xs:string"/>
369 <!-- restrict this to valid archs-->
370 <xs:attribute name="Arch" type="Arch" use="required"/>
371 <xs:attribute name="Platform" type="xs:string" use="required"/>
372 <xs:attribute name="CreateManifestAndCat" type="xs:boolean" use="optional"/>
373 </xs:extension>
374 </xs:complexContent>
375 </xs:complexType>
376 </xs:element>
377
378 <xs:element name="PolicyAssembly">
379 <xs:complexType>
380 <xs:sequence>
381 <xs:element ref="Manifest" minOccurs="1" maxOccurs="1"/>
382 <xs:element ref="CatFile" minOccurs="1" maxOccurs="1"/>
383
384 </xs:sequence>
385 <!-- restrict this to valid types-->
386 <xs:attribute name="type" type="xs:string"/>
387 <!-- restrict this to valid archs-->
388 <xs:attribute name="Arch" type="Arch" use="required"/>
389 <xs:attribute name="Platform" type="xs:string" use="required"/>
390
391 </xs:complexType>
392 </xs:element>
393
394
395 <xs:element name="Driver">
396 <xs:complexType>
397 <xs:complexContent>
398 <xs:extension base="FileType">
399 <xs:sequence>
400 <xs:element ref="File"/>
401 </xs:sequence>
402 </xs:extension>
403 </xs:complexContent>
404 </xs:complexType>
405 </xs:element>
406
407 <xs:element name="Manifest">
408 <xs:complexType>
409 <xs:complexContent>
410 <xs:extension base="FileType"/>
411 </xs:complexContent>
412 </xs:complexType>
413 </xs:element>
414
415 <xs:element name="CatFile">
416 <xs:complexType>
417 <xs:complexContent>
418 <xs:extension base="FileType"/>
419 </xs:complexContent>
420 </xs:complexType>
421 </xs:element>
422
423 <xs:element name="Files">
424 <xs:complexType >
425 <xs:sequence>
426 <xs:element ref="Assembly" minOccurs="1" maxOccurs="1"/>
427 <xs:element ref="PolicyAssembly" minOccurs="0" maxOccurs="unbounded" />
428 <xs:choice minOccurs="0" maxOccurs="unbounded">
429 <xs:element ref="File"/>
430 <xs:element ref="Folder"/>
431 </xs:choice>
432 </xs:sequence>
433 </xs:complexType>
434 </xs:element>
435
436
437 <xs:element name="Includes">
438 <xs:complexType>
439 <xs:sequence>
440 <xs:element ref="StaticLibs" minOccurs="0" maxOccurs="unbounded"/>
441 <xs:element ref="ImportLibs" minOccurs="0" maxOccurs="unbounded"/>
442 <xs:element ref="Headers" minOccurs="0" maxOccurs="unbounded"/>
443 <xs:choice minOccurs="0" maxOccurs="unbounded">
444
445 <xs:element ref="File"/>
446 <xs:element ref="Folder"/>
447 </xs:choice>
448 </xs:sequence>
449
450 </xs:complexType>
451 </xs:element>
452
453 <xs:element name="Registry">
454 <xs:complexType>
455 <xs:choice minOccurs="0" maxOccurs="unbounded">
456 <xs:element ref="RegistryKey"/>
457 <xs:element ref="RegistryValue"/>
458 <xs:element ref="RemoveRegistryKey"/>
459 <xs:element ref="RemoveRegistryValue"/>
460 </xs:choice>
461 </xs:complexType>
462 </xs:element>
463
464 <xs:element name="StaticLibs">
465 <xs:complexType>
466 <xs:sequence minOccurs="1" maxOccurs="unbounded">
467 <xs:element ref="LibFile"/>
468 </xs:sequence>
469 </xs:complexType>
470 </xs:element>
471
472 <xs:element name="ImportLibs">
473 <xs:complexType>
474 <xs:sequence minOccurs="1" maxOccurs="unbounded">
475 <xs:element ref="LibFile"/>
476 </xs:sequence>
477 </xs:complexType>
478 </xs:element>
479
480 <xs:element name="Headers">
481 <xs:complexType>
482 <xs:sequence>
483 <xs:choice minOccurs="0" maxOccurs="unbounded">
484 <xs:element ref="File"/>
485 <xs:element ref="Folder"/>
486 </xs:choice>
487 </xs:sequence>
488 <xs:attribute name="dir_id" type="Id" use="optional"/>
489 </xs:complexType>
490 </xs:element>
491
492 <xs:element name="CodeFiles">
493 <xs:complexType>
494 <xs:choice minOccurs="0" maxOccurs="unbounded">
495 <xs:element ref="File"/>
496 <xs:element ref="Folder"/>
497 </xs:choice>
498 </xs:complexType>
499 </xs:element>
500
501 <xs:element name="DriverFiles">
502 <xs:complexType>
503 <xs:sequence>
504 <xs:element ref="Driver" minOccurs="1" maxOccurs="unbounded"/>
505 <xs:choice minOccurs="0" maxOccurs="unbounded">
506 <xs:element ref="File"/>
507 <xs:element ref="Folder"/>
508 </xs:choice>
509 </xs:sequence>
510 </xs:complexType>
511 </xs:element>
512
513 <xs:element name="AppFiles">
514 <xs:complexType>
515 <xs:sequence>
516 <xs:element ref="ExeFile" minOccurs="1" maxOccurs="unbounded"/>
517 <xs:choice minOccurs="0" maxOccurs="unbounded">
518 <xs:element ref="File"/>
519 <xs:element ref="Folder"/>
520 </xs:choice>
521 </xs:sequence>
522 </xs:complexType>
523 </xs:element>
524
525 <xs:element name="features">
526 <xs:complexType>
527 <xs:choice maxOccurs="unbounded">
528 <xs:element ref="comp"/>
529 </xs:choice>
530 </xs:complexType>
531 </xs:element>
532
533 <xs:element name="comp">
534 <xs:complexType>
535 <xs:attribute name="component_id" use="required" type="Id"/>
536 </xs:complexType>
537 </xs:element>
538
539 <xs:element name="Urls">
540 <xs:complexType>
541 <xs:sequence minOccurs="0" maxOccurs="unbounded">
542 <xs:element ref="Url"/>
543 </xs:sequence>
544 </xs:complexType>
545 </xs:element>
546
547 <xs:element name="Url">
548 <xs:complexType>
549 <xs:attribute name="URL" type="xs:string" use="required"/>
550 <xs:attribute name="Type" type="xs:string" use="required"/>
551 <xs:attribute name="url_guid" type="Guid" use="optional"/>
552 </xs:complexType>
553 </xs:element>
554
555
556 <!-- Role Extensions -->
557 <xs:element name="SharedLib">
558 <xs:complexType>
559 <xs:complexContent>
560 <xs:extension base="Role">
561 <xs:sequence>
562 <xs:element ref="Files"/>
563 </xs:sequence>
564 </xs:extension>
565 </xs:complexContent>
566 </xs:complexType>
567 </xs:element>
568
569 <xs:element name="DeveloperLib">
570 <xs:complexType>
571 <xs:complexContent>
572 <xs:extension base="Role">
573 <xs:sequence>
574 <xs:element ref="Includes"/>
575 </xs:sequence>
576 </xs:extension>
577 </xs:complexContent>
578 </xs:complexType>
579 </xs:element>
580
581
582 <xs:element name="SourceCode">
583 <xs:complexType>
584 <xs:complexContent>
585 <xs:extension base="Role">
586 <xs:sequence>
587 <xs:element ref="CodeFiles"/>
588 </xs:sequence>
589 </xs:extension>
590 </xs:complexContent>
591 </xs:complexType>
592 </xs:element>
593
594 <xs:element name="DriverRole">
595 <xs:complexType>
596 <xs:complexContent>
597 <xs:extension base="Role">
598 <xs:sequence>
599 <xs:element ref="DriverFiles"/>
600 </xs:sequence>
601 </xs:extension>
602 </xs:complexContent>
603 </xs:complexType>
604 </xs:element>
605
606 <xs:element name="AppRole">
607 <xs:complexType>
608 <xs:complexContent>
609 <xs:extension base="Role">
610 <xs:sequence>
611 <xs:element ref="AppFiles"/>
612 </xs:sequence>
613 </xs:extension>
614 </xs:complexContent>
615 </xs:complexType>
616 </xs:element>
617
618 <!-- simple types -->
619 <xs:simpleType name="Id">
620 <xs:restriction base="xs:string">
621 <xs:pattern value="[0-9A-Za-z_]+"/>
622 </xs:restriction>
623 </xs:simpleType>
624
625 <xs:simpleType name="Arch">
626 <xs:annotation>
627 <xs:documentation>Represents a type of architecture that a package is targeted to.</xs:documentation>
628 </xs:annotation>
629 <xs:restriction base="xs:string">
630 <xs:enumeration value="x86">
631 <xs:annotation>
632 <xs:documentation>32-bit Intel-compatible archecture, often called Win32.</xs:documentation>
633 </xs:annotation>
634 </xs:enumeration>
635 <xs:enumeration value="x64">
636 <xs:annotation>
637 <xs:documentation>64-bit architecture, sometimes called Win64, AMD64 or Intel64.</xs:documentation>
638 </xs:annotation>
639 </xs:enumeration>
640 <xs:enumeration value="any">
641 <xs:annotation>
642 <xs:documentation>
643 Architecture independent. Used when a package works on any architecture.
644 .NET, Java and Python are all types of packages that might be use this.
645 </xs:documentation>
646 </xs:annotation>
647 </xs:enumeration>
648 </xs:restriction>
649 </xs:simpleType>
650
651 <!--should this have some sort of length restriction?-->
652 <xs:simpleType name="PublicKeyToken">
653 <xs:restriction base="xs:string">
654 <xs:pattern value="[0-9A-Fa-f]*"/>
655 </xs:restriction>
656 </xs:simpleType>
657
658
659
660
661 <!-- from wix-->
662
663
664 <xs:simpleType name="VersionType">
665 <xs:annotation>
666 <xs:documentation>Values of this type will look like: "x.x.x.x" where x is an integer from 0 to 65534.</xs:documentation>
667 </xs:annotation>
668 <xs:restriction base="xs:string">
669 <xs:pattern value="(\d{1,5}\.){3}\d{1,5}"/>
670 </xs:restriction>
671 </xs:simpleType>
672
673
674 <xs:simpleType name="Guid">
675 <xs:annotation>
676 <xs:documentation>Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF" or "{01234567-89AB-CDEF-0123-456789ABCDEF}".</xs:documentation>
677 </xs:annotation>
678 <xs:restriction base="xs:string">
679 <xs:pattern value="[{(]?[0-9A-Fa-f]{8}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{12}[})]?"/>
680 </xs:restriction>
681 </xs:simpleType>
682
683
684
685 <xs:element name="RegistryKey">
686 <xs:annotation>
687 <xs:documentation>
688 Used for organization of child RegistryValue elements or to create a registry key
689 (and optionally remove it during uninstallation).
690 </xs:documentation>
691 <xs:appinfo>
692 <!--xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>
693 <xse:howtoRef href="read_a_registry_entry.htm">How To: Read a registry entry during installation</xse:howtoRef>
694 <xse:howtoRef href="write_a_registry_entry.htm">How To: Write a registry entry during installation</xse:howtoRef>-->
695 </xs:appinfo>
696 </xs:annotation>
697 <xs:complexType>
698 <xs:choice minOccurs="0" maxOccurs="unbounded">
699 <xs:element ref="RegistryKey"/>
700 <xs:element ref="RegistryValue"/>
701 <xs:element ref="Permission" minOccurs="0" maxOccurs="unbounded">
702 <xs:annotation>
703 <xs:documentation>ACL permission</xs:documentation>
704 </xs:annotation>
705 </xs:element>
706 <xs:element ref="PermissionEx">
707 <xs:annotation>
708 <xs:documentation>Can also configure the ACLs for this registry key.</xs:documentation>
709 </xs:annotation>
710 </xs:element>
711 <xs:any namespace="##other" processContents="lax">
712 <xs:annotation>
713 <xs:documentation>
714 Extensibility point in the WiX XML Schema. Schema extensions can register additional
715 elements at this point in the schema.
716 </xs:documentation>
717 </xs:annotation>
718 </xs:any>
719 </xs:choice>
720 <xs:attribute name="Id" type="xs:string">
721 <xs:annotation>
722 <xs:documentation>
723 Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
724 generated by hashing the parent Component identifier, Root, Key, and Name.
725 </xs:documentation>
726 </xs:annotation>
727 </xs:attribute>
728 <xs:attribute name="Action">
729 <xs:annotation>
730 <xs:documentation>
731 This is the action that will be taken for this registry value.
732 </xs:documentation>
733 </xs:annotation>
734 <xs:simpleType>
735 <xs:restriction base="xs:NMTOKEN">
736 <xs:enumeration value="create">
737 <xs:annotation>
738 <xs:documentation>
739 Creates the key, if absent, when the parent component is installed.
740 </xs:documentation>
741 </xs:annotation>
742 </xs:enumeration>
743 <xs:enumeration value="createAndRemoveOnUninstall">
744 <xs:annotation>
745 <xs:documentation>
746 Creates the key, if absent, when the parent component is installed then remove the key with all its values and subkeys when the parent component is uninstalled.
747 Note that this value is useful only if your program creates additional values or subkeys under this key and you want an uninstall to remove them. MSI already
748 removes all values and subkeys that it creates, so this option just adds additional overhead to uninstall.
749 </xs:documentation>
750 </xs:annotation>
751 </xs:enumeration>
752 <xs:enumeration value="none">
753 <xs:annotation>
754 <xs:documentation>
755 Does nothing; this element is used merely in WiX authoring for organization and does nothing to the final output.
756 This is the default value.
757 </xs:documentation>
758 </xs:annotation>
759 </xs:enumeration>
760 </xs:restriction>
761 </xs:simpleType>
762 </xs:attribute>
763 <xs:attribute name="Key" type="xs:string">
764 <xs:annotation>
765 <xs:documentation>
766 The localizable key for the registry value.
767 If the parent element is a RegistryKey, this value may be omitted to use the
768 path of the parent, or if its specified it will be appended to the path of the parent.
769 </xs:documentation>
770 </xs:annotation>
771 </xs:attribute>
772 <xs:attribute name="Root" type="RegistryRootType">
773 <xs:annotation>
774 <xs:documentation>
775 The predefined root key for the registry value.
776 </xs:documentation>
777 </xs:annotation>
778 </xs:attribute>
779 </xs:complexType>
780 </xs:element>
781
782 <xs:element name="RegistryValue">
783 <xs:annotation>
784 <xs:documentation>
785 Used to create a registry value. For multi-string values, this can be used to prepend or append values.
786
787 For legacy authoring: Use several of these elements to specify each registry value in a multiString registry value. This element
788 cannot be used if the Value attribute is specified unless the Type attribute is set to 'multiString'. The
789 values should go in the text area of the RegistryValue element.
790 </xs:documentation>
791 <xs:appinfo>
792 <!--
793 <xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>
794 <xse:howtoRef href="write_a_registry_entry.htm">How To: Write a registry entry during installation</xse:howtoRef>-->
795 </xs:appinfo>
796 </xs:annotation>
797 <xs:complexType mixed="true">
798 <xs:choice minOccurs="0" maxOccurs="unbounded">
799 <xs:element ref="Permission"/>
800 <xs:element ref="PermissionEx">
801 <xs:annotation>
802 <xs:documentation>Can also configure the ACLs for this registry value.</xs:documentation>
803 </xs:annotation>
804 </xs:element>
805 <xs:element ref="MultiStringValue"/>
806 <xs:any namespace="##other" processContents="lax">
807 <xs:annotation>
808 <xs:documentation>
809 Extensibility point in the WiX XML Schema. Schema extensions can register additional
810 elements at this point in the schema.
811 </xs:documentation>
812 </xs:annotation>
813 </xs:any>
814 </xs:choice>
815 <xs:attribute name="Id" type="xs:string">
816 <xs:annotation>
817 <xs:documentation>
818 Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
819 generated by hashing the parent Component identifier, Root, Key, and Name.
820 </xs:documentation>
821 </xs:annotation>
822 </xs:attribute>
823 <xs:attribute name="Root" type="RegistryRootType">
824 <xs:annotation>
825 <xs:documentation>
826 The predefined root key for the registry value.
827 </xs:documentation>
828 </xs:annotation>
829 </xs:attribute>
830 <xs:attribute name="Key" type="xs:string">
831 <xs:annotation>
832 <xs:documentation>
833 The localizable key for the registry value.
834 If the parent element is a RegistryKey, this value may be omitted to use the
835 path of the parent, or if its specified it will be appended to the path of the parent.
836 </xs:documentation>
837 </xs:annotation>
838 </xs:attribute>
839 <xs:attribute name="Name" type="xs:string">
840 <xs:annotation>
841 <xs:documentation>
842 The localizable registry value name. If this attribute is not provided the default value for the registry key will
843 be set instead. The Windows Installer allows several special values to be set for this attribute. You should not
844 use them in WiX. Instead use appropriate values in the Action attribute to get the desired behavior.
845 </xs:documentation>
846 </xs:annotation>
847 </xs:attribute>
848 <xs:attribute name="Value" type="xs:string">
849 <xs:annotation>
850 <xs:documentation>
851 Set this attribute to the localizable registry value. This value is formatted. The Windows Installer allows
852 several special values to be set for this attribute. You should not use them in WiX. Instead use appropriate
853 values in the Type attribute to get the desired behavior.
854 </xs:documentation>
855 </xs:annotation>
856 </xs:attribute>
857 <!-- unfortunately, this attribute cannot yet be set to required due to backwards-compatibility, once the Registry element is removed, this should be required -->
858 <xs:attribute name="Type">
859 <xs:annotation>
860 <xs:documentation>
861 Set this attribute to the type of the desired registry key. This attribute must be specified whenever the Value
862 attribute or a child RegistryValue element is specified. This attribute
863 should only be set when the value of the Action attribute does not include the word 'remove'.
864 </xs:documentation>
865 </xs:annotation>
866 <xs:simpleType>
867 <xs:restriction base="xs:NMTOKEN">
868 <xs:enumeration value="string">
869 <xs:annotation>
870 <xs:documentation>
871 The value is interpreted and stored as a string (REG_SZ).
872 </xs:documentation>
873 </xs:annotation>
874 </xs:enumeration>
875 <xs:enumeration value="integer">
876 <xs:annotation>
877 <xs:documentation>
878 The value is interpreted and stored as an integer (REG_DWORD).
879 </xs:documentation>
880 </xs:annotation>
881 </xs:enumeration>
882 <xs:enumeration value="binary">
883 <xs:annotation>
884 <xs:documentation>
885 The value is interpreted and stored as a hexadecimal value (REG_BINARY).
886 </xs:documentation>
887 </xs:annotation>
888 </xs:enumeration>
889 <xs:enumeration value="expandable">
890 <xs:annotation>
891 <xs:documentation>
892 The value is interpreted and stored as an expandable string (REG_EXPAND_SZ).
893 </xs:documentation>
894 </xs:annotation>
895 </xs:enumeration>
896 <xs:enumeration value="multiString">
897 <xs:annotation>
898 <xs:documentation>
899 The value is interpreted and stored as a multiple strings (REG_MULTI_SZ).
900 Please note that this value will only result in a multi-string value if there is more than one registry value
901 or the Action attribute's value is 'append' or 'prepend'. Otherwise a string value will be created.
902 </xs:documentation>
903 </xs:annotation>
904 </xs:enumeration>
905 </xs:restriction>
906 </xs:simpleType>
907 </xs:attribute>
908 <xs:attribute name="Action">
909 <xs:annotation>
910 <xs:documentation>
911 This is the action that will be taken for this registry value.
912 </xs:documentation>
913 </xs:annotation>
914 <xs:simpleType>
915 <xs:restriction base="xs:NMTOKEN">
916 <xs:enumeration value="append">
917 <xs:annotation>
918 <xs:documentation>
919 Appends the specified value(s) to a multiString registry value.
920 </xs:documentation>
921 </xs:annotation>
922 </xs:enumeration>
923 <xs:enumeration value="prepend">
924 <xs:annotation>
925 <xs:documentation>
926 Prepends the specified value(s) to a multiString registry value.
927 </xs:documentation>
928 </xs:annotation>
929 </xs:enumeration>
930 <xs:enumeration value="write">
931 <xs:annotation>
932 <xs:documentation>
933 Writes a registry value. This is the default value.
934 </xs:documentation>
935 </xs:annotation>
936 </xs:enumeration>
937 </xs:restriction>
938 </xs:simpleType>
939 </xs:attribute>
940 <xs:attribute name="KeyPath" type="YesNoType">
941 <xs:annotation>
942 <xs:documentation>
943 Set this attribute to 'yes' to make this registry key the KeyPath of the parent component.
944 Only one resource (registry, file, etc) can be the KeyPath of a component.
945 </xs:documentation>
946 </xs:annotation>
947 </xs:attribute>
948 </xs:complexType>
949 </xs:element>
950
951 <xs:element name="RemoveRegistryKey">
952 <xs:annotation>
953 <xs:documentation>
954 Used for removing registry keys and all child keys either during install or uninstall.
955 </xs:documentation>
956 <xs:appinfo>
957 <!--
958 <xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>
959 <xse:msiRef table="RemoveRegistry" href="http://msdn.microsoft.com/library/aa371208.aspx"/>-->
960 </xs:appinfo>
961 </xs:annotation>
962 <xs:complexType>
963 <xs:attribute name="Id" type="xs:string">
964 <xs:annotation>
965 <xs:documentation>
966 Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
967 generated by hashing the parent Component identifier, Root, Key, and Name.
968 </xs:documentation>
969 </xs:annotation>
970 </xs:attribute>
971 <xs:attribute name="Action">
972 <xs:annotation>
973 <xs:documentation>
974 This is the action that will be taken for this registry value.
975 </xs:documentation>
976 </xs:annotation>
977 <xs:simpleType>
978 <xs:restriction base="xs:NMTOKEN">
979 <xs:enumeration value="removeOnInstall">
980 <xs:annotation>
981 <xs:documentation>
982 Removes a key with all its values and subkeys when the parent component is installed.
983 </xs:documentation>
984 </xs:annotation>
985 </xs:enumeration>
986 <xs:enumeration value="removeOnUninstall">
987 <xs:annotation>
988 <xs:documentation>
989 Removes a key with all its values and subkeys when the parent component is uninstalled.
990 </xs:documentation>
991 </xs:annotation>
992 </xs:enumeration>
993 </xs:restriction>
994 </xs:simpleType>
995 </xs:attribute>
996 <xs:attribute name="Key" type="xs:string">
997 <xs:annotation>
998 <xs:documentation>
999 The localizable key for the registry value.
1000 </xs:documentation>
1001 </xs:annotation>
1002 </xs:attribute>
1003 <xs:attribute name="Root" type="RegistryRootType">
1004 <xs:annotation>
1005 <xs:documentation>
1006 The predefined root key for the registry value.
1007 </xs:documentation>
1008 </xs:annotation>
1009 </xs:attribute>
1010 </xs:complexType>
1011 </xs:element>
1012
1013 <xs:element name="RemoveRegistryValue">
1014 <xs:annotation>
1015 <xs:documentation>
1016 Used to remove a registry value during installation.
1017 There is no standard way to remove a single registry value during uninstall (but you can remove an entire key with RemoveRegistryKey).
1018 </xs:documentation>
1019 <xs:appinfo>
1020 <!--<xse:msiRef table="RemoveRegistry" href="http://msdn.microsoft.com/library/aa371208.aspx"/>-->
1021 </xs:appinfo>
1022 </xs:annotation>
1023 <xs:complexType>
1024 <xs:attribute name="Id" type="xs:string">
1025 <xs:annotation>
1026 <xs:documentation>
1027 Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
1028 generated by hashing the parent Component identifier, Root, Key, and Name.
1029 </xs:documentation>
1030 </xs:annotation>
1031 </xs:attribute>
1032 <xs:attribute name="Key" type="xs:string">
1033 <xs:annotation>
1034 <xs:documentation>
1035 The localizable key for the registry value.
1036 If the parent element is a RegistryKey, this value may be omitted to use the
1037 path of the parent, or if its specified it will be appended to the path of the parent.
1038 </xs:documentation>
1039 </xs:annotation>
1040 </xs:attribute>
1041 <xs:attribute name="Name" type="xs:string">
1042 <xs:annotation>
1043 <xs:documentation>
1044 The localizable registry value name. If this attribute is not provided the default value for the registry key will
1045 be set instead. The Windows Installer allows several special values to be set for this attribute. You should not
1046 use them in WiX. Instead use appropriate values in the Action attribute to get the desired behavior.
1047 </xs:documentation>
1048 </xs:annotation>
1049 </xs:attribute>
1050 <xs:attribute name="Root" type="RegistryRootType">
1051 <xs:annotation>
1052 <xs:documentation>
1053 The predefined root key for the registry value.
1054 </xs:documentation>
1055 </xs:annotation>
1056 </xs:attribute>
1057 </xs:complexType>
1058 </xs:element>
1059
1060
1061 <xs:simpleType name="RegistryRootType">
1062 <xs:annotation>
1063 <xs:documentation>Values of this type represent possible registry roots.</xs:documentation>
1064 </xs:annotation>
1065 <xs:restriction base="xs:NMTOKEN">
1066 <xs:enumeration value="HKMU">
1067 <xs:annotation>
1068 <xs:documentation>
1069 A per-user installation will make the operation occur under HKEY_CURRENT_USER.
1070 A per-machine installation will make the operation occur under HKEY_LOCAL_MACHINE.
1071 </xs:documentation>
1072 </xs:annotation>
1073 </xs:enumeration>
1074 <xs:enumeration value="HKCR">
1075 <xs:annotation>
1076 <xs:documentation>
1077 Operation occurs under HKEY_CLASSES_ROOT. When using Windows 2000 or later, the installer writes or removes the value
1078 from the HKCU\Software\Classes hive during per-user installations. When using Windows 2000 or later operating systems,
1079 the installer writes or removes the value from the HKLM\Software\Classes hive during per-machine installations.
1080 </xs:documentation>
1081 </xs:annotation>
1082 </xs:enumeration>
1083 <xs:enumeration value="HKCU">
1084 <xs:annotation>
1085 <xs:documentation>
1086 Operation occurs under HKEY_CURRENT_USER. It is recommended to set the KeyPath='yes' attribute when setting this value for writing values
1087 in order to ensure that the installer writes the necessary registry entries when there are multiple users on the same computer.
1088 </xs:documentation>
1089 </xs:annotation>
1090 </xs:enumeration>
1091 <xs:enumeration value="HKLM">
1092 <xs:annotation>
1093 <xs:documentation>
1094 Operation occurs under HKEY_LOCAL_MACHINE.
1095 </xs:documentation>
1096 </xs:annotation>
1097 </xs:enumeration>
1098 <xs:enumeration value="HKU">
1099 <xs:annotation>
1100 <xs:documentation>
1101 Operation occurs under HKEY_USERS.
1102 </xs:documentation>
1103 </xs:annotation>
1104 </xs:enumeration>
1105 </xs:restriction>
1106 </xs:simpleType>
1107
1108 <xs:simpleType name="YesNoType">
1109 <xs:annotation>
1110 <xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
1111 </xs:annotation>
1112 <xs:restriction base='xs:NMTOKEN'>
1113 <xs:enumeration value="no"/>
1114 <xs:enumeration value="yes"/>
1115 </xs:restriction>
1116 </xs:simpleType>
1117
1118 <xs:element name="Permission">
1119 <xs:annotation>
1120 <xs:documentation>
1121 Sets ACLs on File, Registry, or CreateFolder. When under a Registry element, this cannot be used
1122 if the Action attribute's value is remove or removeKeyOnInstall. This element has no Id attribute.
1123 The table and key are taken from the parent element.
1124 </xs:documentation>
1125 <xs:appinfo>
1126 <!--<xse:msiRef table="LockPermissions" href="http://msdn.microsoft.com/library/aa369774.aspx"/>-->
1127 </xs:appinfo>
1128 </xs:annotation>
1129 <xs:complexType>
1130 <xs:attribute name="Domain" type="xs:string">
1131 </xs:attribute>
1132 <xs:attribute name="User" use="required" type="xs:string">
1133 </xs:attribute>
1134 <!-- Common ACLs -->
1135 <xs:attribute name="Read" type="YesNoType">
1136 </xs:attribute>
1137 <xs:attribute name="Delete" type="YesNoType">
1138 </xs:attribute>
1139 <xs:attribute name="ReadPermission" type="YesNoType">
1140 </xs:attribute>
1141 <xs:attribute name="ChangePermission" type="YesNoType">
1142 </xs:attribute>
1143 <xs:attribute name="TakeOwnership" type="YesNoType">
1144 </xs:attribute>
1145 <!-- Folder and File ACLs -->
1146 <xs:attribute name="ReadAttributes" type="YesNoType">
1147 </xs:attribute>
1148 <xs:attribute name="WriteAttributes" type="YesNoType">
1149 </xs:attribute>
1150 <xs:attribute name="ReadExtendedAttributes" type="YesNoType">
1151 </xs:attribute>
1152 <xs:attribute name="WriteExtendedAttributes" type="YesNoType">
1153 </xs:attribute>
1154 <xs:attribute name="Synchronize" type="YesNoType">
1155 </xs:attribute>
1156 <!-- Folder only ACLs -->
1157 <xs:attribute name="CreateFile" type="YesNoType">
1158 <xs:annotation>
1159 <xs:documentation>For a directory, the right to create a file in the directory. Only valid under a 'CreateFolder' parent.</xs:documentation>
1160 </xs:annotation>
1161 </xs:attribute>
1162 <xs:attribute name="CreateChild" type="YesNoType">
1163 <xs:annotation>
1164 <xs:documentation>For a directory, the right to create a subdirectory. Only valid under a 'CreateFolder' parent.</xs:documentation>
1165 </xs:annotation>
1166 </xs:attribute>
1167 <xs:attribute name="DeleteChild" type="YesNoType">
1168 <xs:annotation>
1169 <xs:documentation>For a directory, the right to delete a directory and all the files it contains, including read-only files. Only valid under a 'CreateFolder' parent.</xs:documentation>
1170 </xs:annotation>
1171 </xs:attribute>
1172 <xs:attribute name="Traverse" type="YesNoType">
1173 <xs:annotation>
1174 <xs:documentation>For a directory, the right to traverse the directory. By default, users are assigned the BYPASS_TRAVERSE_CHECKING privilege, which ignores the FILE_TRAVERSE access right. Only valid under a 'CreateFolder' parent.</xs:documentation>
1175 </xs:annotation>
1176 </xs:attribute>
1177 <!-- File only ACLs -->
1178 <xs:attribute name="Append" type="YesNoType">
1179 </xs:attribute>
1180 <xs:attribute name="Execute" type="YesNoType">
1181 </xs:attribute>
1182 <!-- File and Registry ACLs -->
1183 <xs:attribute name="Write" type="YesNoType">
1184 </xs:attribute>
1185 <!-- Registry only ACLs -->
1186 <xs:attribute name="CreateSubkeys" type="YesNoType">
1187 </xs:attribute>
1188 <xs:attribute name="EnumerateSubkeys" type="YesNoType">
1189 </xs:attribute>
1190 <xs:attribute name="Notify" type="YesNoType">
1191 </xs:attribute>
1192 <xs:attribute name="CreateLink" type="YesNoType">
1193 </xs:attribute>
1194 <!-- Generic ACLs, mapped by system to appropriate permissions -->
1195 <xs:attribute name="GenericAll" type="YesNoType">
1196 </xs:attribute>
1197 <xs:attribute name="GenericExecute" type="YesNoType">
1198 </xs:attribute>
1199 <xs:attribute name="GenericWrite" type="YesNoType">
1200 </xs:attribute>
1201 <xs:attribute name="GenericRead" type="YesNoType">
1202 <xs:annotation>
1203 <xs:documentation>specifying this will fail to grant read access</xs:documentation>
1204 </xs:annotation>
1205 </xs:attribute>
1206 </xs:complexType>
1207 </xs:element>
1208
1209 <xs:element name="PermissionEx">
1210 <xs:annotation>
1211 <xs:documentation>
1212 Sets ACLs on File, Registry, or CreateFolder. When under a Registry element, this cannot be used
1213 if the Action attribute's value is remove or removeKeyOnInstall. This element is only available
1214 when installing with MSI 5.0. For downlevel support, see the PermissionEx element from the
1215 WixUtilExtension.
1216 </xs:documentation>
1217 <xs:appinfo>
1218 <!--<xse:msiRef table="MsiLockPermissionsEx" href="http://msdn.microsoft.com/library/aa369774.aspx"/>-->
1219 </xs:appinfo>
1220 </xs:annotation>
1221 <xs:complexType>
1222 <xs:sequence>
1223 <xs:element ref="Condition" minOccurs="0">
1224 <xs:annotation>
1225 <xs:documentation>
1226 Optional condition that controls whether the permissions are applied.
1227 </xs:documentation>
1228 </xs:annotation>
1229 </xs:element>
1230 </xs:sequence>
1231
1232 <xs:attribute name="Id" type="xs:string">
1233 <xs:annotation>
1234 <xs:documentation>
1235 Primary key used to identify this particular entry. If this is not specified the parent element's Id attribute
1236 will be used instead.
1237 </xs:documentation>
1238 </xs:annotation>
1239 </xs:attribute>
1240 <xs:attribute name="Sddl" type="xs:string" use="required">
1241 <xs:annotation>
1242 <xs:documentation>
1243 Security descriptor to apply to parent object.
1244 </xs:documentation>
1245 </xs:annotation>
1246 </xs:attribute>
1247 </xs:complexType>
1248 </xs:element>
1249
1250 <xs:element name="MultiStringValue">
1251 <xs:annotation>
1252 <xs:documentation>
1253 Use several of these elements to specify each registry value in a multiString registry value. This element
1254 cannot be used if the Value attribute is specified unless the Type attribute is set to 'multiString'. The
1255 values should go in the text area of the MultiStringValue element.
1256 </xs:documentation>
1257 <xs:appinfo>
1258 <!--<xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>-->
1259 </xs:appinfo>
1260 </xs:annotation>
1261 </xs:element>
1262
1263 <xs:element name="Condition">
1264 <xs:annotation>
1265 <xs:documentation>
1266 Conditions for components, controls, features, and products. The condition is specified in the inner text of the element.
1267 </xs:documentation>
1268 <xs:appinfo>
1269 <!--
1270 <xse:msiRef table="Component" href="http://msdn.microsoft.com/library/aa368007.aspx"/>
1271 <xse:msiRef table="ControlCondition" href="http://msdn.microsoft.com/library/aa368035.aspx"/>
1272 <xse:msiRef table="Condition" href="http://msdn.microsoft.com/library/aa368014.aspx"/>
1273 <xse:msiRef table="LaunchCondition" href="http://msdn.microsoft.com/library/aa369752.aspx"/>
1274 <xse:howtoRef href="block_install_on_os.htm">How To: Block installation based on OS version</xse:howtoRef>
1275 <xse:howtoRef href="check_the_version_number.htm">How To: Check the version number of a file during installation</xse:howtoRef>-->
1276 </xs:appinfo>
1277 </xs:annotation>
1278 <xs:complexType>
1279 <xs:simpleContent>
1280 <xs:extension base="xs:string">
1281 <xs:annotation>
1282 <xs:documentation>
1283 Under a Component element, the condition becomes the condition of the component. Under a Control element,
1284 the condition becomes a ControlCondition entry. Under a Feature element, the condition becomes a Condition
1285 entry. Under a Fragment or Product element, the condition becomes a LaunchCondition entry.
1286 </xs:documentation>
1287 </xs:annotation>
1288 <xs:attribute name="Action">
1289 <xs:annotation>
1290 <xs:documentation>
1291 Used only under Control elements and is required. Allows specific actions to be applied to a control based
1292 on the result of this condition.
1293 </xs:documentation>
1294 </xs:annotation>
1295 <xs:simpleType>
1296 <xs:restriction base="xs:NMTOKEN">
1297 <xs:enumeration value="default">
1298 <xs:annotation>
1299 <xs:documentation>
1300 Set the Control as the default. Only used under Control elements.
1301 </xs:documentation>
1302 </xs:annotation>
1303 </xs:enumeration>
1304 <xs:enumeration value="enable">
1305 <xs:annotation>
1306 <xs:documentation>
1307 Enable the Control. Only used under Control elements.
1308 </xs:documentation>
1309 </xs:annotation>
1310 </xs:enumeration>
1311 <xs:enumeration value="disable">
1312 <xs:annotation>
1313 <xs:documentation>
1314 Disable the Control. Only used under Control elements.
1315 </xs:documentation>
1316 </xs:annotation>
1317 </xs:enumeration>
1318 <xs:enumeration value="hide">
1319 <xs:annotation>
1320 <xs:documentation>
1321 Hide the Control. Only used under Control elements.
1322 </xs:documentation>
1323 </xs:annotation>
1324 </xs:enumeration>
1325 <xs:enumeration value="show">
1326 <xs:annotation>
1327 <xs:documentation>
1328 Display the Control. Only used under Control elements.
1329 </xs:documentation>
1330 </xs:annotation>
1331 </xs:enumeration>
1332 </xs:restriction>
1333 </xs:simpleType>
1334 </xs:attribute>
1335 <xs:attribute name="Level" type="xs:integer">
1336 <xs:annotation>
1337 <xs:documentation>
1338 Used only under Feature elements and is required. Allows modifying the level of a Feature based on the
1339 result of this condition.
1340 </xs:documentation>
1341 </xs:annotation>
1342 </xs:attribute>
1343 <xs:attribute name="Message" type="xs:string">
1344 <xs:annotation>
1345 <xs:documentation>
1346 Used only under Fragment or Product elements and is required. Set the value to the text to display when the
1347 condition fails and the installation must be terminated.
1348 </xs:documentation>
1349 </xs:annotation>
1350 </xs:attribute>
1351 </xs:extension>
1352 </xs:simpleContent>
1353 </xs:complexType>
1354 </xs:element>
1355
1356</xs:schema>
01357
=== added file 'Properties/Resources.Designer.cs'
--- Properties/Resources.Designer.cs 1970-01-01 00:00:00 +0000
+++ Properties/Resources.Designer.cs 2011-01-21 19:08:57 +0000
@@ -0,0 +1,89 @@
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:4.0.30319.1
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace CoApp.Toolkit.Properties {
12 using System;
13
14
15 /// <summary>
16 /// A strongly-typed resource class, for looking up localized strings, etc.
17 /// </summary>
18 // This class was auto-generated by the StronglyTypedResourceBuilder
19 // class via a tool like ResGen or Visual Studio.
20 // To add or remove a member, edit your .ResX file then rerun ResGen
21 // with the /str option, or rebuild your VS project.
22 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 public class Resources {
26
27 private static global::System.Resources.ResourceManager resourceMan;
28
29 private static global::System.Globalization.CultureInfo resourceCulture;
30
31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 internal Resources() {
33 }
34
35 /// <summary>
36 /// Returns the cached ResourceManager instance used by this class.
37 /// </summary>
38 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 public static global::System.Resources.ResourceManager ResourceManager {
40 get {
41 if (object.ReferenceEquals(resourceMan, null)) {
42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CoApp.Toolkit.Properties.Resources", typeof(Resources).Assembly);
43 resourceMan = temp;
44 }
45 return resourceMan;
46 }
47 }
48
49 /// <summary>
50 /// Overrides the current thread's CurrentUICulture property for all
51 /// resource lookups using this strongly typed resource class.
52 /// </summary>
53 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 public static global::System.Globalization.CultureInfo Culture {
55 get {
56 return resourceCulture;
57 }
58 set {
59 resourceCulture = value;
60 }
61 }
62
63 /// <summary>
64 /// Looks up a localized string similar to &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
65 ///&lt;!--
66 ///&lt;![CDATA[
67 /////
68 ///// &lt;copyright company=&quot;CoApp Project&quot;&gt;
69 ///// Copyright (c) 2010-2011 Eric Schultz. All rights reserved.
70 /////
71 ///// Certain types included from WiX project,
72 ///// Copyright (c) 2010 Windows Installer Xml
73 ///// &lt;/copyright&gt;
74 /////
75 ///]]&gt;
76 ///--&gt;
77 ///&lt;xs:schema id=&quot;InputSchema&quot;
78 /// targetNamespace=&quot;http://coapp.org/ns/mkPackage.xsd&quot;
79 /// elementFormDefault=&quot;qualified&quot;
80 /// xmlns=&quot;http://coapp.org/ns/mkPackage.xsd&quot;
81 /// xmlns:mstns=&quot;http://coapp.org/ns/ [rest of string was truncated]&quot;;.
82 /// </summary>
83 public static string mkPackage {
84 get {
85 return ResourceManager.GetString("mkPackage", resourceCulture);
86 }
87 }
88 }
89}
090
=== added file 'Properties/Resources.resx'
--- Properties/Resources.resx 1970-01-01 00:00:00 +0000
+++ Properties/Resources.resx 2011-01-21 19:08:57 +0000
@@ -0,0 +1,124 @@
1<?xml version="1.0" encoding="utf-8"?>
2<root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
121 <data name="mkPackage" type="System.Resources.ResXFileRef, System.Windows.Forms">
122 <value>..\package\mkpackage.xsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
123 </data>
124</root>
0\ No newline at end of file125\ No newline at end of file

Subscribers

People subscribed via source and target branches

to all changes: