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
1=== modified file 'CoApp.Toolkit.csproj'
2--- CoApp.Toolkit.csproj 2011-01-21 17:16:54 +0000
3+++ CoApp.Toolkit.csproj 2011-01-21 19:08:57 +0000
4@@ -64,7 +64,20 @@
5 <SubType>Code</SubType>
6 </Compile>
7 <Compile Include="Extensions\XmlExtensions.cs" />
8+<<<<<<< TREE
9 <Compile Include="Network\Ftp.cs" />
10+=======
11+ <Compile Include="Package\mkPackage.cs">
12+ <AutoGen>True</AutoGen>
13+ <DesignTime>True</DesignTime>
14+ <DependentUpon>mkPackage.xsd</DependentUpon>
15+ </Compile>
16+ <Compile Include="Properties\Resources.Designer.cs">
17+ <AutoGen>True</AutoGen>
18+ <DesignTime>True</DesignTime>
19+ <DependentUpon>Resources.resx</DependentUpon>
20+ </Compile>
21+>>>>>>> MERGE-SOURCE
22 <Compile Include="Scan\ProjectScanner.cs" />
23 <Compile Include="Scan\Types\ScannedDefine.cs" />
24 <Compile Include="Scan\Types\ScannedFile.cs" />
25@@ -122,6 +135,12 @@
26 <Folder Include="Installer\" />
27 </ItemGroup>
28 <ItemGroup>
29+ <None Include="Package\mkPackage.xsd">
30+ <Generator>XsdTool</Generator>
31+ <LastGenOutput>mkPackage.cs</LastGenOutput>
32+ <CustomToolNamespace>CoApp.Toolkit.Package</CustomToolNamespace>
33+ <SubType>Designer</SubType>
34+ </None>
35 <None Include="Spec\TargetSchema.xsd">
36 <Generator>XsdTool</Generator>
37 <LastGenOutput>TargetSchema.cs</LastGenOutput>
38@@ -135,6 +154,13 @@
39 <LastGenOutput>Tracing.cs</LastGenOutput>
40 </None>
41 </ItemGroup>
42+ <ItemGroup>
43+ <EmbeddedResource Include="Properties\Resources.resx">
44+ <Generator>PublicResXFileCodeGenerator</Generator>
45+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>
46+ <SubType>Designer</SubType>
47+ </EmbeddedResource>
48+ </ItemGroup>
49 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
50 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
51 Other similar extension points exist, see Microsoft.Common.targets.
52
53=== added directory 'Package'
54=== added file 'Package/mkPackage.cs'
55--- Package/mkPackage.cs 1970-01-01 00:00:00 +0000
56+++ Package/mkPackage.cs 2011-01-21 19:08:57 +0000
57@@ -0,0 +1,1463 @@
58+//------------------------------------------------------------------------------
59+// <auto-generated>
60+// This code was generated by a tool.
61+// Runtime Version:4.0.30319.1
62+//
63+// Changes to this file may cause incorrect behavior and will be lost if
64+// the code is regenerated.
65+// </auto-generated>
66+//------------------------------------------------------------------------------
67+
68+//
69+// This source code was auto-generated by xsd, Version=2.0.50727.3038.
70+//
71+namespace CoApp.Toolkit.Package {
72+ using System.Xml.Serialization;
73+using System.Collections.Generic;
74+
75+
76+ /// <remarks/>
77+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
78+ [System.SerializableAttribute()]
79+ [System.Diagnostics.DebuggerStepThroughAttribute()]
80+ [System.ComponentModel.DesignerCategoryAttribute("code")]
81+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
82+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
83+ public partial class Package {
84+
85+ /// <remarks/>
86+ public Tags Tags;
87+
88+ /// <remarks/>
89+ public Dependencies Dependencies;
90+
91+ /// <remarks/>
92+ public Publisher Publisher;
93+
94+ /// <remarks/>
95+ public Properties Properties;
96+
97+ /// <remarks/>
98+ public BindingPolicy BindingPolicy;
99+
100+ /// <remarks/>
101+ public Urls Urls;
102+
103+ /// <remarks/>
104+ public SharedLib SharedLib;
105+
106+ /// <remarks/>
107+ public DeveloperLib DeveloperLib;
108+
109+ /// <remarks/>
110+ public AppRole AppRole;
111+
112+ /// <remarks/>
113+ public DriverRole DriverRole;
114+
115+ /// <remarks/>
116+ [System.Xml.Serialization.XmlArrayItemAttribute("comp", IsNullable=false)]
117+ public List<comp> features = new List<comp>();
118+
119+ /// <remarks/>
120+ [System.Xml.Serialization.XmlAttributeAttribute()]
121+ public string Name;
122+
123+ /// <remarks/>
124+ [System.Xml.Serialization.XmlAttributeAttribute()]
125+ public string Version;
126+
127+ /// <remarks/>
128+ [System.Xml.Serialization.XmlAttributeAttribute()]
129+ public Arch Arch;
130+
131+ /// <remarks/>
132+ [System.Xml.Serialization.XmlAttributeAttribute()]
133+ public string Platform;
134+
135+ /// <remarks/>
136+ [System.Xml.Serialization.XmlAttributeAttribute()]
137+ public string proddir_id;
138+
139+ /// <remarks/>
140+ [System.Xml.Serialization.XmlAttributeAttribute()]
141+ public string package_guid;
142+
143+ /// <remarks/>
144+ [System.Xml.Serialization.XmlAttributeAttribute()]
145+ public string product_guid;
146+ }
147+
148+ /// <remarks/>
149+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
150+ [System.SerializableAttribute()]
151+ [System.Diagnostics.DebuggerStepThroughAttribute()]
152+ [System.ComponentModel.DesignerCategoryAttribute("code")]
153+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
154+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
155+ public partial class Tags {
156+
157+ /// <remarks/>
158+ public Tag Tag;
159+ }
160+
161+ /// <remarks/>
162+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
163+ [System.SerializableAttribute()]
164+ [System.Diagnostics.DebuggerStepThroughAttribute()]
165+ [System.ComponentModel.DesignerCategoryAttribute("code")]
166+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
167+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
168+ public partial class Tag {
169+
170+ /// <remarks/>
171+ [System.Xml.Serialization.XmlAttributeAttribute()]
172+ public string Type;
173+
174+ /// <remarks/>
175+ [System.Xml.Serialization.XmlAttributeAttribute()]
176+ public string Value;
177+
178+ /// <remarks/>
179+ [System.Xml.Serialization.XmlAttributeAttribute()]
180+ public string tag_guid;
181+ }
182+
183+ /// <remarks/>
184+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileType))]
185+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
186+ [System.SerializableAttribute()]
187+ [System.Diagnostics.DebuggerStepThroughAttribute()]
188+ [System.ComponentModel.DesignerCategoryAttribute("code")]
189+ [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
190+ public partial class FileSysItem {
191+ }
192+
193+ /// <remarks/>
194+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
195+ [System.SerializableAttribute()]
196+ [System.Diagnostics.DebuggerStepThroughAttribute()]
197+ [System.ComponentModel.DesignerCategoryAttribute("code")]
198+ [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
199+ public partial class FileType : FileSysItem {
200+
201+ /// <remarks/>
202+ [System.Xml.Serialization.XmlAttributeAttribute()]
203+ public string name;
204+
205+ /// <remarks/>
206+ [System.Xml.Serialization.XmlAttributeAttribute()]
207+ public string Src;
208+
209+ /// <remarks/>
210+ [System.Xml.Serialization.XmlAttributeAttribute()]
211+ public string ext;
212+
213+ /// <remarks/>
214+ [System.Xml.Serialization.XmlAttributeAttribute()]
215+ public string component_guid;
216+
217+ /// <remarks/>
218+ [System.Xml.Serialization.XmlAttributeAttribute()]
219+ public string component_id;
220+ }
221+
222+ /// <remarks/>
223+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
224+ [System.SerializableAttribute()]
225+ [System.Diagnostics.DebuggerStepThroughAttribute()]
226+ [System.ComponentModel.DesignerCategoryAttribute("code")]
227+ [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
228+ public partial class Role {
229+
230+ /// <remarks/>
231+ public License License;
232+
233+ /// <remarks/>
234+ [System.Xml.Serialization.XmlArrayItemAttribute("RegistryKey", typeof(RegistryKey), IsNullable=false)]
235+ [System.Xml.Serialization.XmlArrayItemAttribute("RegistryValue", typeof(RegistryValue), IsNullable=false)]
236+ [System.Xml.Serialization.XmlArrayItemAttribute("RemoveRegistryKey", typeof(RemoveRegistryKey), IsNullable=false)]
237+ [System.Xml.Serialization.XmlArrayItemAttribute("RemoveRegistryValue", typeof(RemoveRegistryValue), IsNullable=false)]
238+ public List<object> Registry = new List<object>();
239+
240+ /// <remarks/>
241+ public InstallProperties InstallProperties;
242+
243+ /// <remarks/>
244+ [System.Xml.Serialization.XmlAttributeAttribute()]
245+ public string type;
246+
247+ /// <remarks/>
248+ [System.Xml.Serialization.XmlAttributeAttribute()]
249+ public string Flavor;
250+
251+ /// <remarks/>
252+ [System.Xml.Serialization.XmlAttributeAttribute()]
253+ public string role_guid;
254+ }
255+
256+ /// <remarks/>
257+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
258+ [System.SerializableAttribute()]
259+ [System.Diagnostics.DebuggerStepThroughAttribute()]
260+ [System.ComponentModel.DesignerCategoryAttribute("code")]
261+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
262+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
263+ public partial class License {
264+
265+ /// <remarks/>
266+ [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")]
267+ public string Url;
268+
269+ /// <remarks/>
270+ [System.Xml.Serialization.XmlAttributeAttribute()]
271+ public string license_guid;
272+
273+ /// <remarks/>
274+ [System.Xml.Serialization.XmlTextAttribute()]
275+ public List<string> Text = new List<string>();
276+ }
277+
278+ /// <remarks/>
279+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
280+ [System.SerializableAttribute()]
281+ [System.Diagnostics.DebuggerStepThroughAttribute()]
282+ [System.ComponentModel.DesignerCategoryAttribute("code")]
283+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
284+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
285+ public partial class RegistryKey {
286+
287+ /// <remarks/>
288+ [System.Xml.Serialization.XmlAnyElementAttribute()]
289+ [System.Xml.Serialization.XmlElementAttribute("Permission", typeof(Permission))]
290+ [System.Xml.Serialization.XmlElementAttribute("PermissionEx", typeof(PermissionEx))]
291+ [System.Xml.Serialization.XmlElementAttribute("RegistryKey", typeof(RegistryKey))]
292+ [System.Xml.Serialization.XmlElementAttribute("RegistryValue", typeof(RegistryValue))]
293+ public List<object> Items = new List<object>();
294+
295+ /// <remarks/>
296+ [System.Xml.Serialization.XmlAttributeAttribute()]
297+ public string Id;
298+
299+ /// <remarks/>
300+ [System.Xml.Serialization.XmlAttributeAttribute()]
301+ public RegistryKeyAction Action;
302+
303+ /// <remarks/>
304+ [System.Xml.Serialization.XmlIgnoreAttribute()]
305+ public bool ActionSpecified;
306+
307+ /// <remarks/>
308+ [System.Xml.Serialization.XmlAttributeAttribute()]
309+ public string Key;
310+
311+ /// <remarks/>
312+ [System.Xml.Serialization.XmlAttributeAttribute()]
313+ public RegistryRootType Root;
314+
315+ /// <remarks/>
316+ [System.Xml.Serialization.XmlIgnoreAttribute()]
317+ public bool RootSpecified;
318+ }
319+
320+ /// <remarks/>
321+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
322+ [System.SerializableAttribute()]
323+ [System.Diagnostics.DebuggerStepThroughAttribute()]
324+ [System.ComponentModel.DesignerCategoryAttribute("code")]
325+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
326+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
327+ public partial class Permission {
328+
329+ /// <remarks/>
330+ [System.Xml.Serialization.XmlAttributeAttribute()]
331+ public string Domain;
332+
333+ /// <remarks/>
334+ [System.Xml.Serialization.XmlAttributeAttribute()]
335+ public string User;
336+
337+ /// <remarks/>
338+ [System.Xml.Serialization.XmlAttributeAttribute()]
339+ public YesNoType Read;
340+
341+ /// <remarks/>
342+ [System.Xml.Serialization.XmlIgnoreAttribute()]
343+ public bool ReadSpecified;
344+
345+ /// <remarks/>
346+ [System.Xml.Serialization.XmlAttributeAttribute()]
347+ public YesNoType Delete;
348+
349+ /// <remarks/>
350+ [System.Xml.Serialization.XmlIgnoreAttribute()]
351+ public bool DeleteSpecified;
352+
353+ /// <remarks/>
354+ [System.Xml.Serialization.XmlAttributeAttribute()]
355+ public YesNoType ReadPermission;
356+
357+ /// <remarks/>
358+ [System.Xml.Serialization.XmlIgnoreAttribute()]
359+ public bool ReadPermissionSpecified;
360+
361+ /// <remarks/>
362+ [System.Xml.Serialization.XmlAttributeAttribute()]
363+ public YesNoType ChangePermission;
364+
365+ /// <remarks/>
366+ [System.Xml.Serialization.XmlIgnoreAttribute()]
367+ public bool ChangePermissionSpecified;
368+
369+ /// <remarks/>
370+ [System.Xml.Serialization.XmlAttributeAttribute()]
371+ public YesNoType TakeOwnership;
372+
373+ /// <remarks/>
374+ [System.Xml.Serialization.XmlIgnoreAttribute()]
375+ public bool TakeOwnershipSpecified;
376+
377+ /// <remarks/>
378+ [System.Xml.Serialization.XmlAttributeAttribute()]
379+ public YesNoType ReadAttributes;
380+
381+ /// <remarks/>
382+ [System.Xml.Serialization.XmlIgnoreAttribute()]
383+ public bool ReadAttributesSpecified;
384+
385+ /// <remarks/>
386+ [System.Xml.Serialization.XmlAttributeAttribute()]
387+ public YesNoType WriteAttributes;
388+
389+ /// <remarks/>
390+ [System.Xml.Serialization.XmlIgnoreAttribute()]
391+ public bool WriteAttributesSpecified;
392+
393+ /// <remarks/>
394+ [System.Xml.Serialization.XmlAttributeAttribute()]
395+ public YesNoType ReadExtendedAttributes;
396+
397+ /// <remarks/>
398+ [System.Xml.Serialization.XmlIgnoreAttribute()]
399+ public bool ReadExtendedAttributesSpecified;
400+
401+ /// <remarks/>
402+ [System.Xml.Serialization.XmlAttributeAttribute()]
403+ public YesNoType WriteExtendedAttributes;
404+
405+ /// <remarks/>
406+ [System.Xml.Serialization.XmlIgnoreAttribute()]
407+ public bool WriteExtendedAttributesSpecified;
408+
409+ /// <remarks/>
410+ [System.Xml.Serialization.XmlAttributeAttribute()]
411+ public YesNoType Synchronize;
412+
413+ /// <remarks/>
414+ [System.Xml.Serialization.XmlIgnoreAttribute()]
415+ public bool SynchronizeSpecified;
416+
417+ /// <remarks/>
418+ [System.Xml.Serialization.XmlAttributeAttribute()]
419+ public YesNoType CreateFile;
420+
421+ /// <remarks/>
422+ [System.Xml.Serialization.XmlIgnoreAttribute()]
423+ public bool CreateFileSpecified;
424+
425+ /// <remarks/>
426+ [System.Xml.Serialization.XmlAttributeAttribute()]
427+ public YesNoType CreateChild;
428+
429+ /// <remarks/>
430+ [System.Xml.Serialization.XmlIgnoreAttribute()]
431+ public bool CreateChildSpecified;
432+
433+ /// <remarks/>
434+ [System.Xml.Serialization.XmlAttributeAttribute()]
435+ public YesNoType DeleteChild;
436+
437+ /// <remarks/>
438+ [System.Xml.Serialization.XmlIgnoreAttribute()]
439+ public bool DeleteChildSpecified;
440+
441+ /// <remarks/>
442+ [System.Xml.Serialization.XmlAttributeAttribute()]
443+ public YesNoType Traverse;
444+
445+ /// <remarks/>
446+ [System.Xml.Serialization.XmlIgnoreAttribute()]
447+ public bool TraverseSpecified;
448+
449+ /// <remarks/>
450+ [System.Xml.Serialization.XmlAttributeAttribute()]
451+ public YesNoType Append;
452+
453+ /// <remarks/>
454+ [System.Xml.Serialization.XmlIgnoreAttribute()]
455+ public bool AppendSpecified;
456+
457+ /// <remarks/>
458+ [System.Xml.Serialization.XmlAttributeAttribute()]
459+ public YesNoType Execute;
460+
461+ /// <remarks/>
462+ [System.Xml.Serialization.XmlIgnoreAttribute()]
463+ public bool ExecuteSpecified;
464+
465+ /// <remarks/>
466+ [System.Xml.Serialization.XmlAttributeAttribute()]
467+ public YesNoType Write;
468+
469+ /// <remarks/>
470+ [System.Xml.Serialization.XmlIgnoreAttribute()]
471+ public bool WriteSpecified;
472+
473+ /// <remarks/>
474+ [System.Xml.Serialization.XmlAttributeAttribute()]
475+ public YesNoType CreateSubkeys;
476+
477+ /// <remarks/>
478+ [System.Xml.Serialization.XmlIgnoreAttribute()]
479+ public bool CreateSubkeysSpecified;
480+
481+ /// <remarks/>
482+ [System.Xml.Serialization.XmlAttributeAttribute()]
483+ public YesNoType EnumerateSubkeys;
484+
485+ /// <remarks/>
486+ [System.Xml.Serialization.XmlIgnoreAttribute()]
487+ public bool EnumerateSubkeysSpecified;
488+
489+ /// <remarks/>
490+ [System.Xml.Serialization.XmlAttributeAttribute()]
491+ public YesNoType Notify;
492+
493+ /// <remarks/>
494+ [System.Xml.Serialization.XmlIgnoreAttribute()]
495+ public bool NotifySpecified;
496+
497+ /// <remarks/>
498+ [System.Xml.Serialization.XmlAttributeAttribute()]
499+ public YesNoType CreateLink;
500+
501+ /// <remarks/>
502+ [System.Xml.Serialization.XmlIgnoreAttribute()]
503+ public bool CreateLinkSpecified;
504+
505+ /// <remarks/>
506+ [System.Xml.Serialization.XmlAttributeAttribute()]
507+ public YesNoType GenericAll;
508+
509+ /// <remarks/>
510+ [System.Xml.Serialization.XmlIgnoreAttribute()]
511+ public bool GenericAllSpecified;
512+
513+ /// <remarks/>
514+ [System.Xml.Serialization.XmlAttributeAttribute()]
515+ public YesNoType GenericExecute;
516+
517+ /// <remarks/>
518+ [System.Xml.Serialization.XmlIgnoreAttribute()]
519+ public bool GenericExecuteSpecified;
520+
521+ /// <remarks/>
522+ [System.Xml.Serialization.XmlAttributeAttribute()]
523+ public YesNoType GenericWrite;
524+
525+ /// <remarks/>
526+ [System.Xml.Serialization.XmlIgnoreAttribute()]
527+ public bool GenericWriteSpecified;
528+
529+ /// <remarks/>
530+ [System.Xml.Serialization.XmlAttributeAttribute()]
531+ public YesNoType GenericRead;
532+
533+ /// <remarks/>
534+ [System.Xml.Serialization.XmlIgnoreAttribute()]
535+ public bool GenericReadSpecified;
536+ }
537+
538+ /// <remarks/>
539+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
540+ [System.SerializableAttribute()]
541+ [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
542+ public enum YesNoType {
543+
544+ /// <remarks/>
545+ no,
546+
547+ /// <remarks/>
548+ yes,
549+ }
550+
551+ /// <remarks/>
552+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
553+ [System.SerializableAttribute()]
554+ [System.Diagnostics.DebuggerStepThroughAttribute()]
555+ [System.ComponentModel.DesignerCategoryAttribute("code")]
556+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
557+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
558+ public partial class PermissionEx {
559+
560+ /// <remarks/>
561+ public Condition Condition;
562+
563+ /// <remarks/>
564+ [System.Xml.Serialization.XmlAttributeAttribute()]
565+ public string Id;
566+
567+ /// <remarks/>
568+ [System.Xml.Serialization.XmlAttributeAttribute()]
569+ public string Sddl;
570+ }
571+
572+ /// <remarks/>
573+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
574+ [System.SerializableAttribute()]
575+ [System.Diagnostics.DebuggerStepThroughAttribute()]
576+ [System.ComponentModel.DesignerCategoryAttribute("code")]
577+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
578+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
579+ public partial class Condition {
580+
581+ /// <remarks/>
582+ [System.Xml.Serialization.XmlAttributeAttribute()]
583+ public ConditionAction Action;
584+
585+ /// <remarks/>
586+ [System.Xml.Serialization.XmlIgnoreAttribute()]
587+ public bool ActionSpecified;
588+
589+ /// <remarks/>
590+ [System.Xml.Serialization.XmlAttributeAttribute(DataType="integer")]
591+ public string Level;
592+
593+ /// <remarks/>
594+ [System.Xml.Serialization.XmlAttributeAttribute()]
595+ public string Message;
596+
597+ /// <remarks/>
598+ [System.Xml.Serialization.XmlTextAttribute()]
599+ public string Value;
600+ }
601+
602+ /// <remarks/>
603+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
604+ [System.SerializableAttribute()]
605+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
606+ public enum ConditionAction {
607+
608+ /// <remarks/>
609+ @default,
610+
611+ /// <remarks/>
612+ enable,
613+
614+ /// <remarks/>
615+ disable,
616+
617+ /// <remarks/>
618+ hide,
619+
620+ /// <remarks/>
621+ show,
622+ }
623+
624+ /// <remarks/>
625+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
626+ [System.SerializableAttribute()]
627+ [System.Diagnostics.DebuggerStepThroughAttribute()]
628+ [System.ComponentModel.DesignerCategoryAttribute("code")]
629+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
630+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
631+ public partial class RegistryValue {
632+
633+ /// <remarks/>
634+ [System.Xml.Serialization.XmlAnyElementAttribute()]
635+ [System.Xml.Serialization.XmlElementAttribute("MultiStringValue", typeof(object))]
636+ [System.Xml.Serialization.XmlElementAttribute("Permission", typeof(Permission))]
637+ [System.Xml.Serialization.XmlElementAttribute("PermissionEx", typeof(PermissionEx))]
638+ public List<object> Items = new List<object>();
639+
640+ /// <remarks/>
641+ [System.Xml.Serialization.XmlTextAttribute()]
642+ public List<string> Text = new List<string>();
643+
644+ /// <remarks/>
645+ [System.Xml.Serialization.XmlAttributeAttribute()]
646+ public string Id;
647+
648+ /// <remarks/>
649+ [System.Xml.Serialization.XmlAttributeAttribute()]
650+ public RegistryRootType Root;
651+
652+ /// <remarks/>
653+ [System.Xml.Serialization.XmlIgnoreAttribute()]
654+ public bool RootSpecified;
655+
656+ /// <remarks/>
657+ [System.Xml.Serialization.XmlAttributeAttribute()]
658+ public string Key;
659+
660+ /// <remarks/>
661+ [System.Xml.Serialization.XmlAttributeAttribute()]
662+ public string Name;
663+
664+ /// <remarks/>
665+ [System.Xml.Serialization.XmlAttributeAttribute()]
666+ public string Value;
667+
668+ /// <remarks/>
669+ [System.Xml.Serialization.XmlAttributeAttribute()]
670+ public RegistryValueType Type;
671+
672+ /// <remarks/>
673+ [System.Xml.Serialization.XmlIgnoreAttribute()]
674+ public bool TypeSpecified;
675+
676+ /// <remarks/>
677+ [System.Xml.Serialization.XmlAttributeAttribute()]
678+ public RegistryValueAction Action;
679+
680+ /// <remarks/>
681+ [System.Xml.Serialization.XmlIgnoreAttribute()]
682+ public bool ActionSpecified;
683+
684+ /// <remarks/>
685+ [System.Xml.Serialization.XmlAttributeAttribute()]
686+ public YesNoType KeyPath;
687+
688+ /// <remarks/>
689+ [System.Xml.Serialization.XmlIgnoreAttribute()]
690+ public bool KeyPathSpecified;
691+ }
692+
693+ /// <remarks/>
694+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
695+ [System.SerializableAttribute()]
696+ [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
697+ public enum RegistryRootType {
698+
699+ /// <remarks/>
700+ HKMU,
701+
702+ /// <remarks/>
703+ HKCR,
704+
705+ /// <remarks/>
706+ HKCU,
707+
708+ /// <remarks/>
709+ HKLM,
710+
711+ /// <remarks/>
712+ HKU,
713+ }
714+
715+ /// <remarks/>
716+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
717+ [System.SerializableAttribute()]
718+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
719+ public enum RegistryValueType {
720+
721+ /// <remarks/>
722+ @string,
723+
724+ /// <remarks/>
725+ integer,
726+
727+ /// <remarks/>
728+ binary,
729+
730+ /// <remarks/>
731+ expandable,
732+
733+ /// <remarks/>
734+ multiString,
735+ }
736+
737+ /// <remarks/>
738+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
739+ [System.SerializableAttribute()]
740+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
741+ public enum RegistryValueAction {
742+
743+ /// <remarks/>
744+ append,
745+
746+ /// <remarks/>
747+ prepend,
748+
749+ /// <remarks/>
750+ write,
751+ }
752+
753+ /// <remarks/>
754+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
755+ [System.SerializableAttribute()]
756+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
757+ public enum RegistryKeyAction {
758+
759+ /// <remarks/>
760+ create,
761+
762+ /// <remarks/>
763+ createAndRemoveOnUninstall,
764+
765+ /// <remarks/>
766+ none,
767+ }
768+
769+ /// <remarks/>
770+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
771+ [System.SerializableAttribute()]
772+ [System.Diagnostics.DebuggerStepThroughAttribute()]
773+ [System.ComponentModel.DesignerCategoryAttribute("code")]
774+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
775+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
776+ public partial class RemoveRegistryKey {
777+
778+ /// <remarks/>
779+ [System.Xml.Serialization.XmlAttributeAttribute()]
780+ public string Id;
781+
782+ /// <remarks/>
783+ [System.Xml.Serialization.XmlAttributeAttribute()]
784+ public RemoveRegistryKeyAction Action;
785+
786+ /// <remarks/>
787+ [System.Xml.Serialization.XmlIgnoreAttribute()]
788+ public bool ActionSpecified;
789+
790+ /// <remarks/>
791+ [System.Xml.Serialization.XmlAttributeAttribute()]
792+ public string Key;
793+
794+ /// <remarks/>
795+ [System.Xml.Serialization.XmlAttributeAttribute()]
796+ public RegistryRootType Root;
797+
798+ /// <remarks/>
799+ [System.Xml.Serialization.XmlIgnoreAttribute()]
800+ public bool RootSpecified;
801+ }
802+
803+ /// <remarks/>
804+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
805+ [System.SerializableAttribute()]
806+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
807+ public enum RemoveRegistryKeyAction {
808+
809+ /// <remarks/>
810+ removeOnInstall,
811+
812+ /// <remarks/>
813+ removeOnUninstall,
814+ }
815+
816+ /// <remarks/>
817+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
818+ [System.SerializableAttribute()]
819+ [System.Diagnostics.DebuggerStepThroughAttribute()]
820+ [System.ComponentModel.DesignerCategoryAttribute("code")]
821+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
822+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
823+ public partial class RemoveRegistryValue {
824+
825+ /// <remarks/>
826+ [System.Xml.Serialization.XmlAttributeAttribute()]
827+ public string Id;
828+
829+ /// <remarks/>
830+ [System.Xml.Serialization.XmlAttributeAttribute()]
831+ public string Key;
832+
833+ /// <remarks/>
834+ [System.Xml.Serialization.XmlAttributeAttribute()]
835+ public string Name;
836+
837+ /// <remarks/>
838+ [System.Xml.Serialization.XmlAttributeAttribute()]
839+ public RegistryRootType Root;
840+
841+ /// <remarks/>
842+ [System.Xml.Serialization.XmlIgnoreAttribute()]
843+ public bool RootSpecified;
844+ }
845+
846+ /// <remarks/>
847+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
848+ [System.SerializableAttribute()]
849+ [System.Diagnostics.DebuggerStepThroughAttribute()]
850+ [System.ComponentModel.DesignerCategoryAttribute("code")]
851+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
852+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
853+ public partial class InstallProperties {
854+
855+ /// <remarks/>
856+ [System.Xml.Serialization.XmlElementAttribute("Property")]
857+ public List<Property> Property = new List<Property>();
858+ }
859+
860+ /// <remarks/>
861+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
862+ [System.SerializableAttribute()]
863+ [System.Diagnostics.DebuggerStepThroughAttribute()]
864+ [System.ComponentModel.DesignerCategoryAttribute("code")]
865+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
866+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
867+ public partial class Property {
868+
869+ /// <remarks/>
870+ [System.Xml.Serialization.XmlAttributeAttribute()]
871+ public string Type;
872+
873+ /// <remarks/>
874+ [System.Xml.Serialization.XmlAttributeAttribute()]
875+ public string Link;
876+
877+ /// <remarks/>
878+ [System.Xml.Serialization.XmlAttributeAttribute()]
879+ public string Target;
880+
881+ /// <remarks/>
882+ [System.Xml.Serialization.XmlAttributeAttribute()]
883+ public string prop_guid;
884+ }
885+
886+ /// <remarks/>
887+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
888+ [System.SerializableAttribute()]
889+ [System.Diagnostics.DebuggerStepThroughAttribute()]
890+ [System.ComponentModel.DesignerCategoryAttribute("code")]
891+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
892+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
893+ public partial class Dependencies {
894+
895+ /// <remarks/>
896+ [System.Xml.Serialization.XmlElementAttribute("Dependency")]
897+ public List<Dependency> Dependency = new List<Dependency>();
898+ }
899+
900+ /// <remarks/>
901+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
902+ [System.SerializableAttribute()]
903+ [System.Diagnostics.DebuggerStepThroughAttribute()]
904+ [System.ComponentModel.DesignerCategoryAttribute("code")]
905+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
906+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
907+ public partial class Dependency {
908+
909+ /// <remarks/>
910+ [System.Xml.Serialization.XmlAttributeAttribute()]
911+ public string package_id;
912+
913+ /// <remarks/>
914+ [System.Xml.Serialization.XmlAttributeAttribute()]
915+ public string Name;
916+
917+ /// <remarks/>
918+ [System.Xml.Serialization.XmlAttributeAttribute()]
919+ public string Version;
920+
921+ /// <remarks/>
922+ [System.Xml.Serialization.XmlAttributeAttribute()]
923+ public Arch Arch;
924+
925+ /// <remarks/>
926+ [System.Xml.Serialization.XmlAttributeAttribute()]
927+ public string PublicKeyToken;
928+ }
929+
930+ /// <remarks/>
931+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
932+ [System.SerializableAttribute()]
933+ [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd")]
934+ public enum Arch {
935+
936+ /// <remarks/>
937+ x86,
938+
939+ /// <remarks/>
940+ x64,
941+
942+ /// <remarks/>
943+ any,
944+ }
945+
946+ /// <remarks/>
947+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
948+ [System.SerializableAttribute()]
949+ [System.Diagnostics.DebuggerStepThroughAttribute()]
950+ [System.ComponentModel.DesignerCategoryAttribute("code")]
951+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
952+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
953+ public partial class Publisher {
954+
955+ /// <remarks/>
956+ [System.Xml.Serialization.XmlAttributeAttribute()]
957+ public string Name;
958+
959+ /// <remarks/>
960+ [System.Xml.Serialization.XmlAttributeAttribute()]
961+ public string PublicKeyToken;
962+
963+ /// <remarks/>
964+ [System.Xml.Serialization.XmlAttributeAttribute()]
965+ public string directory_id;
966+ }
967+
968+ /// <remarks/>
969+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
970+ [System.SerializableAttribute()]
971+ [System.Diagnostics.DebuggerStepThroughAttribute()]
972+ [System.ComponentModel.DesignerCategoryAttribute("code")]
973+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
974+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
975+ public partial class Properties {
976+
977+ /// <remarks/>
978+ [System.Xml.Serialization.XmlAttributeAttribute()]
979+ public string DisplayName;
980+
981+ /// <remarks/>
982+ [System.Xml.Serialization.XmlAttributeAttribute()]
983+ public string Description;
984+
985+ /// <remarks/>
986+ [System.Xml.Serialization.XmlAttributeAttribute()]
987+ public string Icon;
988+
989+ /// <remarks/>
990+ [System.Xml.Serialization.XmlAttributeAttribute(DataType="date")]
991+ public System.DateTime PublishDate;
992+
993+ /// <remarks/>
994+ [System.Xml.Serialization.XmlIgnoreAttribute()]
995+ public bool PublishDateSpecified;
996+
997+ /// <remarks/>
998+ [System.Xml.Serialization.XmlAttributeAttribute()]
999+ public string AuthorVersion;
1000+
1001+ /// <remarks/>
1002+ [System.Xml.Serialization.XmlAttributeAttribute()]
1003+ public string icon_id;
1004+ }
1005+
1006+ /// <remarks/>
1007+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1008+ [System.SerializableAttribute()]
1009+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1010+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1011+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1012+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1013+ public partial class BindingPolicy {
1014+
1015+ /// <remarks/>
1016+ [System.Xml.Serialization.XmlAttributeAttribute()]
1017+ public string MinimumVersion;
1018+
1019+ /// <remarks/>
1020+ [System.Xml.Serialization.XmlAttributeAttribute()]
1021+ public string MaximumVersion;
1022+ }
1023+
1024+ /// <remarks/>
1025+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1026+ [System.SerializableAttribute()]
1027+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1028+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1029+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1030+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1031+ public partial class Urls {
1032+
1033+ /// <remarks/>
1034+ [System.Xml.Serialization.XmlElementAttribute("Url")]
1035+ public List<Url> Url = new List<Url>();
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 Url {
1046+
1047+ /// <remarks/>
1048+ [System.Xml.Serialization.XmlAttributeAttribute()]
1049+ public string URL;
1050+
1051+ /// <remarks/>
1052+ [System.Xml.Serialization.XmlAttributeAttribute()]
1053+ public string Type;
1054+
1055+ /// <remarks/>
1056+ [System.Xml.Serialization.XmlAttributeAttribute()]
1057+ public string url_guid;
1058+ }
1059+
1060+ /// <remarks/>
1061+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1062+ [System.SerializableAttribute()]
1063+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1064+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1065+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1066+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1067+ public partial class SharedLib : Role {
1068+
1069+ /// <remarks/>
1070+ public Files Files;
1071+ }
1072+
1073+ /// <remarks/>
1074+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1075+ [System.SerializableAttribute()]
1076+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1077+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1078+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1079+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1080+ public partial class Files {
1081+
1082+ /// <remarks/>
1083+ public Assembly Assembly;
1084+
1085+ /// <remarks/>
1086+ [System.Xml.Serialization.XmlElementAttribute("PolicyAssembly")]
1087+ public List<PolicyAssembly> PolicyAssembly = new List<PolicyAssembly>();
1088+
1089+ /// <remarks/>
1090+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1091+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1092+ public List<FileSysItem> Items = new List<FileSysItem>();
1093+ }
1094+
1095+ /// <remarks/>
1096+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1097+ [System.SerializableAttribute()]
1098+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1099+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1100+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1101+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1102+ public partial class Assembly : FileType {
1103+
1104+ /// <remarks/>
1105+ public Manifest Manifest;
1106+
1107+ /// <remarks/>
1108+ public CatFile CatFile;
1109+
1110+ /// <remarks/>
1111+ [System.Xml.Serialization.XmlElementAttribute("File")]
1112+ public List<File> Items = new List<File>();
1113+
1114+ /// <remarks/>
1115+ [System.Xml.Serialization.XmlAttributeAttribute()]
1116+ public string type;
1117+
1118+ /// <remarks/>
1119+ [System.Xml.Serialization.XmlAttributeAttribute()]
1120+ public Arch Arch;
1121+
1122+ /// <remarks/>
1123+ [System.Xml.Serialization.XmlAttributeAttribute()]
1124+ public string Platform;
1125+
1126+ /// <remarks/>
1127+ [System.Xml.Serialization.XmlAttributeAttribute()]
1128+ public bool CreateManifestAndCat;
1129+
1130+ /// <remarks/>
1131+ [System.Xml.Serialization.XmlIgnoreAttribute()]
1132+ public bool CreateManifestAndCatSpecified;
1133+ }
1134+
1135+ /// <remarks/>
1136+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1137+ [System.SerializableAttribute()]
1138+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1139+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1140+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1141+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1142+ public partial class Manifest : FileType {
1143+ }
1144+
1145+ /// <remarks/>
1146+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1147+ [System.SerializableAttribute()]
1148+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1149+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1150+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1151+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1152+ public partial class CatFile : FileType {
1153+ }
1154+
1155+ /// <remarks/>
1156+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1157+ [System.SerializableAttribute()]
1158+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1159+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1160+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1161+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1162+ public partial class File : FileType {
1163+ }
1164+
1165+ /// <remarks/>
1166+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1167+ [System.SerializableAttribute()]
1168+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1169+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1170+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1171+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1172+ public partial class PolicyAssembly {
1173+
1174+ /// <remarks/>
1175+ public Manifest Manifest;
1176+
1177+ /// <remarks/>
1178+ public CatFile CatFile;
1179+
1180+ /// <remarks/>
1181+ [System.Xml.Serialization.XmlAttributeAttribute()]
1182+ public string type;
1183+
1184+ /// <remarks/>
1185+ [System.Xml.Serialization.XmlAttributeAttribute()]
1186+ public Arch Arch;
1187+
1188+ /// <remarks/>
1189+ [System.Xml.Serialization.XmlAttributeAttribute()]
1190+ public string Platform;
1191+ }
1192+
1193+ /// <remarks/>
1194+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1195+ [System.SerializableAttribute()]
1196+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1197+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1198+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1199+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1200+ public partial class Folder : FileSysItem {
1201+
1202+ /// <remarks/>
1203+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1204+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1205+ public List<FileSysItem> Items = new List<FileSysItem>();
1206+
1207+ /// <remarks/>
1208+ [System.Xml.Serialization.XmlAttributeAttribute()]
1209+ public string Name;
1210+
1211+ /// <remarks/>
1212+ [System.Xml.Serialization.XmlAttributeAttribute()]
1213+ public string folder_id;
1214+ }
1215+
1216+ /// <remarks/>
1217+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1218+ [System.SerializableAttribute()]
1219+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1220+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1221+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1222+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1223+ public partial class DeveloperLib : Role {
1224+
1225+ /// <remarks/>
1226+ public Includes Includes;
1227+ }
1228+
1229+ /// <remarks/>
1230+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1231+ [System.SerializableAttribute()]
1232+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1233+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1234+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1235+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1236+ public partial class Includes {
1237+
1238+ /// <remarks/>
1239+ [System.Xml.Serialization.XmlElementAttribute("StaticLibs")]
1240+ public List<StaticLibs> StaticLibs = new List<StaticLibs>();
1241+
1242+ /// <remarks/>
1243+ [System.Xml.Serialization.XmlElementAttribute("ImportLibs")]
1244+ public List<ImportLibs> ImportLibs = new List<ImportLibs>();
1245+
1246+ /// <remarks/>
1247+ [System.Xml.Serialization.XmlElementAttribute("Headers")]
1248+ public List<Headers> Headers = new List<Headers>();
1249+
1250+ /// <remarks/>
1251+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1252+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1253+ public List<FileSysItem> Items = new List<FileSysItem>();
1254+ }
1255+
1256+ /// <remarks/>
1257+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1258+ [System.SerializableAttribute()]
1259+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1260+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1261+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1262+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1263+ public partial class StaticLibs {
1264+
1265+ /// <remarks/>
1266+ [System.Xml.Serialization.XmlElementAttribute("LibFile")]
1267+ public List<LibFile> LibFile = new List<LibFile>();
1268+ }
1269+
1270+ /// <remarks/>
1271+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1272+ [System.SerializableAttribute()]
1273+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1274+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1275+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1276+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1277+ public partial class LibFile : FileType {
1278+
1279+ /// <remarks/>
1280+ [System.Xml.Serialization.XmlAttributeAttribute()]
1281+ public string Compiler;
1282+
1283+ /// <remarks/>
1284+ [System.Xml.Serialization.XmlAttributeAttribute()]
1285+ public Arch Arch;
1286+ }
1287+
1288+ /// <remarks/>
1289+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1290+ [System.SerializableAttribute()]
1291+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1292+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1293+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1294+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1295+ public partial class ImportLibs {
1296+
1297+ /// <remarks/>
1298+ [System.Xml.Serialization.XmlElementAttribute("LibFile")]
1299+ public List<LibFile> LibFile = new List<LibFile>();
1300+ }
1301+
1302+ /// <remarks/>
1303+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1304+ [System.SerializableAttribute()]
1305+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1306+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1307+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1308+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1309+ public partial class Headers {
1310+
1311+ /// <remarks/>
1312+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1313+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1314+ public List<FileSysItem> Items = new List<FileSysItem>();
1315+
1316+ /// <remarks/>
1317+ [System.Xml.Serialization.XmlAttributeAttribute()]
1318+ public string dir_id;
1319+ }
1320+
1321+ /// <remarks/>
1322+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1323+ [System.SerializableAttribute()]
1324+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1325+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1326+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1327+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1328+ public partial class AppRole : Role {
1329+
1330+ /// <remarks/>
1331+ public AppFiles AppFiles;
1332+ }
1333+
1334+ /// <remarks/>
1335+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1336+ [System.SerializableAttribute()]
1337+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1338+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1339+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1340+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1341+ public partial class AppFiles {
1342+
1343+ /// <remarks/>
1344+ [System.Xml.Serialization.XmlElementAttribute("ExeFile")]
1345+ public List<ExeFile> ExeFile = new List<ExeFile>();
1346+
1347+ /// <remarks/>
1348+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1349+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1350+ public List<FileSysItem> Items = new List<FileSysItem>();
1351+ }
1352+
1353+ /// <remarks/>
1354+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1355+ [System.SerializableAttribute()]
1356+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1357+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1358+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1359+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1360+ public partial class ExeFile : FileType {
1361+
1362+ /// <remarks/>
1363+ [System.Xml.Serialization.XmlAttributeAttribute()]
1364+ public string Compiler;
1365+
1366+ /// <remarks/>
1367+ [System.Xml.Serialization.XmlAttributeAttribute()]
1368+ public Arch Arch;
1369+ }
1370+
1371+ /// <remarks/>
1372+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1373+ [System.SerializableAttribute()]
1374+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1375+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1376+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1377+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1378+ public partial class DriverRole : Role {
1379+
1380+ /// <remarks/>
1381+ public DriverFiles DriverFiles;
1382+ }
1383+
1384+ /// <remarks/>
1385+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1386+ [System.SerializableAttribute()]
1387+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1388+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1389+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1390+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1391+ public partial class DriverFiles {
1392+
1393+ /// <remarks/>
1394+ [System.Xml.Serialization.XmlElementAttribute("Driver")]
1395+ public List<Driver> Driver = new List<Driver>();
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 Driver : FileType {
1411+
1412+ /// <remarks/>
1413+ public File File;
1414+ }
1415+
1416+ /// <remarks/>
1417+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1418+ [System.SerializableAttribute()]
1419+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1420+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1421+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1422+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1423+ public partial class comp {
1424+
1425+ /// <remarks/>
1426+ [System.Xml.Serialization.XmlAttributeAttribute()]
1427+ public string component_id;
1428+ }
1429+
1430+ /// <remarks/>
1431+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1432+ [System.SerializableAttribute()]
1433+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1434+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1435+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1436+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1437+ public partial class StaticLib {
1438+
1439+ /// <remarks/>
1440+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1441+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1442+ public List<FileSysItem> Items = new List<FileSysItem>();
1443+ }
1444+
1445+ /// <remarks/>
1446+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1447+ [System.SerializableAttribute()]
1448+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1449+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1450+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1451+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1452+ public partial class ImportLib {
1453+
1454+ /// <remarks/>
1455+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1456+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1457+ public List<FileSysItem> Items = new List<FileSysItem>();
1458+ }
1459+
1460+ /// <remarks/>
1461+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1462+ [System.SerializableAttribute()]
1463+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1464+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1465+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1466+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1467+ public partial class Registry {
1468+
1469+ /// <remarks/>
1470+ [System.Xml.Serialization.XmlElementAttribute("RegistryKey", typeof(RegistryKey))]
1471+ [System.Xml.Serialization.XmlElementAttribute("RegistryValue", typeof(RegistryValue))]
1472+ [System.Xml.Serialization.XmlElementAttribute("RemoveRegistryKey", typeof(RemoveRegistryKey))]
1473+ [System.Xml.Serialization.XmlElementAttribute("RemoveRegistryValue", typeof(RemoveRegistryValue))]
1474+ public List<object> Items = new List<object>();
1475+ }
1476+
1477+ /// <remarks/>
1478+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1479+ [System.SerializableAttribute()]
1480+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1481+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1482+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1483+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1484+ public partial class CodeFiles {
1485+
1486+ /// <remarks/>
1487+ [System.Xml.Serialization.XmlElementAttribute("File", typeof(File))]
1488+ [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(Folder))]
1489+ public List<FileSysItem> Items = new List<FileSysItem>();
1490+ }
1491+
1492+ /// <remarks/>
1493+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1494+ [System.SerializableAttribute()]
1495+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1496+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1497+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1498+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1499+ public partial class features {
1500+
1501+ /// <remarks/>
1502+ [System.Xml.Serialization.XmlElementAttribute("comp")]
1503+ public List<comp> Items = new List<comp>();
1504+ }
1505+
1506+ /// <remarks/>
1507+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")]
1508+ [System.SerializableAttribute()]
1509+ [System.Diagnostics.DebuggerStepThroughAttribute()]
1510+ [System.ComponentModel.DesignerCategoryAttribute("code")]
1511+ [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://coapp.org/ns/mkPackage.xsd")]
1512+ [System.Xml.Serialization.XmlRootAttribute(Namespace="http://coapp.org/ns/mkPackage.xsd", IsNullable=false)]
1513+ public partial class SourceCode : Role {
1514+
1515+ /// <remarks/>
1516+ [System.Xml.Serialization.XmlArrayItemAttribute("File", typeof(File), IsNullable=false)]
1517+ [System.Xml.Serialization.XmlArrayItemAttribute("Folder", typeof(Folder), IsNullable=false)]
1518+ public List<FileSysItem> CodeFiles = new List<FileSysItem>();
1519+ }
1520+}
1521
1522=== added file 'Package/mkPackage.xsd'
1523--- Package/mkPackage.xsd 1970-01-01 00:00:00 +0000
1524+++ Package/mkPackage.xsd 2011-01-21 19:08:57 +0000
1525@@ -0,0 +1,1356 @@
1526+<?xml version="1.0" encoding="utf-8"?>
1527+<!--
1528+<![CDATA[
1529+//
1530+// <copyright company="CoApp Project">
1531+// Copyright (c) 2010-2011 Eric Schultz. All rights reserved.
1532+//
1533+// Certain types included from WiX project,
1534+// Copyright (c) 2010 Windows Installer Xml
1535+// </copyright>
1536+//
1537+]]>
1538+-->
1539+<xs:schema id="InputSchema"
1540+ targetNamespace="http://coapp.org/ns/mkPackage.xsd"
1541+ elementFormDefault="qualified"
1542+ xmlns="http://coapp.org/ns/mkPackage.xsd"
1543+ xmlns:mstns="http://coapp.org/ns/mkPackage.xsd"
1544+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
1545+ xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
1546+>
1547+ <xs:annotation>
1548+ <xs:documentation>Schema for mkPackage input files. IMPORTANT CONVENTION: Attribute names that start with a
1549+ lower-case letter will be automatically created by mkPackage.</xs:documentation>
1550+ </xs:annotation>
1551+ <xs:element name="Package">
1552+ <xs:annotation>
1553+ <xs:documentation>Represents a CoApp package.</xs:documentation>
1554+ </xs:annotation>
1555+ <xs:complexType>
1556+
1557+ <xs:sequence minOccurs="1">
1558+ <xs:element ref="Tags" minOccurs="0" maxOccurs="1"/>
1559+ <xs:element ref="Dependencies" minOccurs="0" maxOccurs="1"/>
1560+ <xs:element ref="Publisher" minOccurs="0" maxOccurs="1"/>
1561+ <xs:element ref="Properties" minOccurs="0" maxOccurs="1"/>
1562+ <xs:element ref="BindingPolicy" minOccurs="0" maxOccurs="1"/>
1563+ <xs:element ref="Urls" minOccurs="0" maxOccurs="1" />
1564+ <xs:sequence minOccurs="1">
1565+ <xs:element ref="SharedLib" minOccurs="0"/>
1566+ <xs:element ref="DeveloperLib" minOccurs="0"/>
1567+ <xs:element ref="AppRole" minOccurs="0"/>
1568+ <xs:element ref="DriverRole" minOccurs="0"/>
1569+ </xs:sequence>
1570+ <xs:element ref="features" minOccurs="0" maxOccurs="1" />
1571+
1572+ </xs:sequence>
1573+
1574+ <xs:attribute name="Name" type="Id" use="required">
1575+ <xs:annotation>
1576+ <xs:documentation>The name of your package.</xs:documentation>
1577+ </xs:annotation>
1578+ </xs:attribute>
1579+ <xs:attribute name="Version" type="VersionType" use="required">
1580+ <xs:annotation>
1581+ <xs:documentation>
1582+ The version of your package. Must be of the form X.X.X.X where X is an integer from 0-65534.
1583+ If you have some other type of versioning system, i.e.: 1.0k, that goes in the AuthorVersion attribute of Properties element.
1584+ </xs:documentation>
1585+ </xs:annotation>
1586+ </xs:attribute>
1587+
1588+ <xs:attribute name="Arch" type="Arch" use="required">
1589+ <xs:annotation>
1590+ <xs:documentation>The architecture the package runs on. See the Arch type for details.</xs:documentation>
1591+ </xs:annotation>
1592+ </xs:attribute>
1593+
1594+ <xs:attribute name="Platform" type="xs:string">
1595+ <xs:annotation>
1596+ <xs:documentation>The platform your package runs on. Currently this is only meaningful if you are making a .NET package,
1597+ in which case you should enter MSIL (and set Arch to any).</xs:documentation>
1598+ </xs:annotation>
1599+ </xs:attribute>
1600+
1601+ <xs:attribute name="proddir_id" type="Id"/>
1602+ <xs:attribute name="package_guid" type="Guid"/>
1603+ <xs:attribute name="product_guid" type="Guid"/>
1604+ </xs:complexType>
1605+ </xs:element>
1606+
1607+ <!-- groups -->
1608+ <xs:element name="Tags">
1609+ <xs:annotation>
1610+ <xs:documentation>Holds all the tags for a given package.</xs:documentation>
1611+ </xs:annotation>
1612+ <xs:complexType>
1613+ <xs:sequence minOccurs="0">
1614+ <xs:element ref="Tag" />
1615+ </xs:sequence>
1616+ </xs:complexType>
1617+ </xs:element>
1618+
1619+ <xs:element name="Dependencies">
1620+ <xs:annotation>
1621+ <xs:documentation>Holds all the dependencies for a given package.</xs:documentation>
1622+ </xs:annotation>
1623+ <xs:complexType>
1624+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
1625+ <xs:element ref="Dependency"/>
1626+ </xs:sequence>
1627+ </xs:complexType>
1628+ </xs:element>
1629+
1630+ <xs:element name="InstallProperties">
1631+ <xs:complexType>
1632+ <xs:sequence minOccurs="1" maxOccurs="unbounded">
1633+ <xs:element ref="Property"/>
1634+ </xs:sequence>
1635+ </xs:complexType>
1636+ </xs:element>
1637+
1638+ <!--others-->
1639+ <xs:element name="Tag">
1640+ <xs:complexType>
1641+ <xs:attribute name="Type" type="xs:string" use="required"/>
1642+ <xs:attribute name="Value" type="xs:string" use="required"/>
1643+ <xs:attribute name="tag_guid" type="Guid" use="optional"/>
1644+ </xs:complexType>
1645+ </xs:element>
1646+
1647+ <xs:element name="Property">
1648+ <xs:complexType>
1649+ <xs:attribute name="Type" type="xs:string" use="required"/>
1650+ <xs:attribute name="Link" type="xs:string" use="required"/>
1651+ <xs:attribute name="Target" type="xs:string" use="required"/>
1652+ <xs:attribute name="prop_guid" type="Guid" use="optional"/>
1653+ </xs:complexType>
1654+ </xs:element>
1655+
1656+
1657+ <xs:element name="Dependency">
1658+ <xs:annotation>
1659+ <xs:documentation>Some packages are dependent on other packages. In those cases,
1660+ each of the other packages are described using a Dependency element.
1661+ </xs:documentation>
1662+ </xs:annotation>
1663+ <xs:complexType>
1664+ <xs:attribute name="package_id" type="Guid" use="optional"/>
1665+ <xs:attribute name="Name" type="Id" use="required">
1666+ <xs:annotation>
1667+ <xs:documentation>The name of the dependency.</xs:documentation>
1668+ </xs:annotation>
1669+ </xs:attribute>
1670+ <xs:attribute name="Version" type="VersionType" use="required">
1671+ <xs:annotation>
1672+ <xs:documentation>
1673+ The particular version of the dependency.
1674+ </xs:documentation>
1675+ </xs:annotation>
1676+ </xs:attribute>
1677+
1678+ <xs:attribute name="Arch" type="Arch" use="required">
1679+ <xs:annotation>
1680+ <xs:documentation>
1681+ The architecture of the dependency.
1682+ </xs:documentation>
1683+ </xs:annotation>
1684+ </xs:attribute>
1685+ <xs:attribute name="PublicKeyToken" type="PublicKeyToken" use="required">
1686+ <xs:annotation>
1687+ <xs:documentation>The public key token of the publisher that signed the dependency.</xs:documentation>
1688+ </xs:annotation>
1689+ </xs:attribute>
1690+ </xs:complexType>
1691+ </xs:element>
1692+
1693+ <xs:element name="Publisher">
1694+ <xs:complexType>
1695+ <xs:attribute name="Name" type="xs:string" use="required">
1696+ <xs:annotation>
1697+ <xs:documentation>The name of publisher. This name must match the name on the certificate used for signing
1698+ this package.</xs:documentation>
1699+ </xs:annotation>
1700+ </xs:attribute>
1701+ <xs:attribute name="PublicKeyToken" type="PublicKeyToken" use="required">
1702+ <xs:annotation>
1703+ <xs:documentation>The public key token of the publisher. Must match the public key token on the
1704+ certificate used for signing this package.</xs:documentation>
1705+ </xs:annotation>
1706+ </xs:attribute>
1707+ <xs:attribute name="directory_id" type="xs:string"/>
1708+ </xs:complexType>
1709+ </xs:element>
1710+
1711+ <xs:element name="Properties">
1712+ <xs:annotation>
1713+ <xs:documentation>These are properties of the package itself.</xs:documentation>
1714+ </xs:annotation>
1715+ <xs:complexType >
1716+ <xs:attribute name="DisplayName" type="xs:string">
1717+ <xs:annotation>
1718+ <xs:documentation>The "friendly" name of the package. This can include pretty much any character.</xs:documentation>
1719+ </xs:annotation>
1720+ </xs:attribute>
1721+ <xs:attribute name="Description" type="xs:string">
1722+ <xs:annotation>
1723+ <xs:documentation>An end-user readable description of the software.</xs:documentation>
1724+ </xs:annotation>
1725+ </xs:attribute>
1726+ <xs:attribute name="Icon" type="xs:string">
1727+ <xs:annotation>
1728+ <xs:documentation>The file path to the package's icon.</xs:documentation>
1729+ </xs:annotation>
1730+ </xs:attribute>
1731+ <xs:attribute name="PublishDate" type="xs:date">
1732+ <xs:annotation>
1733+ <xs:documentation>The release date of the package.</xs:documentation>
1734+ </xs:annotation>
1735+ </xs:attribute>
1736+ <xs:attribute name="AuthorVersion" type="xs:string">
1737+ <xs:annotation>
1738+ <xs:documentation>The version used by the author. An example would be Windows Vista.
1739+ It's package version would be 6000.x.x.x but it's AuthorVersion would be 'Vista'</xs:documentation>
1740+ </xs:annotation>
1741+ </xs:attribute>
1742+ <xs:attribute name="icon_id" type="xs:string"/>
1743+ </xs:complexType>
1744+ </xs:element>
1745+
1746+ <xs:element name="BindingPolicy">
1747+ <xs:annotation>
1748+ <xs:documentation>States which versions of this package that this specific version replaces and which other
1749+ 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
1750+ it wouldn't replace anything from the version 2 branch (something with a version like 2.x.x.x)</xs:documentation>
1751+ </xs:annotation>
1752+ <xs:complexType>
1753+ <xs:attribute name="MinimumVersion" type="VersionType">
1754+ <xs:annotation>
1755+ <xs:documentation>The minimum version of this package that this specific version replaces.</xs:documentation>
1756+ </xs:annotation>
1757+ </xs:attribute>
1758+ <xs:attribute name="MaximumVersion" type="VersionType">
1759+ <xs:annotation>
1760+ <xs:documentation>The maximum version of this package that this specific version replaces.</xs:documentation>
1761+ </xs:annotation>
1762+ </xs:attribute>
1763+ </xs:complexType>
1764+ </xs:element>
1765+
1766+
1767+ <xs:complexType name="Role">
1768+ <xs:sequence minOccurs="0" maxOccurs="1">
1769+ <xs:element ref="License" minOccurs="0" maxOccurs="1"/>
1770+ <xs:element ref="Registry" minOccurs="0" maxOccurs="1"/>
1771+ <xs:element ref="InstallProperties" minOccurs="0" maxOccurs="1"/>
1772+ </xs:sequence>
1773+ <xs:attribute name="type" use="optional"/>
1774+ <xs:attribute name="Flavor" use="optional" type="xs:string"/>
1775+ <xs:attribute name="role_guid" use="optional" type="Guid"/>
1776+ </xs:complexType>
1777+
1778+ <xs:element name="StaticLib">
1779+ <xs:complexType>
1780+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1781+
1782+ <xs:element ref="File" />
1783+ <xs:element ref="Folder"/>
1784+
1785+ </xs:choice>
1786+ </xs:complexType>
1787+ </xs:element>
1788+
1789+ <xs:element name="ImportLib">
1790+ <xs:complexType>
1791+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1792+
1793+ <xs:element ref="File" />
1794+ <xs:element ref="Folder"/>
1795+
1796+ </xs:choice>
1797+ </xs:complexType>
1798+ </xs:element>
1799+
1800+
1801+ <xs:complexType name="FileSysItem">
1802+ <xs:annotation>
1803+ <xs:documentation>A file system item. The base type of all major</xs:documentation>
1804+ </xs:annotation>
1805+ </xs:complexType>
1806+
1807+ <xs:element name="Folder">
1808+ <xs:complexType>
1809+ <xs:complexContent>
1810+ <xs:extension base="FileSysItem">
1811+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1812+
1813+ <xs:element ref="File" />
1814+ <xs:element ref="Folder"/>
1815+
1816+ </xs:choice>
1817+
1818+ <!-- make this a valid folder name-->
1819+ <xs:attribute name="Name" type="xs:string" use="required"/>
1820+
1821+ <xs:attribute name="folder_id" type="Id" use="optional"/>
1822+ </xs:extension>
1823+ </xs:complexContent>
1824+ </xs:complexType>
1825+ </xs:element>
1826+
1827+ <xs:complexType name="FileType">
1828+ <xs:complexContent>
1829+ <xs:extension base="FileSysItem">
1830+ <xs:attribute name="name" type="xs:string"/>
1831+ <xs:attribute name="Src" type="xs:string" use="required"/>
1832+ <xs:attribute name="ext" type="xs:string"/>
1833+ <xs:attribute name="component_guid" type ="Guid" use="optional"/>
1834+ <xs:attribute name="component_id" type="Id" use="optional"/>
1835+ </xs:extension>
1836+ </xs:complexContent>
1837+
1838+ </xs:complexType>
1839+
1840+ <xs:element name="File">
1841+ <xs:complexType>
1842+ <xs:complexContent>
1843+ <xs:extension base="FileType"/>
1844+ </xs:complexContent>
1845+ </xs:complexType>
1846+ </xs:element>
1847+
1848+ <xs:element name="LibFile">
1849+ <xs:complexType>
1850+ <xs:complexContent>
1851+ <xs:extension base="FileType">
1852+ <xs:attribute name="Compiler" type="xs:string" use="optional"/>
1853+ <xs:attribute name="Arch" type="Arch" use="required"/>
1854+ </xs:extension>
1855+
1856+ </xs:complexContent>
1857+ </xs:complexType>
1858+ </xs:element>
1859+
1860+ <xs:element name="ExeFile">
1861+ <xs:complexType>
1862+ <xs:complexContent>
1863+ <xs:extension base="FileType">
1864+ <xs:attribute name="Compiler" type="xs:string" use="optional"/>
1865+ <xs:attribute name="Arch" type="Arch" use="required"/>
1866+ </xs:extension>
1867+
1868+ </xs:complexContent>
1869+ </xs:complexType>
1870+ </xs:element>
1871+
1872+
1873+ <xs:element name="License">
1874+ <xs:complexType mixed="true">
1875+
1876+ <xs:attribute name="Url" type="xs:anyURI"/>
1877+ <xs:attribute name="license_guid" type="Guid"/>
1878+ </xs:complexType>
1879+ </xs:element>
1880+
1881+ <xs:element name="Assembly">
1882+ <xs:complexType>
1883+ <xs:complexContent>
1884+ <xs:extension base ="FileType">
1885+ <xs:sequence>
1886+ <xs:element ref="Manifest" minOccurs="0" maxOccurs="1"/>
1887+ <xs:element ref="CatFile" minOccurs="0" maxOccurs="1"/>
1888+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1889+ <xs:element ref="File"/>
1890+ </xs:choice>
1891+ </xs:sequence>
1892+ <!-- restrict this to valid types-->
1893+ <xs:attribute name="type" type="xs:string"/>
1894+ <!-- restrict this to valid archs-->
1895+ <xs:attribute name="Arch" type="Arch" use="required"/>
1896+ <xs:attribute name="Platform" type="xs:string" use="required"/>
1897+ <xs:attribute name="CreateManifestAndCat" type="xs:boolean" use="optional"/>
1898+ </xs:extension>
1899+ </xs:complexContent>
1900+ </xs:complexType>
1901+ </xs:element>
1902+
1903+ <xs:element name="PolicyAssembly">
1904+ <xs:complexType>
1905+ <xs:sequence>
1906+ <xs:element ref="Manifest" minOccurs="1" maxOccurs="1"/>
1907+ <xs:element ref="CatFile" minOccurs="1" maxOccurs="1"/>
1908+
1909+ </xs:sequence>
1910+ <!-- restrict this to valid types-->
1911+ <xs:attribute name="type" type="xs:string"/>
1912+ <!-- restrict this to valid archs-->
1913+ <xs:attribute name="Arch" type="Arch" use="required"/>
1914+ <xs:attribute name="Platform" type="xs:string" use="required"/>
1915+
1916+ </xs:complexType>
1917+ </xs:element>
1918+
1919+
1920+ <xs:element name="Driver">
1921+ <xs:complexType>
1922+ <xs:complexContent>
1923+ <xs:extension base="FileType">
1924+ <xs:sequence>
1925+ <xs:element ref="File"/>
1926+ </xs:sequence>
1927+ </xs:extension>
1928+ </xs:complexContent>
1929+ </xs:complexType>
1930+ </xs:element>
1931+
1932+ <xs:element name="Manifest">
1933+ <xs:complexType>
1934+ <xs:complexContent>
1935+ <xs:extension base="FileType"/>
1936+ </xs:complexContent>
1937+ </xs:complexType>
1938+ </xs:element>
1939+
1940+ <xs:element name="CatFile">
1941+ <xs:complexType>
1942+ <xs:complexContent>
1943+ <xs:extension base="FileType"/>
1944+ </xs:complexContent>
1945+ </xs:complexType>
1946+ </xs:element>
1947+
1948+ <xs:element name="Files">
1949+ <xs:complexType >
1950+ <xs:sequence>
1951+ <xs:element ref="Assembly" minOccurs="1" maxOccurs="1"/>
1952+ <xs:element ref="PolicyAssembly" minOccurs="0" maxOccurs="unbounded" />
1953+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1954+ <xs:element ref="File"/>
1955+ <xs:element ref="Folder"/>
1956+ </xs:choice>
1957+ </xs:sequence>
1958+ </xs:complexType>
1959+ </xs:element>
1960+
1961+
1962+ <xs:element name="Includes">
1963+ <xs:complexType>
1964+ <xs:sequence>
1965+ <xs:element ref="StaticLibs" minOccurs="0" maxOccurs="unbounded"/>
1966+ <xs:element ref="ImportLibs" minOccurs="0" maxOccurs="unbounded"/>
1967+ <xs:element ref="Headers" minOccurs="0" maxOccurs="unbounded"/>
1968+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1969+
1970+ <xs:element ref="File"/>
1971+ <xs:element ref="Folder"/>
1972+ </xs:choice>
1973+ </xs:sequence>
1974+
1975+ </xs:complexType>
1976+ </xs:element>
1977+
1978+ <xs:element name="Registry">
1979+ <xs:complexType>
1980+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1981+ <xs:element ref="RegistryKey"/>
1982+ <xs:element ref="RegistryValue"/>
1983+ <xs:element ref="RemoveRegistryKey"/>
1984+ <xs:element ref="RemoveRegistryValue"/>
1985+ </xs:choice>
1986+ </xs:complexType>
1987+ </xs:element>
1988+
1989+ <xs:element name="StaticLibs">
1990+ <xs:complexType>
1991+ <xs:sequence minOccurs="1" maxOccurs="unbounded">
1992+ <xs:element ref="LibFile"/>
1993+ </xs:sequence>
1994+ </xs:complexType>
1995+ </xs:element>
1996+
1997+ <xs:element name="ImportLibs">
1998+ <xs:complexType>
1999+ <xs:sequence minOccurs="1" maxOccurs="unbounded">
2000+ <xs:element ref="LibFile"/>
2001+ </xs:sequence>
2002+ </xs:complexType>
2003+ </xs:element>
2004+
2005+ <xs:element name="Headers">
2006+ <xs:complexType>
2007+ <xs:sequence>
2008+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2009+ <xs:element ref="File"/>
2010+ <xs:element ref="Folder"/>
2011+ </xs:choice>
2012+ </xs:sequence>
2013+ <xs:attribute name="dir_id" type="Id" use="optional"/>
2014+ </xs:complexType>
2015+ </xs:element>
2016+
2017+ <xs:element name="CodeFiles">
2018+ <xs:complexType>
2019+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2020+ <xs:element ref="File"/>
2021+ <xs:element ref="Folder"/>
2022+ </xs:choice>
2023+ </xs:complexType>
2024+ </xs:element>
2025+
2026+ <xs:element name="DriverFiles">
2027+ <xs:complexType>
2028+ <xs:sequence>
2029+ <xs:element ref="Driver" minOccurs="1" maxOccurs="unbounded"/>
2030+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2031+ <xs:element ref="File"/>
2032+ <xs:element ref="Folder"/>
2033+ </xs:choice>
2034+ </xs:sequence>
2035+ </xs:complexType>
2036+ </xs:element>
2037+
2038+ <xs:element name="AppFiles">
2039+ <xs:complexType>
2040+ <xs:sequence>
2041+ <xs:element ref="ExeFile" minOccurs="1" maxOccurs="unbounded"/>
2042+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2043+ <xs:element ref="File"/>
2044+ <xs:element ref="Folder"/>
2045+ </xs:choice>
2046+ </xs:sequence>
2047+ </xs:complexType>
2048+ </xs:element>
2049+
2050+ <xs:element name="features">
2051+ <xs:complexType>
2052+ <xs:choice maxOccurs="unbounded">
2053+ <xs:element ref="comp"/>
2054+ </xs:choice>
2055+ </xs:complexType>
2056+ </xs:element>
2057+
2058+ <xs:element name="comp">
2059+ <xs:complexType>
2060+ <xs:attribute name="component_id" use="required" type="Id"/>
2061+ </xs:complexType>
2062+ </xs:element>
2063+
2064+ <xs:element name="Urls">
2065+ <xs:complexType>
2066+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
2067+ <xs:element ref="Url"/>
2068+ </xs:sequence>
2069+ </xs:complexType>
2070+ </xs:element>
2071+
2072+ <xs:element name="Url">
2073+ <xs:complexType>
2074+ <xs:attribute name="URL" type="xs:string" use="required"/>
2075+ <xs:attribute name="Type" type="xs:string" use="required"/>
2076+ <xs:attribute name="url_guid" type="Guid" use="optional"/>
2077+ </xs:complexType>
2078+ </xs:element>
2079+
2080+
2081+ <!-- Role Extensions -->
2082+ <xs:element name="SharedLib">
2083+ <xs:complexType>
2084+ <xs:complexContent>
2085+ <xs:extension base="Role">
2086+ <xs:sequence>
2087+ <xs:element ref="Files"/>
2088+ </xs:sequence>
2089+ </xs:extension>
2090+ </xs:complexContent>
2091+ </xs:complexType>
2092+ </xs:element>
2093+
2094+ <xs:element name="DeveloperLib">
2095+ <xs:complexType>
2096+ <xs:complexContent>
2097+ <xs:extension base="Role">
2098+ <xs:sequence>
2099+ <xs:element ref="Includes"/>
2100+ </xs:sequence>
2101+ </xs:extension>
2102+ </xs:complexContent>
2103+ </xs:complexType>
2104+ </xs:element>
2105+
2106+
2107+ <xs:element name="SourceCode">
2108+ <xs:complexType>
2109+ <xs:complexContent>
2110+ <xs:extension base="Role">
2111+ <xs:sequence>
2112+ <xs:element ref="CodeFiles"/>
2113+ </xs:sequence>
2114+ </xs:extension>
2115+ </xs:complexContent>
2116+ </xs:complexType>
2117+ </xs:element>
2118+
2119+ <xs:element name="DriverRole">
2120+ <xs:complexType>
2121+ <xs:complexContent>
2122+ <xs:extension base="Role">
2123+ <xs:sequence>
2124+ <xs:element ref="DriverFiles"/>
2125+ </xs:sequence>
2126+ </xs:extension>
2127+ </xs:complexContent>
2128+ </xs:complexType>
2129+ </xs:element>
2130+
2131+ <xs:element name="AppRole">
2132+ <xs:complexType>
2133+ <xs:complexContent>
2134+ <xs:extension base="Role">
2135+ <xs:sequence>
2136+ <xs:element ref="AppFiles"/>
2137+ </xs:sequence>
2138+ </xs:extension>
2139+ </xs:complexContent>
2140+ </xs:complexType>
2141+ </xs:element>
2142+
2143+ <!-- simple types -->
2144+ <xs:simpleType name="Id">
2145+ <xs:restriction base="xs:string">
2146+ <xs:pattern value="[0-9A-Za-z_]+"/>
2147+ </xs:restriction>
2148+ </xs:simpleType>
2149+
2150+ <xs:simpleType name="Arch">
2151+ <xs:annotation>
2152+ <xs:documentation>Represents a type of architecture that a package is targeted to.</xs:documentation>
2153+ </xs:annotation>
2154+ <xs:restriction base="xs:string">
2155+ <xs:enumeration value="x86">
2156+ <xs:annotation>
2157+ <xs:documentation>32-bit Intel-compatible archecture, often called Win32.</xs:documentation>
2158+ </xs:annotation>
2159+ </xs:enumeration>
2160+ <xs:enumeration value="x64">
2161+ <xs:annotation>
2162+ <xs:documentation>64-bit architecture, sometimes called Win64, AMD64 or Intel64.</xs:documentation>
2163+ </xs:annotation>
2164+ </xs:enumeration>
2165+ <xs:enumeration value="any">
2166+ <xs:annotation>
2167+ <xs:documentation>
2168+ Architecture independent. Used when a package works on any architecture.
2169+ .NET, Java and Python are all types of packages that might be use this.
2170+ </xs:documentation>
2171+ </xs:annotation>
2172+ </xs:enumeration>
2173+ </xs:restriction>
2174+ </xs:simpleType>
2175+
2176+ <!--should this have some sort of length restriction?-->
2177+ <xs:simpleType name="PublicKeyToken">
2178+ <xs:restriction base="xs:string">
2179+ <xs:pattern value="[0-9A-Fa-f]*"/>
2180+ </xs:restriction>
2181+ </xs:simpleType>
2182+
2183+
2184+
2185+
2186+ <!-- from wix-->
2187+
2188+
2189+ <xs:simpleType name="VersionType">
2190+ <xs:annotation>
2191+ <xs:documentation>Values of this type will look like: "x.x.x.x" where x is an integer from 0 to 65534.</xs:documentation>
2192+ </xs:annotation>
2193+ <xs:restriction base="xs:string">
2194+ <xs:pattern value="(\d{1,5}\.){3}\d{1,5}"/>
2195+ </xs:restriction>
2196+ </xs:simpleType>
2197+
2198+
2199+ <xs:simpleType name="Guid">
2200+ <xs:annotation>
2201+ <xs:documentation>Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF" or "{01234567-89AB-CDEF-0123-456789ABCDEF}".</xs:documentation>
2202+ </xs:annotation>
2203+ <xs:restriction base="xs:string">
2204+ <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}[})]?"/>
2205+ </xs:restriction>
2206+ </xs:simpleType>
2207+
2208+
2209+
2210+ <xs:element name="RegistryKey">
2211+ <xs:annotation>
2212+ <xs:documentation>
2213+ Used for organization of child RegistryValue elements or to create a registry key
2214+ (and optionally remove it during uninstallation).
2215+ </xs:documentation>
2216+ <xs:appinfo>
2217+ <!--xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>
2218+ <xse:howtoRef href="read_a_registry_entry.htm">How To: Read a registry entry during installation</xse:howtoRef>
2219+ <xse:howtoRef href="write_a_registry_entry.htm">How To: Write a registry entry during installation</xse:howtoRef>-->
2220+ </xs:appinfo>
2221+ </xs:annotation>
2222+ <xs:complexType>
2223+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2224+ <xs:element ref="RegistryKey"/>
2225+ <xs:element ref="RegistryValue"/>
2226+ <xs:element ref="Permission" minOccurs="0" maxOccurs="unbounded">
2227+ <xs:annotation>
2228+ <xs:documentation>ACL permission</xs:documentation>
2229+ </xs:annotation>
2230+ </xs:element>
2231+ <xs:element ref="PermissionEx">
2232+ <xs:annotation>
2233+ <xs:documentation>Can also configure the ACLs for this registry key.</xs:documentation>
2234+ </xs:annotation>
2235+ </xs:element>
2236+ <xs:any namespace="##other" processContents="lax">
2237+ <xs:annotation>
2238+ <xs:documentation>
2239+ Extensibility point in the WiX XML Schema. Schema extensions can register additional
2240+ elements at this point in the schema.
2241+ </xs:documentation>
2242+ </xs:annotation>
2243+ </xs:any>
2244+ </xs:choice>
2245+ <xs:attribute name="Id" type="xs:string">
2246+ <xs:annotation>
2247+ <xs:documentation>
2248+ Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
2249+ generated by hashing the parent Component identifier, Root, Key, and Name.
2250+ </xs:documentation>
2251+ </xs:annotation>
2252+ </xs:attribute>
2253+ <xs:attribute name="Action">
2254+ <xs:annotation>
2255+ <xs:documentation>
2256+ This is the action that will be taken for this registry value.
2257+ </xs:documentation>
2258+ </xs:annotation>
2259+ <xs:simpleType>
2260+ <xs:restriction base="xs:NMTOKEN">
2261+ <xs:enumeration value="create">
2262+ <xs:annotation>
2263+ <xs:documentation>
2264+ Creates the key, if absent, when the parent component is installed.
2265+ </xs:documentation>
2266+ </xs:annotation>
2267+ </xs:enumeration>
2268+ <xs:enumeration value="createAndRemoveOnUninstall">
2269+ <xs:annotation>
2270+ <xs:documentation>
2271+ 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.
2272+ 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
2273+ removes all values and subkeys that it creates, so this option just adds additional overhead to uninstall.
2274+ </xs:documentation>
2275+ </xs:annotation>
2276+ </xs:enumeration>
2277+ <xs:enumeration value="none">
2278+ <xs:annotation>
2279+ <xs:documentation>
2280+ Does nothing; this element is used merely in WiX authoring for organization and does nothing to the final output.
2281+ This is the default value.
2282+ </xs:documentation>
2283+ </xs:annotation>
2284+ </xs:enumeration>
2285+ </xs:restriction>
2286+ </xs:simpleType>
2287+ </xs:attribute>
2288+ <xs:attribute name="Key" type="xs:string">
2289+ <xs:annotation>
2290+ <xs:documentation>
2291+ The localizable key for the registry value.
2292+ If the parent element is a RegistryKey, this value may be omitted to use the
2293+ path of the parent, or if its specified it will be appended to the path of the parent.
2294+ </xs:documentation>
2295+ </xs:annotation>
2296+ </xs:attribute>
2297+ <xs:attribute name="Root" type="RegistryRootType">
2298+ <xs:annotation>
2299+ <xs:documentation>
2300+ The predefined root key for the registry value.
2301+ </xs:documentation>
2302+ </xs:annotation>
2303+ </xs:attribute>
2304+ </xs:complexType>
2305+ </xs:element>
2306+
2307+ <xs:element name="RegistryValue">
2308+ <xs:annotation>
2309+ <xs:documentation>
2310+ Used to create a registry value. For multi-string values, this can be used to prepend or append values.
2311+
2312+ For legacy authoring: Use several of these elements to specify each registry value in a multiString registry value. This element
2313+ cannot be used if the Value attribute is specified unless the Type attribute is set to 'multiString'. The
2314+ values should go in the text area of the RegistryValue element.
2315+ </xs:documentation>
2316+ <xs:appinfo>
2317+ <!--
2318+ <xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>
2319+ <xse:howtoRef href="write_a_registry_entry.htm">How To: Write a registry entry during installation</xse:howtoRef>-->
2320+ </xs:appinfo>
2321+ </xs:annotation>
2322+ <xs:complexType mixed="true">
2323+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2324+ <xs:element ref="Permission"/>
2325+ <xs:element ref="PermissionEx">
2326+ <xs:annotation>
2327+ <xs:documentation>Can also configure the ACLs for this registry value.</xs:documentation>
2328+ </xs:annotation>
2329+ </xs:element>
2330+ <xs:element ref="MultiStringValue"/>
2331+ <xs:any namespace="##other" processContents="lax">
2332+ <xs:annotation>
2333+ <xs:documentation>
2334+ Extensibility point in the WiX XML Schema. Schema extensions can register additional
2335+ elements at this point in the schema.
2336+ </xs:documentation>
2337+ </xs:annotation>
2338+ </xs:any>
2339+ </xs:choice>
2340+ <xs:attribute name="Id" type="xs:string">
2341+ <xs:annotation>
2342+ <xs:documentation>
2343+ Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
2344+ generated by hashing the parent Component identifier, Root, Key, and Name.
2345+ </xs:documentation>
2346+ </xs:annotation>
2347+ </xs:attribute>
2348+ <xs:attribute name="Root" type="RegistryRootType">
2349+ <xs:annotation>
2350+ <xs:documentation>
2351+ The predefined root key for the registry value.
2352+ </xs:documentation>
2353+ </xs:annotation>
2354+ </xs:attribute>
2355+ <xs:attribute name="Key" type="xs:string">
2356+ <xs:annotation>
2357+ <xs:documentation>
2358+ The localizable key for the registry value.
2359+ If the parent element is a RegistryKey, this value may be omitted to use the
2360+ path of the parent, or if its specified it will be appended to the path of the parent.
2361+ </xs:documentation>
2362+ </xs:annotation>
2363+ </xs:attribute>
2364+ <xs:attribute name="Name" type="xs:string">
2365+ <xs:annotation>
2366+ <xs:documentation>
2367+ The localizable registry value name. If this attribute is not provided the default value for the registry key will
2368+ be set instead. The Windows Installer allows several special values to be set for this attribute. You should not
2369+ use them in WiX. Instead use appropriate values in the Action attribute to get the desired behavior.
2370+ </xs:documentation>
2371+ </xs:annotation>
2372+ </xs:attribute>
2373+ <xs:attribute name="Value" type="xs:string">
2374+ <xs:annotation>
2375+ <xs:documentation>
2376+ Set this attribute to the localizable registry value. This value is formatted. The Windows Installer allows
2377+ several special values to be set for this attribute. You should not use them in WiX. Instead use appropriate
2378+ values in the Type attribute to get the desired behavior.
2379+ </xs:documentation>
2380+ </xs:annotation>
2381+ </xs:attribute>
2382+ <!-- unfortunately, this attribute cannot yet be set to required due to backwards-compatibility, once the Registry element is removed, this should be required -->
2383+ <xs:attribute name="Type">
2384+ <xs:annotation>
2385+ <xs:documentation>
2386+ Set this attribute to the type of the desired registry key. This attribute must be specified whenever the Value
2387+ attribute or a child RegistryValue element is specified. This attribute
2388+ should only be set when the value of the Action attribute does not include the word 'remove'.
2389+ </xs:documentation>
2390+ </xs:annotation>
2391+ <xs:simpleType>
2392+ <xs:restriction base="xs:NMTOKEN">
2393+ <xs:enumeration value="string">
2394+ <xs:annotation>
2395+ <xs:documentation>
2396+ The value is interpreted and stored as a string (REG_SZ).
2397+ </xs:documentation>
2398+ </xs:annotation>
2399+ </xs:enumeration>
2400+ <xs:enumeration value="integer">
2401+ <xs:annotation>
2402+ <xs:documentation>
2403+ The value is interpreted and stored as an integer (REG_DWORD).
2404+ </xs:documentation>
2405+ </xs:annotation>
2406+ </xs:enumeration>
2407+ <xs:enumeration value="binary">
2408+ <xs:annotation>
2409+ <xs:documentation>
2410+ The value is interpreted and stored as a hexadecimal value (REG_BINARY).
2411+ </xs:documentation>
2412+ </xs:annotation>
2413+ </xs:enumeration>
2414+ <xs:enumeration value="expandable">
2415+ <xs:annotation>
2416+ <xs:documentation>
2417+ The value is interpreted and stored as an expandable string (REG_EXPAND_SZ).
2418+ </xs:documentation>
2419+ </xs:annotation>
2420+ </xs:enumeration>
2421+ <xs:enumeration value="multiString">
2422+ <xs:annotation>
2423+ <xs:documentation>
2424+ The value is interpreted and stored as a multiple strings (REG_MULTI_SZ).
2425+ Please note that this value will only result in a multi-string value if there is more than one registry value
2426+ or the Action attribute's value is 'append' or 'prepend'. Otherwise a string value will be created.
2427+ </xs:documentation>
2428+ </xs:annotation>
2429+ </xs:enumeration>
2430+ </xs:restriction>
2431+ </xs:simpleType>
2432+ </xs:attribute>
2433+ <xs:attribute name="Action">
2434+ <xs:annotation>
2435+ <xs:documentation>
2436+ This is the action that will be taken for this registry value.
2437+ </xs:documentation>
2438+ </xs:annotation>
2439+ <xs:simpleType>
2440+ <xs:restriction base="xs:NMTOKEN">
2441+ <xs:enumeration value="append">
2442+ <xs:annotation>
2443+ <xs:documentation>
2444+ Appends the specified value(s) to a multiString registry value.
2445+ </xs:documentation>
2446+ </xs:annotation>
2447+ </xs:enumeration>
2448+ <xs:enumeration value="prepend">
2449+ <xs:annotation>
2450+ <xs:documentation>
2451+ Prepends the specified value(s) to a multiString registry value.
2452+ </xs:documentation>
2453+ </xs:annotation>
2454+ </xs:enumeration>
2455+ <xs:enumeration value="write">
2456+ <xs:annotation>
2457+ <xs:documentation>
2458+ Writes a registry value. This is the default value.
2459+ </xs:documentation>
2460+ </xs:annotation>
2461+ </xs:enumeration>
2462+ </xs:restriction>
2463+ </xs:simpleType>
2464+ </xs:attribute>
2465+ <xs:attribute name="KeyPath" type="YesNoType">
2466+ <xs:annotation>
2467+ <xs:documentation>
2468+ Set this attribute to 'yes' to make this registry key the KeyPath of the parent component.
2469+ Only one resource (registry, file, etc) can be the KeyPath of a component.
2470+ </xs:documentation>
2471+ </xs:annotation>
2472+ </xs:attribute>
2473+ </xs:complexType>
2474+ </xs:element>
2475+
2476+ <xs:element name="RemoveRegistryKey">
2477+ <xs:annotation>
2478+ <xs:documentation>
2479+ Used for removing registry keys and all child keys either during install or uninstall.
2480+ </xs:documentation>
2481+ <xs:appinfo>
2482+ <!--
2483+ <xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>
2484+ <xse:msiRef table="RemoveRegistry" href="http://msdn.microsoft.com/library/aa371208.aspx"/>-->
2485+ </xs:appinfo>
2486+ </xs:annotation>
2487+ <xs:complexType>
2488+ <xs:attribute name="Id" type="xs:string">
2489+ <xs:annotation>
2490+ <xs:documentation>
2491+ Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
2492+ generated by hashing the parent Component identifier, Root, Key, and Name.
2493+ </xs:documentation>
2494+ </xs:annotation>
2495+ </xs:attribute>
2496+ <xs:attribute name="Action">
2497+ <xs:annotation>
2498+ <xs:documentation>
2499+ This is the action that will be taken for this registry value.
2500+ </xs:documentation>
2501+ </xs:annotation>
2502+ <xs:simpleType>
2503+ <xs:restriction base="xs:NMTOKEN">
2504+ <xs:enumeration value="removeOnInstall">
2505+ <xs:annotation>
2506+ <xs:documentation>
2507+ Removes a key with all its values and subkeys when the parent component is installed.
2508+ </xs:documentation>
2509+ </xs:annotation>
2510+ </xs:enumeration>
2511+ <xs:enumeration value="removeOnUninstall">
2512+ <xs:annotation>
2513+ <xs:documentation>
2514+ Removes a key with all its values and subkeys when the parent component is uninstalled.
2515+ </xs:documentation>
2516+ </xs:annotation>
2517+ </xs:enumeration>
2518+ </xs:restriction>
2519+ </xs:simpleType>
2520+ </xs:attribute>
2521+ <xs:attribute name="Key" type="xs:string">
2522+ <xs:annotation>
2523+ <xs:documentation>
2524+ The localizable key for the registry value.
2525+ </xs:documentation>
2526+ </xs:annotation>
2527+ </xs:attribute>
2528+ <xs:attribute name="Root" type="RegistryRootType">
2529+ <xs:annotation>
2530+ <xs:documentation>
2531+ The predefined root key for the registry value.
2532+ </xs:documentation>
2533+ </xs:annotation>
2534+ </xs:attribute>
2535+ </xs:complexType>
2536+ </xs:element>
2537+
2538+ <xs:element name="RemoveRegistryValue">
2539+ <xs:annotation>
2540+ <xs:documentation>
2541+ Used to remove a registry value during installation.
2542+ There is no standard way to remove a single registry value during uninstall (but you can remove an entire key with RemoveRegistryKey).
2543+ </xs:documentation>
2544+ <xs:appinfo>
2545+ <!--<xse:msiRef table="RemoveRegistry" href="http://msdn.microsoft.com/library/aa371208.aspx"/>-->
2546+ </xs:appinfo>
2547+ </xs:annotation>
2548+ <xs:complexType>
2549+ <xs:attribute name="Id" type="xs:string">
2550+ <xs:annotation>
2551+ <xs:documentation>
2552+ Primary key used to identify this particular entry. If this attribute is not specified, an identifier will be
2553+ generated by hashing the parent Component identifier, Root, Key, and Name.
2554+ </xs:documentation>
2555+ </xs:annotation>
2556+ </xs:attribute>
2557+ <xs:attribute name="Key" type="xs:string">
2558+ <xs:annotation>
2559+ <xs:documentation>
2560+ The localizable key for the registry value.
2561+ If the parent element is a RegistryKey, this value may be omitted to use the
2562+ path of the parent, or if its specified it will be appended to the path of the parent.
2563+ </xs:documentation>
2564+ </xs:annotation>
2565+ </xs:attribute>
2566+ <xs:attribute name="Name" type="xs:string">
2567+ <xs:annotation>
2568+ <xs:documentation>
2569+ The localizable registry value name. If this attribute is not provided the default value for the registry key will
2570+ be set instead. The Windows Installer allows several special values to be set for this attribute. You should not
2571+ use them in WiX. Instead use appropriate values in the Action attribute to get the desired behavior.
2572+ </xs:documentation>
2573+ </xs:annotation>
2574+ </xs:attribute>
2575+ <xs:attribute name="Root" type="RegistryRootType">
2576+ <xs:annotation>
2577+ <xs:documentation>
2578+ The predefined root key for the registry value.
2579+ </xs:documentation>
2580+ </xs:annotation>
2581+ </xs:attribute>
2582+ </xs:complexType>
2583+ </xs:element>
2584+
2585+
2586+ <xs:simpleType name="RegistryRootType">
2587+ <xs:annotation>
2588+ <xs:documentation>Values of this type represent possible registry roots.</xs:documentation>
2589+ </xs:annotation>
2590+ <xs:restriction base="xs:NMTOKEN">
2591+ <xs:enumeration value="HKMU">
2592+ <xs:annotation>
2593+ <xs:documentation>
2594+ A per-user installation will make the operation occur under HKEY_CURRENT_USER.
2595+ A per-machine installation will make the operation occur under HKEY_LOCAL_MACHINE.
2596+ </xs:documentation>
2597+ </xs:annotation>
2598+ </xs:enumeration>
2599+ <xs:enumeration value="HKCR">
2600+ <xs:annotation>
2601+ <xs:documentation>
2602+ Operation occurs under HKEY_CLASSES_ROOT. When using Windows 2000 or later, the installer writes or removes the value
2603+ from the HKCU\Software\Classes hive during per-user installations. When using Windows 2000 or later operating systems,
2604+ the installer writes or removes the value from the HKLM\Software\Classes hive during per-machine installations.
2605+ </xs:documentation>
2606+ </xs:annotation>
2607+ </xs:enumeration>
2608+ <xs:enumeration value="HKCU">
2609+ <xs:annotation>
2610+ <xs:documentation>
2611+ Operation occurs under HKEY_CURRENT_USER. It is recommended to set the KeyPath='yes' attribute when setting this value for writing values
2612+ in order to ensure that the installer writes the necessary registry entries when there are multiple users on the same computer.
2613+ </xs:documentation>
2614+ </xs:annotation>
2615+ </xs:enumeration>
2616+ <xs:enumeration value="HKLM">
2617+ <xs:annotation>
2618+ <xs:documentation>
2619+ Operation occurs under HKEY_LOCAL_MACHINE.
2620+ </xs:documentation>
2621+ </xs:annotation>
2622+ </xs:enumeration>
2623+ <xs:enumeration value="HKU">
2624+ <xs:annotation>
2625+ <xs:documentation>
2626+ Operation occurs under HKEY_USERS.
2627+ </xs:documentation>
2628+ </xs:annotation>
2629+ </xs:enumeration>
2630+ </xs:restriction>
2631+ </xs:simpleType>
2632+
2633+ <xs:simpleType name="YesNoType">
2634+ <xs:annotation>
2635+ <xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
2636+ </xs:annotation>
2637+ <xs:restriction base='xs:NMTOKEN'>
2638+ <xs:enumeration value="no"/>
2639+ <xs:enumeration value="yes"/>
2640+ </xs:restriction>
2641+ </xs:simpleType>
2642+
2643+ <xs:element name="Permission">
2644+ <xs:annotation>
2645+ <xs:documentation>
2646+ Sets ACLs on File, Registry, or CreateFolder. When under a Registry element, this cannot be used
2647+ if the Action attribute's value is remove or removeKeyOnInstall. This element has no Id attribute.
2648+ The table and key are taken from the parent element.
2649+ </xs:documentation>
2650+ <xs:appinfo>
2651+ <!--<xse:msiRef table="LockPermissions" href="http://msdn.microsoft.com/library/aa369774.aspx"/>-->
2652+ </xs:appinfo>
2653+ </xs:annotation>
2654+ <xs:complexType>
2655+ <xs:attribute name="Domain" type="xs:string">
2656+ </xs:attribute>
2657+ <xs:attribute name="User" use="required" type="xs:string">
2658+ </xs:attribute>
2659+ <!-- Common ACLs -->
2660+ <xs:attribute name="Read" type="YesNoType">
2661+ </xs:attribute>
2662+ <xs:attribute name="Delete" type="YesNoType">
2663+ </xs:attribute>
2664+ <xs:attribute name="ReadPermission" type="YesNoType">
2665+ </xs:attribute>
2666+ <xs:attribute name="ChangePermission" type="YesNoType">
2667+ </xs:attribute>
2668+ <xs:attribute name="TakeOwnership" type="YesNoType">
2669+ </xs:attribute>
2670+ <!-- Folder and File ACLs -->
2671+ <xs:attribute name="ReadAttributes" type="YesNoType">
2672+ </xs:attribute>
2673+ <xs:attribute name="WriteAttributes" type="YesNoType">
2674+ </xs:attribute>
2675+ <xs:attribute name="ReadExtendedAttributes" type="YesNoType">
2676+ </xs:attribute>
2677+ <xs:attribute name="WriteExtendedAttributes" type="YesNoType">
2678+ </xs:attribute>
2679+ <xs:attribute name="Synchronize" type="YesNoType">
2680+ </xs:attribute>
2681+ <!-- Folder only ACLs -->
2682+ <xs:attribute name="CreateFile" type="YesNoType">
2683+ <xs:annotation>
2684+ <xs:documentation>For a directory, the right to create a file in the directory. Only valid under a 'CreateFolder' parent.</xs:documentation>
2685+ </xs:annotation>
2686+ </xs:attribute>
2687+ <xs:attribute name="CreateChild" type="YesNoType">
2688+ <xs:annotation>
2689+ <xs:documentation>For a directory, the right to create a subdirectory. Only valid under a 'CreateFolder' parent.</xs:documentation>
2690+ </xs:annotation>
2691+ </xs:attribute>
2692+ <xs:attribute name="DeleteChild" type="YesNoType">
2693+ <xs:annotation>
2694+ <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>
2695+ </xs:annotation>
2696+ </xs:attribute>
2697+ <xs:attribute name="Traverse" type="YesNoType">
2698+ <xs:annotation>
2699+ <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>
2700+ </xs:annotation>
2701+ </xs:attribute>
2702+ <!-- File only ACLs -->
2703+ <xs:attribute name="Append" type="YesNoType">
2704+ </xs:attribute>
2705+ <xs:attribute name="Execute" type="YesNoType">
2706+ </xs:attribute>
2707+ <!-- File and Registry ACLs -->
2708+ <xs:attribute name="Write" type="YesNoType">
2709+ </xs:attribute>
2710+ <!-- Registry only ACLs -->
2711+ <xs:attribute name="CreateSubkeys" type="YesNoType">
2712+ </xs:attribute>
2713+ <xs:attribute name="EnumerateSubkeys" type="YesNoType">
2714+ </xs:attribute>
2715+ <xs:attribute name="Notify" type="YesNoType">
2716+ </xs:attribute>
2717+ <xs:attribute name="CreateLink" type="YesNoType">
2718+ </xs:attribute>
2719+ <!-- Generic ACLs, mapped by system to appropriate permissions -->
2720+ <xs:attribute name="GenericAll" type="YesNoType">
2721+ </xs:attribute>
2722+ <xs:attribute name="GenericExecute" type="YesNoType">
2723+ </xs:attribute>
2724+ <xs:attribute name="GenericWrite" type="YesNoType">
2725+ </xs:attribute>
2726+ <xs:attribute name="GenericRead" type="YesNoType">
2727+ <xs:annotation>
2728+ <xs:documentation>specifying this will fail to grant read access</xs:documentation>
2729+ </xs:annotation>
2730+ </xs:attribute>
2731+ </xs:complexType>
2732+ </xs:element>
2733+
2734+ <xs:element name="PermissionEx">
2735+ <xs:annotation>
2736+ <xs:documentation>
2737+ Sets ACLs on File, Registry, or CreateFolder. When under a Registry element, this cannot be used
2738+ if the Action attribute's value is remove or removeKeyOnInstall. This element is only available
2739+ when installing with MSI 5.0. For downlevel support, see the PermissionEx element from the
2740+ WixUtilExtension.
2741+ </xs:documentation>
2742+ <xs:appinfo>
2743+ <!--<xse:msiRef table="MsiLockPermissionsEx" href="http://msdn.microsoft.com/library/aa369774.aspx"/>-->
2744+ </xs:appinfo>
2745+ </xs:annotation>
2746+ <xs:complexType>
2747+ <xs:sequence>
2748+ <xs:element ref="Condition" minOccurs="0">
2749+ <xs:annotation>
2750+ <xs:documentation>
2751+ Optional condition that controls whether the permissions are applied.
2752+ </xs:documentation>
2753+ </xs:annotation>
2754+ </xs:element>
2755+ </xs:sequence>
2756+
2757+ <xs:attribute name="Id" type="xs:string">
2758+ <xs:annotation>
2759+ <xs:documentation>
2760+ Primary key used to identify this particular entry. If this is not specified the parent element's Id attribute
2761+ will be used instead.
2762+ </xs:documentation>
2763+ </xs:annotation>
2764+ </xs:attribute>
2765+ <xs:attribute name="Sddl" type="xs:string" use="required">
2766+ <xs:annotation>
2767+ <xs:documentation>
2768+ Security descriptor to apply to parent object.
2769+ </xs:documentation>
2770+ </xs:annotation>
2771+ </xs:attribute>
2772+ </xs:complexType>
2773+ </xs:element>
2774+
2775+ <xs:element name="MultiStringValue">
2776+ <xs:annotation>
2777+ <xs:documentation>
2778+ Use several of these elements to specify each registry value in a multiString registry value. This element
2779+ cannot be used if the Value attribute is specified unless the Type attribute is set to 'multiString'. The
2780+ values should go in the text area of the MultiStringValue element.
2781+ </xs:documentation>
2782+ <xs:appinfo>
2783+ <!--<xse:msiRef table="Registry" href="http://msdn.microsoft.com/library/aa371168.aspx"/>-->
2784+ </xs:appinfo>
2785+ </xs:annotation>
2786+ </xs:element>
2787+
2788+ <xs:element name="Condition">
2789+ <xs:annotation>
2790+ <xs:documentation>
2791+ Conditions for components, controls, features, and products. The condition is specified in the inner text of the element.
2792+ </xs:documentation>
2793+ <xs:appinfo>
2794+ <!--
2795+ <xse:msiRef table="Component" href="http://msdn.microsoft.com/library/aa368007.aspx"/>
2796+ <xse:msiRef table="ControlCondition" href="http://msdn.microsoft.com/library/aa368035.aspx"/>
2797+ <xse:msiRef table="Condition" href="http://msdn.microsoft.com/library/aa368014.aspx"/>
2798+ <xse:msiRef table="LaunchCondition" href="http://msdn.microsoft.com/library/aa369752.aspx"/>
2799+ <xse:howtoRef href="block_install_on_os.htm">How To: Block installation based on OS version</xse:howtoRef>
2800+ <xse:howtoRef href="check_the_version_number.htm">How To: Check the version number of a file during installation</xse:howtoRef>-->
2801+ </xs:appinfo>
2802+ </xs:annotation>
2803+ <xs:complexType>
2804+ <xs:simpleContent>
2805+ <xs:extension base="xs:string">
2806+ <xs:annotation>
2807+ <xs:documentation>
2808+ Under a Component element, the condition becomes the condition of the component. Under a Control element,
2809+ the condition becomes a ControlCondition entry. Under a Feature element, the condition becomes a Condition
2810+ entry. Under a Fragment or Product element, the condition becomes a LaunchCondition entry.
2811+ </xs:documentation>
2812+ </xs:annotation>
2813+ <xs:attribute name="Action">
2814+ <xs:annotation>
2815+ <xs:documentation>
2816+ Used only under Control elements and is required. Allows specific actions to be applied to a control based
2817+ on the result of this condition.
2818+ </xs:documentation>
2819+ </xs:annotation>
2820+ <xs:simpleType>
2821+ <xs:restriction base="xs:NMTOKEN">
2822+ <xs:enumeration value="default">
2823+ <xs:annotation>
2824+ <xs:documentation>
2825+ Set the Control as the default. Only used under Control elements.
2826+ </xs:documentation>
2827+ </xs:annotation>
2828+ </xs:enumeration>
2829+ <xs:enumeration value="enable">
2830+ <xs:annotation>
2831+ <xs:documentation>
2832+ Enable the Control. Only used under Control elements.
2833+ </xs:documentation>
2834+ </xs:annotation>
2835+ </xs:enumeration>
2836+ <xs:enumeration value="disable">
2837+ <xs:annotation>
2838+ <xs:documentation>
2839+ Disable the Control. Only used under Control elements.
2840+ </xs:documentation>
2841+ </xs:annotation>
2842+ </xs:enumeration>
2843+ <xs:enumeration value="hide">
2844+ <xs:annotation>
2845+ <xs:documentation>
2846+ Hide the Control. Only used under Control elements.
2847+ </xs:documentation>
2848+ </xs:annotation>
2849+ </xs:enumeration>
2850+ <xs:enumeration value="show">
2851+ <xs:annotation>
2852+ <xs:documentation>
2853+ Display the Control. Only used under Control elements.
2854+ </xs:documentation>
2855+ </xs:annotation>
2856+ </xs:enumeration>
2857+ </xs:restriction>
2858+ </xs:simpleType>
2859+ </xs:attribute>
2860+ <xs:attribute name="Level" type="xs:integer">
2861+ <xs:annotation>
2862+ <xs:documentation>
2863+ Used only under Feature elements and is required. Allows modifying the level of a Feature based on the
2864+ result of this condition.
2865+ </xs:documentation>
2866+ </xs:annotation>
2867+ </xs:attribute>
2868+ <xs:attribute name="Message" type="xs:string">
2869+ <xs:annotation>
2870+ <xs:documentation>
2871+ Used only under Fragment or Product elements and is required. Set the value to the text to display when the
2872+ condition fails and the installation must be terminated.
2873+ </xs:documentation>
2874+ </xs:annotation>
2875+ </xs:attribute>
2876+ </xs:extension>
2877+ </xs:simpleContent>
2878+ </xs:complexType>
2879+ </xs:element>
2880+
2881+</xs:schema>
2882
2883=== added file 'Properties/Resources.Designer.cs'
2884--- Properties/Resources.Designer.cs 1970-01-01 00:00:00 +0000
2885+++ Properties/Resources.Designer.cs 2011-01-21 19:08:57 +0000
2886@@ -0,0 +1,89 @@
2887+//------------------------------------------------------------------------------
2888+// <auto-generated>
2889+// This code was generated by a tool.
2890+// Runtime Version:4.0.30319.1
2891+//
2892+// Changes to this file may cause incorrect behavior and will be lost if
2893+// the code is regenerated.
2894+// </auto-generated>
2895+//------------------------------------------------------------------------------
2896+
2897+namespace CoApp.Toolkit.Properties {
2898+ using System;
2899+
2900+
2901+ /// <summary>
2902+ /// A strongly-typed resource class, for looking up localized strings, etc.
2903+ /// </summary>
2904+ // This class was auto-generated by the StronglyTypedResourceBuilder
2905+ // class via a tool like ResGen or Visual Studio.
2906+ // To add or remove a member, edit your .ResX file then rerun ResGen
2907+ // with the /str option, or rebuild your VS project.
2908+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
2909+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2910+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2911+ public class Resources {
2912+
2913+ private static global::System.Resources.ResourceManager resourceMan;
2914+
2915+ private static global::System.Globalization.CultureInfo resourceCulture;
2916+
2917+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
2918+ internal Resources() {
2919+ }
2920+
2921+ /// <summary>
2922+ /// Returns the cached ResourceManager instance used by this class.
2923+ /// </summary>
2924+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
2925+ public static global::System.Resources.ResourceManager ResourceManager {
2926+ get {
2927+ if (object.ReferenceEquals(resourceMan, null)) {
2928+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CoApp.Toolkit.Properties.Resources", typeof(Resources).Assembly);
2929+ resourceMan = temp;
2930+ }
2931+ return resourceMan;
2932+ }
2933+ }
2934+
2935+ /// <summary>
2936+ /// Overrides the current thread's CurrentUICulture property for all
2937+ /// resource lookups using this strongly typed resource class.
2938+ /// </summary>
2939+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
2940+ public static global::System.Globalization.CultureInfo Culture {
2941+ get {
2942+ return resourceCulture;
2943+ }
2944+ set {
2945+ resourceCulture = value;
2946+ }
2947+ }
2948+
2949+ /// <summary>
2950+ /// Looks up a localized string similar to &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
2951+ ///&lt;!--
2952+ ///&lt;![CDATA[
2953+ /////
2954+ ///// &lt;copyright company=&quot;CoApp Project&quot;&gt;
2955+ ///// Copyright (c) 2010-2011 Eric Schultz. All rights reserved.
2956+ /////
2957+ ///// Certain types included from WiX project,
2958+ ///// Copyright (c) 2010 Windows Installer Xml
2959+ ///// &lt;/copyright&gt;
2960+ /////
2961+ ///]]&gt;
2962+ ///--&gt;
2963+ ///&lt;xs:schema id=&quot;InputSchema&quot;
2964+ /// targetNamespace=&quot;http://coapp.org/ns/mkPackage.xsd&quot;
2965+ /// elementFormDefault=&quot;qualified&quot;
2966+ /// xmlns=&quot;http://coapp.org/ns/mkPackage.xsd&quot;
2967+ /// xmlns:mstns=&quot;http://coapp.org/ns/ [rest of string was truncated]&quot;;.
2968+ /// </summary>
2969+ public static string mkPackage {
2970+ get {
2971+ return ResourceManager.GetString("mkPackage", resourceCulture);
2972+ }
2973+ }
2974+ }
2975+}
2976
2977=== added file 'Properties/Resources.resx'
2978--- Properties/Resources.resx 1970-01-01 00:00:00 +0000
2979+++ Properties/Resources.resx 2011-01-21 19:08:57 +0000
2980@@ -0,0 +1,124 @@
2981+<?xml version="1.0" encoding="utf-8"?>
2982+<root>
2983+ <!--
2984+ Microsoft ResX Schema
2985+
2986+ Version 2.0
2987+
2988+ The primary goals of this format is to allow a simple XML format
2989+ that is mostly human readable. The generation and parsing of the
2990+ various data types are done through the TypeConverter classes
2991+ associated with the data types.
2992+
2993+ Example:
2994+
2995+ ... ado.net/XML headers & schema ...
2996+ <resheader name="resmimetype">text/microsoft-resx</resheader>
2997+ <resheader name="version">2.0</resheader>
2998+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
2999+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
3000+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
3001+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
3002+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
3003+ <value>[base64 mime encoded serialized .NET Framework object]</value>
3004+ </data>
3005+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
3006+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
3007+ <comment>This is a comment</comment>
3008+ </data>
3009+
3010+ There are any number of "resheader" rows that contain simple
3011+ name/value pairs.
3012+
3013+ Each data row contains a name, and value. The row also contains a
3014+ type or mimetype. Type corresponds to a .NET class that support
3015+ text/value conversion through the TypeConverter architecture.
3016+ Classes that don't support this are serialized and stored with the
3017+ mimetype set.
3018+
3019+ The mimetype is used for serialized objects, and tells the
3020+ ResXResourceReader how to depersist the object. This is currently not
3021+ extensible. For a given mimetype the value must be set accordingly:
3022+
3023+ Note - application/x-microsoft.net.object.binary.base64 is the format
3024+ that the ResXResourceWriter will generate, however the reader can
3025+ read any of the formats listed below.
3026+
3027+ mimetype: application/x-microsoft.net.object.binary.base64
3028+ value : The object must be serialized with
3029+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
3030+ : and then encoded with base64 encoding.
3031+
3032+ mimetype: application/x-microsoft.net.object.soap.base64
3033+ value : The object must be serialized with
3034+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
3035+ : and then encoded with base64 encoding.
3036+
3037+ mimetype: application/x-microsoft.net.object.bytearray.base64
3038+ value : The object must be serialized into a byte array
3039+ : using a System.ComponentModel.TypeConverter
3040+ : and then encoded with base64 encoding.
3041+ -->
3042+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
3043+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
3044+ <xsd:element name="root" msdata:IsDataSet="true">
3045+ <xsd:complexType>
3046+ <xsd:choice maxOccurs="unbounded">
3047+ <xsd:element name="metadata">
3048+ <xsd:complexType>
3049+ <xsd:sequence>
3050+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
3051+ </xsd:sequence>
3052+ <xsd:attribute name="name" use="required" type="xsd:string" />
3053+ <xsd:attribute name="type" type="xsd:string" />
3054+ <xsd:attribute name="mimetype" type="xsd:string" />
3055+ <xsd:attribute ref="xml:space" />
3056+ </xsd:complexType>
3057+ </xsd:element>
3058+ <xsd:element name="assembly">
3059+ <xsd:complexType>
3060+ <xsd:attribute name="alias" type="xsd:string" />
3061+ <xsd:attribute name="name" type="xsd:string" />
3062+ </xsd:complexType>
3063+ </xsd:element>
3064+ <xsd:element name="data">
3065+ <xsd:complexType>
3066+ <xsd:sequence>
3067+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
3068+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
3069+ </xsd:sequence>
3070+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
3071+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
3072+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
3073+ <xsd:attribute ref="xml:space" />
3074+ </xsd:complexType>
3075+ </xsd:element>
3076+ <xsd:element name="resheader">
3077+ <xsd:complexType>
3078+ <xsd:sequence>
3079+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
3080+ </xsd:sequence>
3081+ <xsd:attribute name="name" type="xsd:string" use="required" />
3082+ </xsd:complexType>
3083+ </xsd:element>
3084+ </xsd:choice>
3085+ </xsd:complexType>
3086+ </xsd:element>
3087+ </xsd:schema>
3088+ <resheader name="resmimetype">
3089+ <value>text/microsoft-resx</value>
3090+ </resheader>
3091+ <resheader name="version">
3092+ <value>2.0</value>
3093+ </resheader>
3094+ <resheader name="reader">
3095+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
3096+ </resheader>
3097+ <resheader name="writer">
3098+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
3099+ </resheader>
3100+ <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
3101+ <data name="mkPackage" type="System.Resources.ResXFileRef, System.Windows.Forms">
3102+ <value>..\package\mkpackage.xsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
3103+ </data>
3104+</root>
3105\ No newline at end of file

Subscribers

People subscribed via source and target branches

to all changes: