List:Commits« Previous MessageNext Message »
From:Iggy Galarza Date:May 23 2011 3:39pm
Subject:bzr commit into wex-installer-1.0 branch (iggy:480)
View as plain text  
#At file:///C:/src/bzr.mysql/wex/installer/ based on revid:mike.lischke@stripped

  480 Iggy Galarza	2011-05-23
      Package - Added 'Requirement' element(s) to the Package object to describe the external pre-requisites for the individual package.

    modified:
      WexInstaller.Core/Package.cs
      common/products.xml
=== modified file 'WexInstaller.Core/Package.cs'
--- a/WexInstaller.Core/Package.cs	2011-05-09 10:01:59 +0000
+++ b/WexInstaller.Core/Package.cs	2011-05-23 15:39:37 +0000
@@ -12,6 +12,21 @@ using Ionic.Zip;
 
 namespace WexInstaller.Core
 {
+  public class PacakgeRequirement
+  {
+    [XmlAttribute("filename")]
+    public string FileName { get; set; }
+
+    [XmlAttribute("description")]
+    public string Description { get; set; }
+
+    [XmlAttribute("location")]
+    public string Location { get; set; }
+
+    [XmlAttribute("size")]
+    public long Size { get; set; }
+  }
+
   public class Package
   {
     private string packageCode;
@@ -39,6 +54,9 @@ namespace WexInstaller.Core
     [XmlElement("Feature")]
     public List<ProductFeature> Features { get; set; }
 
+    [XmlElement("Requirement")]
+    public List<PacakgeRequirement> Requirements { get; set; }
+
     [XmlIgnore]
     public string UrlBase { get; set; }
 

=== modified file 'common/products.xml'
--- a/common/products.xml	2011-05-21 17:03:13 +0000
+++ b/common/products.xml	2011-05-23 15:39:37 +0000
@@ -163,6 +163,7 @@
           <Package type="MSI" arch="X86" filename="mysql-workbench-gpl-5.2.33b-win32.msi" id="{52937564-8312-4B49-BB13-F7EDBB67EB34}" thisVersion="5.2.33">
             <Feature name="MysqlWorkbenchCore" title="MySQL Workbench Core" description="Core components needed to run MySQL Workbench" default="false" size="64498885" display="2" hasComponents="true" />
             <Feature name="WorkbenchProgramShortcut" title="Program Shortcut" description="Place a Shortcut to MySQL Workbench in your Startmenus MySQL Folder" default="false" size="0" display="4" hasComponents="true" />
+            <Requirement filename="dotNetFx40_Client_x86_x64.exe" description="Microsoft .NET Framework 4 Client Profile" location="http://download.microsoft.com/download/5/6/2/562A10F9-C9F4-4313-A044-9C94E0A8FAC8/dotNetFx40_Client_x86_x64.exe" size="43000680" />
           </Package>
         </Packages>
       </Product>


Attachment: [text/bzr-bundle] bzr/iggy@mysql.com-20110523153937-h1437l9kpqdydwh1.bundle
Thread
bzr commit into wex-installer-1.0 branch (iggy:480) Iggy Galarza23 May