#At file:///C:/Users/Reggie/work/wex/installer-updated/ based on revid:reggie.burnett@strippedwyxyrzlpjwvpbc
318 Reggie Burnett 2011-02-08
moved most core code out to WexInstaller.Core assembly
removed:
WexInstaller/Panels/
WexInstaller/Panels/ServerConfigPanel1.Designer.cs
WexInstaller/Panels/ServerConfigPanel1.cs
WexInstaller/Panels/ServerConfigPanel1.resx
WexInstaller/Panels/ServerConfigPanel2.Designer.cs
WexInstaller/Panels/ServerConfigPanel2.cs
WexInstaller/Panels/ServerConfigPanel2.resx
WexInstaller/Panels/ServerConfigPanel3.Designer.cs
WexInstaller/Panels/ServerConfigPanel3.cs
WexInstaller/Panels/ServerConfigPanel3.resx
WexInstaller/Panels/ServerConfigPanel4.Designer.cs
WexInstaller/Panels/ServerConfigPanel4.cs
WexInstaller/Panels/ServerConfigPanel4.resx
WexInstaller/Panels/ServerConfigPanel5.Designer.cs
WexInstaller/Panels/ServerConfigPanel5.cs
WexInstaller/Panels/ServerConfigPanel5.resx
added:
WexInstaller.Core/
WexInstaller.Core/Properties/
WexInstaller.Core/Properties/AssemblyInfo.cs
WexInstaller.Core/Properties/Resources.Designer.cs
WexInstaller.Core/Properties/Resources.resx
WexInstaller.Core/Resources/
WexInstaller.Core/Resources/linkpanel_divider.png
WexInstaller.Core/WexInstaller.Core.csproj
renamed:
WexInstaller/Core/Installer.cs => WexInstaller.Core/Installer.cs
WexInstaller/Core/Logger.cs => WexInstaller.Core/Logger.cs
WexInstaller/Core/LoggerListener.cs => WexInstaller.Core/LoggerListener.cs
WexInstaller/Core/MirrorsXML.cs => WexInstaller.Core/MirrorsXML.cs
WexInstaller/Core/MsiInterop.cs => WexInstaller.Core/MsiInterop.cs
WexInstaller/Core/Package.cs => WexInstaller.Core/Package.cs
WexInstaller/Core/PluginManager.cs => WexInstaller.Core/PluginManager.cs
WexInstaller/Core/Product.cs => WexInstaller.Core/Product.cs
WexInstaller/Core/ProductCatalog.cs => WexInstaller.Core/ProductCatalog.cs
WexInstaller/Core/ProductCategory.cs => WexInstaller.Core/ProductCategory.cs
WexInstaller/Core/ProductConfigurationController.cs => WexInstaller.Core/ProductConfigurationController.cs
WexInstaller/Core/ProductFeature.cs => WexInstaller.Core/ProductFeature.cs
WexInstaller/InstallerConfiguration.cs => WexInstaller.Core/InstallerConfiguration.cs
WexInstaller/Panels/InstallerPanel.Designer.cs => WexInstaller.Core/InstallerPanel.Designer.cs
WexInstaller/Panels/InstallerPanel.cs => WexInstaller.Core/InstallerPanel.cs
WexInstaller/Panels/InstallerPanel.resx => WexInstaller.Core/InstallerPanel.resx
WexInstaller/Resources/AddOnsCategoryIcon.png => WexInstaller.Core/Resources/AddOnsCategoryIcon.png
WexInstaller/Resources/ConnectorCategoryIcon.png => WexInstaller.Core/Resources/ConnectorCategoryIcon.png
WexInstaller/Resources/DocsCategoryIcon.png => WexInstaller.Core/Resources/DocsCategoryIcon.png
WexInstaller/Resources/ServerCategoryIcon.png => WexInstaller.Core/Resources/ServerCategoryIcon.png
WexInstaller/Resources/TutorialsCategoryIcon.png => WexInstaller.Core/Resources/TutorialsCategoryIcon.png
modified:
StandardPlugins/Server/ConfigurationController.cs
StandardPlugins/StandardPlugins.csproj
WexInstaller/Properties/Resources.Designer.cs
WexInstaller/Properties/Resources.resx
WexInstaller/WexInstaller.csproj
installer-vs2010.sln
WexInstaller.Core/Logger.cs
WexInstaller.Core/MirrorsXML.cs
WexInstaller.Core/ProductCatalog.cs
WexInstaller.Core/ProductFeature.cs
WexInstaller.Core/InstallerPanel.Designer.cs
=== modified file 'StandardPlugins/Server/ConfigurationController.cs'
=== modified file 'StandardPlugins/Server/ConfigurationController.cs'
--- a/StandardPlugins/Server/ConfigurationController.cs 2011-02-08 18:41:30 +0000
+++ b/StandardPlugins/Server/ConfigurationController.cs 2011-02-08 21:28:42 +0000
@@ -14,7 +14,7 @@
namespace WexInstaller.Plugins
{
[ProductConfiguration("mysql-server", 1)]
- public class ServerConfigurationController : ProductConfigurationController
+ public class ServerConfigurationController : ServerProductConfigurationController
{
private BackgroundWorker bgw;
private UserControl[] pages;
@@ -460,6 +460,19 @@
bgw.ReportProgress(percent, e);
}
+
+ /// ========================================================================
+ /// ServerProductConfigurationController implementation
+ /// ========================================================================
+ public override bool IsRunning
+ {
+ get { throw new NotImplementedException(); }
+ }
+
+ public override string GetConnectionString(bool promptIfNecessary)
+ {
+ throw new NotImplementedException();
+ }
}
public enum ServerInstallType
=== modified file 'StandardPlugins/StandardPlugins.csproj'
--- a/StandardPlugins/StandardPlugins.csproj 2011-02-08 18:41:30 +0000
+++ b/StandardPlugins/StandardPlugins.csproj 2011-02-08 21:28:42 +0000
@@ -53,7 +53,9 @@
</Compile>
<Compile Include="Server\ConfigurationController.cs" />
<Compile Include="Server\IniTemplate.cs" />
- <Compile Include="Server\MysqlSCM.cs" />
+ <Compile Include="Server\MysqlSCM.cs">
+ <SubType>Component</SubType>
+ </Compile>
<Compile Include="Server\ServerConfigPanel1.cs" />
<Compile Include="Server\ServerConfigPanel1.Designer.cs">
<DependentUpon>ServerConfigPanel1.cs</DependentUpon>
@@ -62,15 +64,9 @@
<Compile Include="Server\ServerConfigPanel2.Designer.cs">
<DependentUpon>ServerConfigPanel2.cs</DependentUpon>
</Compile>
- <Compile Include="Server\ServerConfigPanel3.cs" />
- <Compile Include="Server\ServerConfigPanel3.Designer.cs">
- <DependentUpon>ServerConfigPanel3.cs</DependentUpon>
- </Compile>
- <Compile Include="Server\ServerConfigPanel4.cs" />
- <Compile Include="Server\ServerConfigPanel4.Designer.cs">
- <DependentUpon>ServerConfigPanel4.cs</DependentUpon>
- </Compile>
- <Compile Include="Server\ServerConfigPanel5.cs" />
+ <Compile Include="Server\ServerConfigPanel5.cs">
+ <SubType>Code</SubType>
+ </Compile>
<Compile Include="Server\ServerConfigPanel5.Designer.cs">
<DependentUpon>ServerConfigPanel5.cs</DependentUpon>
</Compile>
@@ -86,23 +82,11 @@
<EmbeddedResource Include="Server\ServerConfigPanel2.resx">
<DependentUpon>ServerConfigPanel2.cs</DependentUpon>
</EmbeddedResource>
- <EmbeddedResource Include="Server\ServerConfigPanel3.resx">
- <DependentUpon>ServerConfigPanel3.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="Server\ServerConfigPanel4.resx">
- <DependentUpon>ServerConfigPanel4.cs</DependentUpon>
- </EmbeddedResource>
<EmbeddedResource Include="Server\ServerConfigPanel5.resx">
<DependentUpon>ServerConfigPanel5.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\WexInstaller\WexInstaller.csproj">
- <Project>{07B31F5A-9F17-4ACF-B3B6-2AF9000B1414}</Project>
- <Name>WexInstaller</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
<None Include="Resources\server-confirm.JPG" />
</ItemGroup>
<ItemGroup>
@@ -144,7 +128,12 @@
<ItemGroup>
<None Include="Resources\warning_sign.png" />
</ItemGroup>
- <ItemGroup />
+ <ItemGroup>
+ <ProjectReference Include="..\WexInstaller.Core\WexInstaller.Core.csproj">
+ <Project>{64664A39-D6C5-4842-A879-BDD915DDDCCF}</Project>
+ <Name>WexInstaller.Core</Name>
+ </ProjectReference>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy $(TargetPath) $(SolutionDir)\WexInstaller\bin\$(ConfigurationName)\$(TargetFileName)
=== added directory 'WexInstaller.Core'
=== renamed file 'WexInstaller/Core/Installer.cs' => 'WexInstaller.Core/Installer.cs'
=== renamed file 'WexInstaller/InstallerConfiguration.cs' => 'WexInstaller.Core/InstallerConfiguration.cs'
=== renamed file 'WexInstaller/Panels/InstallerPanel.Designer.cs' => 'WexInstaller.Core/InstallerPanel.Designer.cs'
--- a/WexInstaller/Panels/InstallerPanel.Designer.cs 2010-08-12 19:39:52 +0000
+++ b/WexInstaller.Core/InstallerPanel.Designer.cs 2011-02-08 21:28:42 +0000
@@ -1,4 +1,5 @@
-namespace WexInstaller
+using WexInstaller.Core.Properties;
+namespace WexInstaller
{
partial class InstallerPanel
{
@@ -41,7 +42,7 @@
//
// pictureBox1
//
- this.pictureBox1.Image = global::WexInstaller.Properties.Resources.linkpanel_divider;
+ this.pictureBox1.Image = Resources.linkpanel_divider;
resources.ApplyResources(this.pictureBox1, "pictureBox1");
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.TabStop = false;
=== renamed file 'WexInstaller/Panels/InstallerPanel.cs' => 'WexInstaller.Core/InstallerPanel.cs'
=== renamed file 'WexInstaller/Panels/InstallerPanel.resx' => 'WexInstaller.Core/InstallerPanel.resx'
=== renamed file 'WexInstaller/Core/Logger.cs' => 'WexInstaller.Core/Logger.cs'
--- a/WexInstaller/Core/Logger.cs 2010-09-24 15:32:17 +0000
+++ b/WexInstaller.Core/Logger.cs 2011-02-08 21:28:42 +0000
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using System.Linq;
using System.Text;
using System.Diagnostics;
=== renamed file 'WexInstaller/Core/LoggerListener.cs' => 'WexInstaller.Core/LoggerListener.cs'
=== renamed file 'WexInstaller/Core/MirrorsXML.cs' => 'WexInstaller.Core/MirrorsXML.cs'
--- a/WexInstaller/Core/MirrorsXML.cs 2010-11-30 14:52:06 +0000
+++ b/WexInstaller.Core/MirrorsXML.cs 2011-02-08 21:28:42 +0000
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using System.Linq;
using System.Text;
using System.Xml.Serialization;
=== renamed file 'WexInstaller/Core/MsiInterop.cs' => 'WexInstaller.Core/MsiInterop.cs'
=== renamed file 'WexInstaller/Core/Package.cs' => 'WexInstaller.Core/Package.cs'
=== renamed file 'WexInstaller/Core/PluginManager.cs' => 'WexInstaller.Core/PluginManager.cs'
=== renamed file 'WexInstaller/Core/Product.cs' => 'WexInstaller.Core/Product.cs'
=== renamed file 'WexInstaller/Core/ProductCatalog.cs' => 'WexInstaller.Core/ProductCatalog.cs'
--- a/WexInstaller/Core/ProductCatalog.cs 2011-01-17 17:05:19 +0000
+++ b/WexInstaller.Core/ProductCatalog.cs 2011-02-08 21:28:42 +0000
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Runtime.Serialization;
=== renamed file 'WexInstaller/Core/ProductCategory.cs' => 'WexInstaller.Core/ProductCategory.cs'
=== renamed file 'WexInstaller/Core/ProductConfigurationController.cs' => 'WexInstaller.Core/ProductConfigurationController.cs'
=== renamed file 'WexInstaller/Core/ProductFeature.cs' => 'WexInstaller.Core/ProductFeature.cs'
--- a/WexInstaller/Core/ProductFeature.cs 2010-11-12 19:56:12 +0000
+++ b/WexInstaller.Core/ProductFeature.cs 2011-02-08 21:28:42 +0000
@@ -4,8 +4,8 @@
using System.Collections.ObjectModel;
using System.Xml.Serialization;
using System.Drawing;
-using WexInstaller.Properties;
using System.Resources;
+using WexInstaller.Core.Properties;
namespace WexInstaller.Core
{
=== added directory 'WexInstaller.Core/Properties'
=== added file 'WexInstaller.Core/Properties/AssemblyInfo.cs'
--- a/WexInstaller.Core/Properties/AssemblyInfo.cs 1970-01-01 00:00:00 +0000
+++ b/WexInstaller.Core/Properties/AssemblyInfo.cs 2011-02-08 21:28:42 +0000
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("WexInstaller.Core")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("WexInstaller.Core")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("28989919-4172-4f43-aaf6-b4cfa67121f4")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
=== added file 'WexInstaller.Core/Properties/Resources.Designer.cs'
--- a/WexInstaller.Core/Properties/Resources.Designer.cs 1970-01-01 00:00:00 +0000
+++ b/WexInstaller.Core/Properties/Resources.Designer.cs 2011-02-08 21:28:42 +0000
@@ -0,0 +1,112 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.1
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace WexInstaller.Core.Properties {
+ using System;
+
+
+ /// <summary>
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// </summary>
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ /// <summary>
+ /// Returns the cached ResourceManager instance used by this class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WexInstaller.Core.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ /// <summary>
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ internal static System.Drawing.Bitmap AddIn_Icon {
+ get {
+ object obj = ResourceManager.GetObject("AddIn_Icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap Application_Icon {
+ get {
+ object obj = ResourceManager.GetObject("Application_Icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap Connector_Icon {
+ get {
+ object obj = ResourceManager.GetObject("Connector_Icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap Documentation_Icon {
+ get {
+ object obj = ResourceManager.GetObject("Documentation_Icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap linkpanel_divider {
+ get {
+ object obj = ResourceManager.GetObject("linkpanel_divider", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap Server_Icon {
+ get {
+ object obj = ResourceManager.GetObject("Server_Icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap Tutorials_Icon {
+ get {
+ object obj = ResourceManager.GetObject("Tutorials_Icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
=== added file 'WexInstaller.Core/Properties/Resources.resx'
--- a/WexInstaller.Core/Properties/Resources.resx 1970-01-01 00:00:00 +0000
+++ b/WexInstaller.Core/Properties/Resources.resx 2011-02-08 21:28:42 +0000
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="AddIn_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\AddOnsCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="Application_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\ServerCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="Connector_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\ConnectorCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="Documentation_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\DocsCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <data name="linkpanel_divider" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\linkpanel_divider.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="Server_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\ServerCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+ <data name="Tutorials_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\TutorialsCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+ </data>
+</root>
\ No newline at end of file
=== added directory 'WexInstaller.Core/Resources'
=== renamed file 'WexInstaller/Resources/AddOnsCategoryIcon.png' => 'WexInstaller.Core/Resources/AddOnsCategoryIcon.png'
=== renamed file 'WexInstaller/Resources/ConnectorCategoryIcon.png' => 'WexInstaller.Core/Resources/ConnectorCategoryIcon.png'
=== renamed file 'WexInstaller/Resources/DocsCategoryIcon.png' => 'WexInstaller.Core/Resources/DocsCategoryIcon.png'
=== renamed file 'WexInstaller/Resources/ServerCategoryIcon.png' => 'WexInstaller.Core/Resources/ServerCategoryIcon.png'
=== renamed file 'WexInstaller/Resources/TutorialsCategoryIcon.png' => 'WexInstaller.Core/Resources/TutorialsCategoryIcon.png'
=== added file 'WexInstaller.Core/Resources/linkpanel_divider.png'
Binary files a/WexInstaller.Core/Resources/linkpanel_divider.png 1970-01-01 00:00:00 +0000 and b/WexInstaller.Core/Resources/linkpanel_divider.png 2011-02-08 21:28:42 +0000 differ
=== added file 'WexInstaller.Core/WexInstaller.Core.csproj'
--- a/WexInstaller.Core/WexInstaller.Core.csproj 1970-01-01 00:00:00 +0000
+++ b/WexInstaller.Core/WexInstaller.Core.csproj 2011-02-08 21:28:42 +0000
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{64664A39-D6C5-4842-A879-BDD915DDDCCF}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>WexInstaller.Core</RootNamespace>
+ <AssemblyName>WexInstaller.Core</AssemblyName>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Windows.Forms" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Installer.cs" />
+ <Compile Include="InstallerConfiguration.cs" />
+ <Compile Include="InstallerPanel.cs">
+ <SubType>UserControl</SubType>
+ </Compile>
+ <Compile Include="InstallerPanel.designer.cs">
+ <DependentUpon>InstallerPanel.cs</DependentUpon>
+ </Compile>
+ <Compile Include="Logger.cs" />
+ <Compile Include="LoggerListener.cs" />
+ <Compile Include="MirrorsXML.cs" />
+ <Compile Include="MsiInterop.cs" />
+ <Compile Include="Package.cs" />
+ <Compile Include="PluginManager.cs" />
+ <Compile Include="Product.cs" />
+ <Compile Include="ProductCatalog.cs" />
+ <Compile Include="ProductCategory.cs" />
+ <Compile Include="ProductFeature.cs">
+ <SubType>Code</SubType>
+ </Compile>
+ <Compile Include="ServerProductConfigurationController.cs" />
+ <Compile Include="ProductConfigurationController.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Properties\Resources.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DesignTime>True</DesignTime>
+ <DependentUpon>Resources.resx</DependentUpon>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="InstallerPanel.resx">
+ <DependentUpon>InstallerPanel.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Properties\Resources.resx">
+ <Generator>ResXFileCodeGenerator</Generator>
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Resources\linkpanel_divider.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Resources\ServerCategoryIcon.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Resources\DocsCategoryIcon.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Resources\ServerCategoryIcon1.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Resources\ConnectorCategoryIcon.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Resources\AddOnsCategoryIcon.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Resources\TutorialsCategoryIcon.png" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
=== removed directory 'WexInstaller/Panels'
=== removed file 'WexInstaller/Panels/ServerConfigPanel1.Designer.cs'
--- a/WexInstaller/Panels/ServerConfigPanel1.Designer.cs 2010-09-24 15:32:17 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel1.Designer.cs 1970-01-01 00:00:00 +0000
@@ -1,206 +0,0 @@
-namespace WexInstaller.Panels
-{
- partial class ServerConfigStep1
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Component Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.actionLabel = new System.Windows.Forms.Label();
- this.devMachine = new System.Windows.Forms.RadioButton();
- this.serverMachine = new System.Windows.Forms.RadioButton();
- this.dedicatedMachine = new System.Windows.Forms.RadioButton();
- this.pictureBox2 = new System.Windows.Forms.PictureBox();
- this.pictureBox3 = new System.Windows.Forms.PictureBox();
- this.pictureBox4 = new System.Windows.Forms.PictureBox();
- this.label2 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
- this.SuspendLayout();
- //
- // actionLabel
- //
- this.actionLabel.Font = new System.Drawing.Font("Tahoma", 10F);
- this.actionLabel.Location = new System.Drawing.Point(12, 80);
- this.actionLabel.Name = "actionLabel";
- this.actionLabel.Size = new System.Drawing.Size(443, 23);
- this.actionLabel.TabIndex = 2;
- this.actionLabel.Text = "Please select the type of configuration for the MySQL Server instance.";
- //
- // devMachine
- //
- this.devMachine.AutoSize = true;
- this.devMachine.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.devMachine.Location = new System.Drawing.Point(15, 114);
- this.devMachine.Name = "devMachine";
- this.devMachine.Size = new System.Drawing.Size(133, 17);
- this.devMachine.TabIndex = 3;
- this.devMachine.TabStop = true;
- this.devMachine.Text = "&Developer Machine";
- this.devMachine.UseVisualStyleBackColor = true;
- this.devMachine.CheckedChanged += new System.EventHandler(this.machineType_CheckedChanged);
- //
- // serverMachine
- //
- this.serverMachine.AutoSize = true;
- this.serverMachine.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.serverMachine.Location = new System.Drawing.Point(15, 197);
- this.serverMachine.Name = "serverMachine";
- this.serverMachine.Size = new System.Drawing.Size(113, 17);
- this.serverMachine.TabIndex = 4;
- this.serverMachine.TabStop = true;
- this.serverMachine.Text = "&Server Machine";
- this.serverMachine.UseVisualStyleBackColor = true;
- this.serverMachine.CheckedChanged += new System.EventHandler(this.machineType_CheckedChanged);
- //
- // dedicatedMachine
- //
- this.dedicatedMachine.AutoSize = true;
- this.dedicatedMachine.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.dedicatedMachine.Location = new System.Drawing.Point(15, 287);
- this.dedicatedMachine.Name = "dedicatedMachine";
- this.dedicatedMachine.Size = new System.Drawing.Size(132, 17);
- this.dedicatedMachine.TabIndex = 5;
- this.dedicatedMachine.TabStop = true;
- this.dedicatedMachine.Text = "D&edicated Machine";
- this.dedicatedMachine.UseVisualStyleBackColor = true;
- this.dedicatedMachine.CheckedChanged += new System.EventHandler(this.machineType_CheckedChanged);
- //
- // pictureBox2
- //
- this.pictureBox2.Image = global::WexInstaller.Properties.Resources.dev_machine;
- this.pictureBox2.Location = new System.Drawing.Point(46, 140);
- this.pictureBox2.Name = "pictureBox2";
- this.pictureBox2.Size = new System.Drawing.Size(46, 44);
- this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox2.TabIndex = 6;
- this.pictureBox2.TabStop = false;
- //
- // pictureBox3
- //
- this.pictureBox3.Image = global::WexInstaller.Properties.Resources.server_machine;
- this.pictureBox3.Location = new System.Drawing.Point(46, 223);
- this.pictureBox3.Name = "pictureBox3";
- this.pictureBox3.Size = new System.Drawing.Size(41, 44);
- this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox3.TabIndex = 7;
- this.pictureBox3.TabStop = false;
- //
- // pictureBox4
- //
- this.pictureBox4.Image = global::WexInstaller.Properties.Resources.dedicated_machine;
- this.pictureBox4.Location = new System.Drawing.Point(46, 313);
- this.pictureBox4.Name = "pictureBox4";
- this.pictureBox4.Size = new System.Drawing.Size(56, 48);
- this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox4.TabIndex = 8;
- this.pictureBox4.TabStop = false;
- //
- // label2
- //
- this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label2.ForeColor = System.Drawing.Color.Gray;
- this.label2.Location = new System.Drawing.Point(126, 140);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(282, 44);
- this.label2.TabIndex = 9;
- this.label2.Text = "This is a development machine, and many other applications will be installed on i" +
- "t. A minimal amount of memory will be used by MySQL.";
- //
- // label3
- //
- this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label3.ForeColor = System.Drawing.Color.Gray;
- this.label3.Location = new System.Drawing.Point(126, 223);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(282, 44);
- this.label3.TabIndex = 10;
- this.label3.Text = "Several server applications will be running on this machine. Choose this option " +
- "for web/application servers. MySQL will have medium memory usage.";
- //
- // label4
- //
- this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label4.ForeColor = System.Drawing.Color.Gray;
- this.label4.Location = new System.Drawing.Point(126, 313);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(282, 44);
- this.label4.TabIndex = 11;
- this.label4.Text = "This machine is dedicated to running the MySQL database server. No other servers" +
- ", such as web servers, will be run. MySQL will make use of all available memory" +
- ".";
- //
- // ServerConfigStep1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.label4);
- this.Controls.Add(this.label3);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.pictureBox4);
- this.Controls.Add(this.pictureBox3);
- this.Controls.Add(this.pictureBox2);
- this.Controls.Add(this.dedicatedMachine);
- this.Controls.Add(this.serverMachine);
- this.Controls.Add(this.devMachine);
- this.Controls.Add(this.actionLabel);
- this.DoubleBuffered = true;
- this.Name = "ServerConfigStep1";
- this.Size = new System.Drawing.Size(560, 499);
- this.Controls.SetChildIndex(this.actionLabel, 0);
- this.Controls.SetChildIndex(this.devMachine, 0);
- this.Controls.SetChildIndex(this.serverMachine, 0);
- this.Controls.SetChildIndex(this.dedicatedMachine, 0);
- this.Controls.SetChildIndex(this.pictureBox2, 0);
- this.Controls.SetChildIndex(this.pictureBox3, 0);
- this.Controls.SetChildIndex(this.pictureBox4, 0);
- this.Controls.SetChildIndex(this.label2, 0);
- this.Controls.SetChildIndex(this.label3, 0);
- this.Controls.SetChildIndex(this.label4, 0);
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label actionLabel;
- private System.Windows.Forms.RadioButton devMachine;
- private System.Windows.Forms.RadioButton serverMachine;
- private System.Windows.Forms.RadioButton dedicatedMachine;
- private System.Windows.Forms.PictureBox pictureBox2;
- private System.Windows.Forms.PictureBox pictureBox3;
- private System.Windows.Forms.PictureBox pictureBox4;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Label label4;
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel1.cs'
--- a/WexInstaller/Panels/ServerConfigPanel1.cs 2010-09-24 15:32:17 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel1.cs 1970-01-01 00:00:00 +0000
@@ -1,59 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Text;
-using System.Windows.Forms;
-
-namespace WexInstaller.Panels
-{
- public partial class ServerConfigStep1 : InstallerPanel
- {
- public ServerConfigStep1(ServerConfigurationController controller)
- {
- InitializeComponent();
- Caption = "MySQL Server Configuration";
- Controller = controller;
- }
-
- public override void Activate()
- {
- if (Controller.it != null && Controller.it.Reconfiguring)
- {
- switch (Controller.it.ServerType)
- {
- case Core.IniServerType.Dedicated:
- dedicatedMachine.Checked = true;
- break;
- case Core.IniServerType.Developer:
- devMachine.Checked = true;
- break;
- case Core.IniServerType.Server:
- serverMachine.Checked = true;
- break;
- }
- }
-
- base.Activate();
- }
-
- private ServerConfigurationController Controller { get; set; }
-
- private void machineType_CheckedChanged(object sender, EventArgs e)
- {
- if (devMachine.Checked)
- Controller.ServerInstallType = ServerInstallType.Developer;
- else if (serverMachine.Checked)
- Controller.ServerInstallType = ServerInstallType.Server;
- else if (dedicatedMachine.Checked)
- Controller.ServerInstallType = ServerInstallType.Dedicated;
- }
-
- public override bool Next()
- {
- NextButton.Enabled = false;
- return base.Next();
- }
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel1.resx'
--- a/WexInstaller/Panels/ServerConfigPanel1.resx 2010-06-18 15:58:47 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel1.resx 1970-01-01 00:00:00 +0000
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
\ No newline at end of file
=== removed file 'WexInstaller/Panels/ServerConfigPanel2.Designer.cs'
--- a/WexInstaller/Panels/ServerConfigPanel2.Designer.cs 2010-09-24 15:32:17 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel2.Designer.cs 1970-01-01 00:00:00 +0000
@@ -1,446 +0,0 @@
-namespace WexInstaller.Panels
-{
- partial class ServerConfigStep2
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Component Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.actionLabel = new System.Windows.Forms.Label();
- this.pictureBox2 = new System.Windows.Forms.PictureBox();
- this.pictureBox3 = new System.Windows.Forms.PictureBox();
- this.pictureBox4 = new System.Windows.Forms.PictureBox();
- this.enableTCPIP = new System.Windows.Forms.CheckBox();
- this.networkingDescriptionLabel = new System.Windows.Forms.Label();
- this.serviceDescriptionLabel = new System.Windows.Forms.Label();
- this.securityDescriptionLabel = new System.Windows.Forms.Label();
- this.pictureBox5 = new System.Windows.Forms.PictureBox();
- this.portNumber = new System.Windows.Forms.TextBox();
- this.portLabel = new System.Windows.Forms.Label();
- this.serviceLabel = new System.Windows.Forms.Label();
- this.serviceName = new System.Windows.Forms.TextBox();
- this.pictureBox6 = new System.Windows.Forms.PictureBox();
- this.securitySettingsLabel = new System.Windows.Forms.Label();
- this.passwordLabel = new System.Windows.Forms.Label();
- this.rootPassword = new System.Windows.Forms.TextBox();
- this.repeatPasswordLabel = new System.Windows.Forms.Label();
- this.rootPasswordRepeat = new System.Windows.Forms.TextBox();
- this.portErrorSign = new System.Windows.Forms.PictureBox();
- this.rootPwdErrorSign = new System.Windows.Forms.PictureBox();
- this.rootPasswordError = new System.Windows.Forms.Label();
- this.serviceErrorSign = new System.Windows.Forms.PictureBox();
- this.existingPasswordLabel = new System.Windows.Forms.Label();
- this.existingRootPassword = new System.Windows.Forms.TextBox();
- this.createService = new System.Windows.Forms.CheckBox();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.portErrorSign)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.rootPwdErrorSign)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.serviceErrorSign)).BeginInit();
- this.SuspendLayout();
- //
- // actionLabel
- //
- this.actionLabel.AutoSize = true;
- this.actionLabel.Font = new System.Drawing.Font("Tahoma", 10F);
- this.actionLabel.Location = new System.Drawing.Point(12, 80);
- this.actionLabel.Name = "actionLabel";
- this.actionLabel.Size = new System.Drawing.Size(370, 17);
- this.actionLabel.TabIndex = 2;
- this.actionLabel.Text = "Please specify the Network, Windows, and Security settings";
- //
- // pictureBox2
- //
- this.pictureBox2.Image = global::WexInstaller.Properties.Resources.server_config_networking;
- this.pictureBox2.Location = new System.Drawing.Point(35, 132);
- this.pictureBox2.Name = "pictureBox2";
- this.pictureBox2.Size = new System.Drawing.Size(55, 56);
- this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox2.TabIndex = 3;
- this.pictureBox2.TabStop = false;
- //
- // pictureBox3
- //
- this.pictureBox3.Image = global::WexInstaller.Properties.Resources.server_config_security;
- this.pictureBox3.Location = new System.Drawing.Point(35, 358);
- this.pictureBox3.Name = "pictureBox3";
- this.pictureBox3.Size = new System.Drawing.Size(60, 51);
- this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox3.TabIndex = 4;
- this.pictureBox3.TabStop = false;
- //
- // pictureBox4
- //
- this.pictureBox4.Image = global::WexInstaller.Properties.Resources.server_config_windows;
- this.pictureBox4.Location = new System.Drawing.Point(35, 242);
- this.pictureBox4.Name = "pictureBox4";
- this.pictureBox4.Size = new System.Drawing.Size(58, 55);
- this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox4.TabIndex = 5;
- this.pictureBox4.TabStop = false;
- //
- // enableTCPIP
- //
- this.enableTCPIP.AutoSize = true;
- this.enableTCPIP.Checked = true;
- this.enableTCPIP.CheckState = System.Windows.Forms.CheckState.Checked;
- this.enableTCPIP.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.enableTCPIP.Location = new System.Drawing.Point(15, 110);
- this.enableTCPIP.Name = "enableTCPIP";
- this.enableTCPIP.Size = new System.Drawing.Size(172, 17);
- this.enableTCPIP.TabIndex = 6;
- this.enableTCPIP.Text = "&Enable TCP/IP Networking";
- this.enableTCPIP.UseVisualStyleBackColor = true;
- this.enableTCPIP.CheckedChanged += new System.EventHandler(this.enableTCPIP_CheckedChanged);
- //
- // networkingDescriptionLabel
- //
- this.networkingDescriptionLabel.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.networkingDescriptionLabel.ForeColor = System.Drawing.Color.Gray;
- this.networkingDescriptionLabel.Location = new System.Drawing.Point(107, 132);
- this.networkingDescriptionLabel.Name = "networkingDescriptionLabel";
- this.networkingDescriptionLabel.Size = new System.Drawing.Size(338, 36);
- this.networkingDescriptionLabel.TabIndex = 7;
- this.networkingDescriptionLabel.Text = "Enable this to allow TCP/IP networking. Only localhost connections through named" +
- " pipes are allowed when this option is skipped.";
- //
- // serviceDescriptionLabel
- //
- this.serviceDescriptionLabel.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.serviceDescriptionLabel.ForeColor = System.Drawing.Color.Gray;
- this.serviceDescriptionLabel.Location = new System.Drawing.Point(107, 242);
- this.serviceDescriptionLabel.Name = "serviceDescriptionLabel";
- this.serviceDescriptionLabel.Size = new System.Drawing.Size(338, 36);
- this.serviceDescriptionLabel.TabIndex = 8;
- this.serviceDescriptionLabel.Text = "Please specify a Windows Service name to be used for this MySQL Server instance. " +
- " A unique name is required for each instance.";
- //
- // securityDescriptionLabel
- //
- this.securityDescriptionLabel.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.securityDescriptionLabel.ForeColor = System.Drawing.Color.Gray;
- this.securityDescriptionLabel.Location = new System.Drawing.Point(107, 358);
- this.securityDescriptionLabel.Name = "securityDescriptionLabel";
- this.securityDescriptionLabel.Size = new System.Drawing.Size(338, 31);
- this.securityDescriptionLabel.TabIndex = 9;
- this.securityDescriptionLabel.Text = "Enter the password for the root account. Please remember to store this password " +
- "in a secure place.";
- //
- // pictureBox5
- //
- this.pictureBox5.Image = global::WexInstaller.Properties.Resources.fading_divider;
- this.pictureBox5.Location = new System.Drawing.Point(0, 196);
- this.pictureBox5.Name = "pictureBox5";
- this.pictureBox5.Size = new System.Drawing.Size(490, 15);
- this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox5.TabIndex = 10;
- this.pictureBox5.TabStop = false;
- //
- // portNumber
- //
- this.portNumber.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.portNumber.Location = new System.Drawing.Point(259, 170);
- this.portNumber.Name = "portNumber";
- this.portNumber.Size = new System.Drawing.Size(97, 21);
- this.portNumber.TabIndex = 1;
- this.portNumber.Text = "3306";
- this.portNumber.TextChanged += new System.EventHandler(this.portNumber_TextChanged);
- //
- // portLabel
- //
- this.portLabel.AutoSize = true;
- this.portLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.portLabel.Location = new System.Drawing.Point(107, 173);
- this.portLabel.Name = "portLabel";
- this.portLabel.Size = new System.Drawing.Size(81, 13);
- this.portLabel.TabIndex = 12;
- this.portLabel.Text = "Port Number:";
- //
- // serviceLabel
- //
- this.serviceLabel.AutoSize = true;
- this.serviceLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.serviceLabel.Location = new System.Drawing.Point(107, 285);
- this.serviceLabel.Name = "serviceLabel";
- this.serviceLabel.Size = new System.Drawing.Size(140, 13);
- this.serviceLabel.TabIndex = 15;
- this.serviceLabel.Text = "Windows Service Name:";
- //
- // serviceName
- //
- this.serviceName.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.serviceName.Location = new System.Drawing.Point(259, 281);
- this.serviceName.Name = "serviceName";
- this.serviceName.Size = new System.Drawing.Size(162, 21);
- this.serviceName.TabIndex = 2;
- this.serviceName.TextChanged += new System.EventHandler(this.serviceName_TextChanged);
- //
- // pictureBox6
- //
- this.pictureBox6.Image = global::WexInstaller.Properties.Resources.fading_divider;
- this.pictureBox6.Location = new System.Drawing.Point(0, 307);
- this.pictureBox6.Name = "pictureBox6";
- this.pictureBox6.Size = new System.Drawing.Size(490, 15);
- this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox6.TabIndex = 17;
- this.pictureBox6.TabStop = false;
- //
- // securitySettingsLabel
- //
- this.securitySettingsLabel.AutoSize = true;
- this.securitySettingsLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.securitySettingsLabel.Location = new System.Drawing.Point(33, 330);
- this.securitySettingsLabel.Name = "securitySettingsLabel";
- this.securitySettingsLabel.Size = new System.Drawing.Size(104, 13);
- this.securitySettingsLabel.TabIndex = 18;
- this.securitySettingsLabel.Text = "Security Settings";
- //
- // passwordLabel
- //
- this.passwordLabel.AutoSize = true;
- this.passwordLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.passwordLabel.Location = new System.Drawing.Point(107, 396);
- this.passwordLabel.Name = "passwordLabel";
- this.passwordLabel.Size = new System.Drawing.Size(135, 13);
- this.passwordLabel.TabIndex = 20;
- this.passwordLabel.Text = "MySQL Root Password:";
- //
- // rootPassword
- //
- this.rootPassword.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.rootPassword.Location = new System.Drawing.Point(259, 392);
- this.rootPassword.Name = "rootPassword";
- this.rootPassword.Size = new System.Drawing.Size(162, 21);
- this.rootPassword.TabIndex = 4;
- this.rootPassword.UseSystemPasswordChar = true;
- this.rootPassword.TextChanged += new System.EventHandler(this.rootPassword_TextChanged);
- //
- // repeatPasswordLabel
- //
- this.repeatPasswordLabel.AutoSize = true;
- this.repeatPasswordLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.repeatPasswordLabel.Location = new System.Drawing.Point(107, 422);
- this.repeatPasswordLabel.Name = "repeatPasswordLabel";
- this.repeatPasswordLabel.Size = new System.Drawing.Size(108, 13);
- this.repeatPasswordLabel.TabIndex = 22;
- this.repeatPasswordLabel.Text = "Repeat Password:";
- //
- // rootPasswordRepeat
- //
- this.rootPasswordRepeat.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.rootPasswordRepeat.Location = new System.Drawing.Point(259, 418);
- this.rootPasswordRepeat.Name = "rootPasswordRepeat";
- this.rootPasswordRepeat.Size = new System.Drawing.Size(162, 21);
- this.rootPasswordRepeat.TabIndex = 5;
- this.rootPasswordRepeat.UseSystemPasswordChar = true;
- this.rootPasswordRepeat.TextChanged += new System.EventHandler(this.rootPasswordRepeat_TextChanged);
- //
- // portErrorSign
- //
- this.portErrorSign.Cursor = System.Windows.Forms.Cursors.SizeAll;
- this.portErrorSign.Image = global::WexInstaller.Properties.Resources.warning_sign;
- this.portErrorSign.Location = new System.Drawing.Point(453, 169);
- this.portErrorSign.Name = "portErrorSign";
- this.portErrorSign.Size = new System.Drawing.Size(16, 16);
- this.portErrorSign.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.portErrorSign.TabIndex = 24;
- this.portErrorSign.TabStop = false;
- this.portErrorSign.Visible = false;
- //
- // rootPwdErrorSign
- //
- this.rootPwdErrorSign.Image = global::WexInstaller.Properties.Resources.warning_sign;
- this.rootPwdErrorSign.Location = new System.Drawing.Point(453, 420);
- this.rootPwdErrorSign.Name = "rootPwdErrorSign";
- this.rootPwdErrorSign.Size = new System.Drawing.Size(16, 16);
- this.rootPwdErrorSign.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.rootPwdErrorSign.TabIndex = 26;
- this.rootPwdErrorSign.TabStop = false;
- //
- // rootPasswordError
- //
- this.rootPasswordError.AutoSize = true;
- this.rootPasswordError.BackColor = System.Drawing.Color.Transparent;
- this.rootPasswordError.Location = new System.Drawing.Point(280, 461);
- this.rootPasswordError.Name = "rootPasswordError";
- this.rootPasswordError.Size = new System.Drawing.Size(0, 13);
- this.rootPasswordError.TabIndex = 25;
- this.rootPasswordError.Visible = false;
- //
- // serviceErrorSign
- //
- this.serviceErrorSign.Image = global::WexInstaller.Properties.Resources.warning_sign;
- this.serviceErrorSign.Location = new System.Drawing.Point(453, 284);
- this.serviceErrorSign.Name = "serviceErrorSign";
- this.serviceErrorSign.Size = new System.Drawing.Size(16, 16);
- this.serviceErrorSign.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.serviceErrorSign.TabIndex = 27;
- this.serviceErrorSign.TabStop = false;
- this.serviceErrorSign.Visible = false;
- //
- // existingPasswordLabel
- //
- this.existingPasswordLabel.AutoSize = true;
- this.existingPasswordLabel.Enabled = false;
- this.existingPasswordLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.existingPasswordLabel.Location = new System.Drawing.Point(107, 396);
- this.existingPasswordLabel.Name = "existingPasswordLabel";
- this.existingPasswordLabel.Size = new System.Drawing.Size(140, 13);
- this.existingPasswordLabel.TabIndex = 29;
- this.existingPasswordLabel.Text = "Current Root Password:";
- //
- // existingRootPassword
- //
- this.existingRootPassword.Enabled = false;
- this.existingRootPassword.Font = new System.Drawing.Font("Tahoma", 8.25F);
- this.existingRootPassword.Location = new System.Drawing.Point(259, 392);
- this.existingRootPassword.Name = "existingRootPassword";
- this.existingRootPassword.Size = new System.Drawing.Size(162, 21);
- this.existingRootPassword.TabIndex = 3;
- this.existingRootPassword.TabStop = false;
- this.existingRootPassword.UseSystemPasswordChar = true;
- //
- // createService
- //
- this.createService.AutoSize = true;
- this.createService.Checked = true;
- this.createService.CheckState = System.Windows.Forms.CheckState.Checked;
- this.createService.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.createService.Location = new System.Drawing.Point(15, 215);
- this.createService.Name = "createService";
- this.createService.Size = new System.Drawing.Size(162, 17);
- this.createService.TabIndex = 30;
- this.createService.Text = "&Create Windows Service";
- this.createService.UseVisualStyleBackColor = true;
- this.createService.CheckedChanged += new System.EventHandler(this.createService_CheckedChanged);
- //
- // ServerConfigStep2
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.serviceErrorSign);
- this.Controls.Add(this.rootPwdErrorSign);
- this.Controls.Add(this.rootPasswordError);
- this.Controls.Add(this.portErrorSign);
- this.Controls.Add(this.repeatPasswordLabel);
- this.Controls.Add(this.rootPasswordRepeat);
- this.Controls.Add(this.securitySettingsLabel);
- this.Controls.Add(this.pictureBox6);
- this.Controls.Add(this.serviceLabel);
- this.Controls.Add(this.serviceName);
- this.Controls.Add(this.portLabel);
- this.Controls.Add(this.portNumber);
- this.Controls.Add(this.pictureBox5);
- this.Controls.Add(this.securityDescriptionLabel);
- this.Controls.Add(this.serviceDescriptionLabel);
- this.Controls.Add(this.networkingDescriptionLabel);
- this.Controls.Add(this.enableTCPIP);
- this.Controls.Add(this.pictureBox4);
- this.Controls.Add(this.pictureBox3);
- this.Controls.Add(this.actionLabel);
- this.Controls.Add(this.pictureBox2);
- this.Controls.Add(this.passwordLabel);
- this.Controls.Add(this.existingPasswordLabel);
- this.Controls.Add(this.createService);
- this.Controls.Add(this.rootPassword);
- this.Controls.Add(this.existingRootPassword);
- this.DoubleBuffered = true;
- this.Name = "ServerConfigStep2";
- this.Size = new System.Drawing.Size(560, 499);
- this.Controls.SetChildIndex(this.existingRootPassword, 0);
- this.Controls.SetChildIndex(this.rootPassword, 0);
- this.Controls.SetChildIndex(this.createService, 0);
- this.Controls.SetChildIndex(this.existingPasswordLabel, 0);
- this.Controls.SetChildIndex(this.passwordLabel, 0);
- this.Controls.SetChildIndex(this.pictureBox2, 0);
- this.Controls.SetChildIndex(this.actionLabel, 0);
- this.Controls.SetChildIndex(this.pictureBox3, 0);
- this.Controls.SetChildIndex(this.pictureBox4, 0);
- this.Controls.SetChildIndex(this.enableTCPIP, 0);
- this.Controls.SetChildIndex(this.networkingDescriptionLabel, 0);
- this.Controls.SetChildIndex(this.serviceDescriptionLabel, 0);
- this.Controls.SetChildIndex(this.securityDescriptionLabel, 0);
- this.Controls.SetChildIndex(this.pictureBox5, 0);
- this.Controls.SetChildIndex(this.portNumber, 0);
- this.Controls.SetChildIndex(this.portLabel, 0);
- this.Controls.SetChildIndex(this.serviceName, 0);
- this.Controls.SetChildIndex(this.serviceLabel, 0);
- this.Controls.SetChildIndex(this.pictureBox6, 0);
- this.Controls.SetChildIndex(this.securitySettingsLabel, 0);
- this.Controls.SetChildIndex(this.rootPasswordRepeat, 0);
- this.Controls.SetChildIndex(this.repeatPasswordLabel, 0);
- this.Controls.SetChildIndex(this.portErrorSign, 0);
- this.Controls.SetChildIndex(this.rootPasswordError, 0);
- this.Controls.SetChildIndex(this.rootPwdErrorSign, 0);
- this.Controls.SetChildIndex(this.serviceErrorSign, 0);
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.portErrorSign)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.rootPwdErrorSign)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.serviceErrorSign)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label actionLabel;
- private System.Windows.Forms.PictureBox pictureBox2;
- private System.Windows.Forms.PictureBox pictureBox3;
- private System.Windows.Forms.PictureBox pictureBox4;
- private System.Windows.Forms.CheckBox enableTCPIP;
- private System.Windows.Forms.Label networkingDescriptionLabel;
- private System.Windows.Forms.Label serviceDescriptionLabel;
- private System.Windows.Forms.Label securityDescriptionLabel;
- private System.Windows.Forms.PictureBox pictureBox5;
- private System.Windows.Forms.TextBox portNumber;
- private System.Windows.Forms.Label portLabel;
- private System.Windows.Forms.Label serviceLabel;
- private System.Windows.Forms.TextBox serviceName;
- private System.Windows.Forms.PictureBox pictureBox6;
- private System.Windows.Forms.Label securitySettingsLabel;
- private System.Windows.Forms.Label passwordLabel;
- private System.Windows.Forms.TextBox rootPassword;
- private System.Windows.Forms.Label repeatPasswordLabel;
- private System.Windows.Forms.TextBox rootPasswordRepeat;
- private System.Windows.Forms.PictureBox portErrorSign;
- private System.Windows.Forms.ToolTip portTip;
- private System.Windows.Forms.PictureBox rootPwdErrorSign;
- private System.Windows.Forms.ToolTip rootPwdTip;
- private System.Windows.Forms.Label rootPasswordError;
- private System.Windows.Forms.PictureBox serviceErrorSign;
- private System.Windows.Forms.ToolTip serviceTip;
- private System.Windows.Forms.Label existingPasswordLabel;
- private System.Windows.Forms.TextBox existingRootPassword;
- private System.Windows.Forms.CheckBox createService;
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel2.cs'
--- a/WexInstaller/Panels/ServerConfigPanel2.cs 2011-02-07 20:46:44 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel2.cs 1970-01-01 00:00:00 +0000
@@ -1,226 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Text;
-using System.Windows.Forms;
-using System.Globalization;
-using System.Net.NetworkInformation;
-using System.ServiceProcess;
-using System.Net;
-
-namespace WexInstaller.Panels
-{
- public partial class ServerConfigStep2 : InstallerPanel
- {
- public ServerConfigStep2(ServerConfigurationController controller)
- {
- InitializeComponent();
- Caption = "MySQL Server Configuration";
- Controller = controller;
-
- portTip = new ToolTip();
- portTip.SetToolTip(portErrorSign, "The port is in-use.");
-
- serviceTip = new ToolTip();
- serviceTip.SetToolTip(serviceErrorSign, "The service name is in use.");
-
- rootPwdTip = new ToolTip();
- }
-
- private ServerConfigurationController Controller { get; set; }
-
- private void portNumber_TextChanged(object sender, EventArgs e)
- {
- int port = 0;
- try
- {
- port = Int32.Parse(portNumber.Text.Trim(), CultureInfo.InvariantCulture);
- if (port > 0 && PortIsAvailable(port))
- Controller.Port = port;
- }
- catch (Exception)
- {
- port = 0;
- }
- portErrorSign.Visible = port <= 0;
- SignalChange();
- }
-
- private bool PortIsAvailable(int port)
- {
- // Evaluate current system tcp connections. This is the same information provided
- // by the netstat command line application, just in .Net strongly-typed object
- // form. We will look through the list, and if our port we would like to use
- // in our TcpClient is occupied, we will set isAvailable to false.
- IPGlobalProperties ipGlobalProperties = IPGlobalProperties.GetIPGlobalProperties();
-
- // test active listeners
- IPEndPoint[] endPoints = ipGlobalProperties.GetActiveTcpListeners();
- foreach (IPEndPoint endPoint in endPoints)
- if (endPoint.Port == port) return false;
-
- return true;
- }
-
- public override void Activate()
- {
- if (Controller.it != null && Controller.it.Reconfiguring)
- {
- enableTCPIP.Checked = Controller.it.EnableNetworking;
- if (enableTCPIP.Checked)
- {
- portNumber.Text = Controller.it.Port;
- }
-
- if (Controller.ServiceName != null && Controller.ServiceName != String.Empty)
- {
- serviceName.Text = Controller.ServiceName;
- serviceName.Enabled = false;
- serviceErrorSign.Visible = false;
- createService.Checked = true;
- createService.Enabled = false;
- }
- }
-
- if (Controller.it != null && (Controller.it.Reconfiguring || Controller.it.FoundExistingDataDir))
- {
-
- passwordLabel.Location = new Point(passwordLabel.Location.X, passwordLabel.Location.Y + 26);
- repeatPasswordLabel.Location = new Point(repeatPasswordLabel.Location.X, repeatPasswordLabel.Location.Y + 26);
-
- rootPassword.Location = new Point(rootPassword.Location.X, rootPassword.Location.Y + 26);
- rootPasswordRepeat.Location = new Point(rootPasswordRepeat.Location.X, rootPasswordRepeat.Location.Y + 26);
- rootPwdErrorSign.Location = new Point(rootPwdErrorSign.Location.X, rootPwdErrorSign.Location.Y + 26);
-
- existingPasswordLabel.Enabled = true;
- existingRootPassword.Enabled = true;
- existingRootPassword.TabStop = true;
- }
-
- Controller.CreateService = createService.Checked;
-
- CheckPasswords();
- SetDefaultServiceName();
-
-
- int currentPort = Int32.Parse(portNumber.Text.Trim(), CultureInfo.InvariantCulture);
- while (!PortIsAvailable(currentPort))
- {
- currentPort += 1;
- }
- portNumber.Text = currentPort.ToString();
-
- base.Activate();
- }
-
- public override bool NextOk()
- {
- if (portErrorSign.Visible) return false;
- if (rootPwdErrorSign.Visible) return false;
- if (serviceErrorSign.Visible) return false;
- return true;
- }
-
- public override bool Next()
- {
- (ParentControl as InstallWizardControl).ShowConfigOverviewPage();
- return false;
- }
-
- private void serviceName_TextChanged(object sender, EventArgs e)
- {
- serviceErrorSign.Visible = false;
-
- string name = serviceName.Text.Trim();
- bool bad = createService.Checked && name.Length == 0;
- bad = bad || name.Length > 0 && (!ServiceNameAvailable(name) && !Controller.it.Reconfiguring);
- serviceErrorSign.Visible = bad;
- Controller.ServiceName = bad ? String.Empty : name;
- SignalChange();
- }
-
- private bool ServiceNameAvailable(string name)
- {
- ServiceController[] services = ServiceController.GetServices();
- foreach (ServiceController service in services)
- if (service.ServiceName == name) return false;
- return true;
- }
-
- private void rootPasswordRepeat_TextChanged(object sender, EventArgs e)
- {
- CheckPasswords();
- }
-
- private void rootPassword_TextChanged(object sender, EventArgs e)
- {
- CheckPasswords();
- }
-
- private void CheckPasswords()
- {
- Controller.RootPassword = null;
- string root = rootPassword.Text.Trim();
- string repeat = rootPasswordRepeat.Text.Trim();
- Controller.RootPassword = null;
- rootPwdErrorSign.Visible = false;
- if (root != repeat && (root.Length > 0 || repeat.Length > 0))
- {
- rootPwdErrorSign.Visible = true;
- rootPwdTip.SetToolTip(rootPwdErrorSign, "The passwords do not match.");
- }
- else if (root.Length < 4 && repeat.Length < 4)
- {
- rootPwdErrorSign.Visible = true;
- rootPwdTip.SetToolTip(rootPwdErrorSign, "The passwords do not meet the minimum length requirment.");
- }
- else
- {
- if (existingRootPassword.Enabled)
- Controller.ExistingRootPassword = existingRootPassword.Text;
- Controller.RootPassword = root;
- }
- SignalChange();
- }
-
- private void SetDefaultServiceName()
- {
- // Set a default service name
- string defaultServiceName = String.Empty;
-
- if (String.IsNullOrEmpty(Controller.ServiceName) == false)
- defaultServiceName = Controller.ServiceName;
-
- if (Controller.it != null && !Controller.it.Reconfiguring && defaultServiceName != String.Empty)
- {
- int i = 0;
- while (ServiceNameAvailable(defaultServiceName) == false)
- {
- i++;
- defaultServiceName = String.Format("{0}_{1}", Controller.ServiceName, i.ToString());
- }
- }
-
- serviceName.Text = defaultServiceName;
- }
-
- private void enableTCPIP_CheckedChanged(object sender, EventArgs e)
- {
- portNumber.Enabled = enableTCPIP.Checked;
- Controller.EnableTCPIP = enableTCPIP.Checked;
- portNumber_TextChanged(null, null);
- SignalChange();
- }
-
- private void createService_CheckedChanged(object sender, EventArgs e)
- {
- serviceName.Enabled = createService.Checked;
- Controller.CreateService = createService.Checked;
- serviceName_TextChanged(null, null);
- SignalChange();
- }
-
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel2.resx'
--- a/WexInstaller/Panels/ServerConfigPanel2.resx 2010-06-18 15:58:47 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel2.resx 1970-01-01 00:00:00 +0000
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
\ No newline at end of file
=== removed file 'WexInstaller/Panels/ServerConfigPanel3.Designer.cs'
--- a/WexInstaller/Panels/ServerConfigPanel3.Designer.cs 2010-09-24 15:32:17 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel3.Designer.cs 1970-01-01 00:00:00 +0000
@@ -1,121 +0,0 @@
-namespace WexInstaller.Panels
-{
- partial class ServerConfigStep3
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Component Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.actionLabel = new System.Windows.Forms.Label();
- this.pictureBox2 = new System.Windows.Forms.PictureBox();
- this.label2 = new System.Windows.Forms.Label();
- this.configText = new System.Windows.Forms.TextBox();
- this.copyToClipboard = new System.Windows.Forms.Button();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
- this.SuspendLayout();
- //
- // actionLabel
- //
- this.actionLabel.AutoSize = true;
- this.actionLabel.Font = new System.Drawing.Font("Tahoma", 10F);
- this.actionLabel.Location = new System.Drawing.Point(12, 80);
- this.actionLabel.Name = "actionLabel";
- this.actionLabel.Size = new System.Drawing.Size(251, 17);
- this.actionLabel.TabIndex = 3;
- this.actionLabel.Text = "Please review the Configuration Settings";
- //
- // pictureBox2
- //
- this.pictureBox2.Image = global::WexInstaller.Properties.Resources.server_confirm;
- this.pictureBox2.Location = new System.Drawing.Point(15, 114);
- this.pictureBox2.Name = "pictureBox2";
- this.pictureBox2.Size = new System.Drawing.Size(52, 50);
- this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox2.TabIndex = 4;
- this.pictureBox2.TabStop = false;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
- this.label2.Location = new System.Drawing.Point(69, 114);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(215, 13);
- this.label2.TabIndex = 5;
- this.label2.Text = "MySQL Server Configuration Settings";
- //
- // configText
- //
- this.configText.BackColor = System.Drawing.Color.White;
- this.configText.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.configText.Location = new System.Drawing.Point(71, 141);
- this.configText.Multiline = true;
- this.configText.Name = "configText";
- this.configText.ReadOnly = true;
- this.configText.Size = new System.Drawing.Size(350, 248);
- this.configText.TabIndex = 6;
- //
- // copyToClipboard
- //
- this.copyToClipboard.Location = new System.Drawing.Point(15, 408);
- this.copyToClipboard.Name = "copyToClipboard";
- this.copyToClipboard.Size = new System.Drawing.Size(107, 26);
- this.copyToClipboard.TabIndex = 7;
- this.copyToClipboard.Text = "C&opy to Clipboard";
- this.copyToClipboard.UseVisualStyleBackColor = true;
- this.copyToClipboard.Click += new System.EventHandler(this.copyToClipboard_Click);
- //
- // ServerConfigStep3
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.copyToClipboard);
- this.Controls.Add(this.configText);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.pictureBox2);
- this.Controls.Add(this.actionLabel);
- this.DoubleBuffered = true;
- this.Name = "ServerConfigStep3";
- this.Size = new System.Drawing.Size(560, 499);
- this.Controls.SetChildIndex(this.actionLabel, 0);
- this.Controls.SetChildIndex(this.pictureBox2, 0);
- this.Controls.SetChildIndex(this.label2, 0);
- this.Controls.SetChildIndex(this.configText, 0);
- this.Controls.SetChildIndex(this.copyToClipboard, 0);
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label actionLabel;
- private System.Windows.Forms.PictureBox pictureBox2;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox configText;
- private System.Windows.Forms.Button copyToClipboard;
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel3.cs'
--- a/WexInstaller/Panels/ServerConfigPanel3.cs 2011-01-23 17:51:26 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel3.cs 1970-01-01 00:00:00 +0000
@@ -1,54 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Text;
-using System.Windows.Forms;
-
-namespace WexInstaller.Panels
-{
- public partial class ServerConfigStep3 : InstallerPanel
- {
- private bool nextOk;
- private bool backOk;
-
- public ServerConfigStep3(ServerConfigurationController controller)
- {
- InitializeComponent();
- Caption = "MySQL Server Configuration";
- Controller = controller;
- nextOk = true;
- backOk = true;
- }
-
- private ServerConfigurationController Controller { get; set; }
-
- public override void Activate()
- {
- configText.Text = Controller.GetConfigurationAsText();
- base.Activate();
- }
-
- public override bool NextOk()
- {
- return nextOk;
- }
-
- public override bool BackOk()
- {
- return backOk;
- }
-
- public override bool Next()
- {
- (ParentControl as InstallWizardControl).ShowConfigOverviewPage();
- return false;
- }
-
- private void copyToClipboard_Click(object sender, EventArgs e)
- {
- Clipboard.SetText(configText.Text);
- }
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel3.resx'
--- a/WexInstaller/Panels/ServerConfigPanel3.resx 2010-06-18 15:58:47 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel3.resx 1970-01-01 00:00:00 +0000
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
\ No newline at end of file
=== removed file 'WexInstaller/Panels/ServerConfigPanel4.Designer.cs'
--- a/WexInstaller/Panels/ServerConfigPanel4.Designer.cs 2010-09-24 15:32:17 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel4.Designer.cs 1970-01-01 00:00:00 +0000
@@ -1,331 +0,0 @@
-namespace WexInstaller.Panels
-{
- partial class ServerConfigAction
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Component Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.actionLabel = new System.Windows.Forms.Label();
- this.validEmptyIcon = new System.Windows.Forms.PictureBox();
- this.validLabel = new System.Windows.Forms.Label();
- this.templateEmptyIcon = new System.Windows.Forms.PictureBox();
- this.templateLabel = new System.Windows.Forms.Label();
- this.serviceEmptyIcon = new System.Windows.Forms.PictureBox();
- this.verifyEmptyIcon = new System.Windows.Forms.PictureBox();
- this.serviceLabel = new System.Windows.Forms.Label();
- this.verifyLabel = new System.Windows.Forms.Label();
- this.updateLabel = new System.Windows.Forms.Label();
- this.actionFailedIcon = new System.Windows.Forms.PictureBox();
- this.currentActionIcon = new System.Windows.Forms.PictureBox();
- this.validSuccessIcon = new System.Windows.Forms.PictureBox();
- this.templateSuccessIcon = new System.Windows.Forms.PictureBox();
- this.serviceSuccessIcon = new System.Windows.Forms.PictureBox();
- this.verifySuccessIcon = new System.Windows.Forms.PictureBox();
- this.updateSuccessIcon = new System.Windows.Forms.PictureBox();
- this.updateEmptyIcon = new System.Windows.Forms.PictureBox();
- ((System.ComponentModel.ISupportInitialize)(this.validEmptyIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.templateEmptyIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.serviceEmptyIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.verifyEmptyIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.actionFailedIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.currentActionIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.validSuccessIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.templateSuccessIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.serviceSuccessIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.verifySuccessIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.updateSuccessIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.updateEmptyIcon)).BeginInit();
- this.SuspendLayout();
- //
- // actionLabel
- //
- this.actionLabel.AutoSize = true;
- this.actionLabel.Font = new System.Drawing.Font("Tahoma", 10F);
- this.actionLabel.Location = new System.Drawing.Point(12, 80);
- this.actionLabel.Name = "actionLabel";
- this.actionLabel.Size = new System.Drawing.Size(390, 17);
- this.actionLabel.TabIndex = 9;
- this.actionLabel.Text = "Create the configuration and start the MySQL Server Instance.";
- //
- // validEmptyIcon
- //
- this.validEmptyIcon.Image = global::WexInstaller.Properties.Resources.ActionOpen;
- this.validEmptyIcon.Location = new System.Drawing.Point(15, 122);
- this.validEmptyIcon.Name = "validEmptyIcon";
- this.validEmptyIcon.Size = new System.Drawing.Size(12, 14);
- this.validEmptyIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.validEmptyIcon.TabIndex = 10;
- this.validEmptyIcon.TabStop = false;
- //
- // validLabel
- //
- this.validLabel.AutoSize = true;
- this.validLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.validLabel.Location = new System.Drawing.Point(34, 122);
- this.validLabel.Name = "validLabel";
- this.validLabel.Size = new System.Drawing.Size(113, 13);
- this.validLabel.TabIndex = 11;
- this.validLabel.Text = "Locate valid template.";
- //
- // templateEmptyIcon
- //
- this.templateEmptyIcon.Image = global::WexInstaller.Properties.Resources.ActionOpen;
- this.templateEmptyIcon.Location = new System.Drawing.Point(15, 142);
- this.templateEmptyIcon.Name = "templateEmptyIcon";
- this.templateEmptyIcon.Size = new System.Drawing.Size(12, 14);
- this.templateEmptyIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.templateEmptyIcon.TabIndex = 12;
- this.templateEmptyIcon.TabStop = false;
- //
- // templateLabel
- //
- this.templateLabel.AutoSize = true;
- this.templateLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.templateLabel.Location = new System.Drawing.Point(34, 142);
- this.templateLabel.Name = "templateLabel";
- this.templateLabel.Size = new System.Drawing.Size(93, 13);
- this.templateLabel.TabIndex = 13;
- this.templateLabel.Text = "Process template.";
- //
- // serviceEmptyIcon
- //
- this.serviceEmptyIcon.Image = global::WexInstaller.Properties.Resources.ActionOpen;
- this.serviceEmptyIcon.Location = new System.Drawing.Point(15, 162);
- this.serviceEmptyIcon.Name = "serviceEmptyIcon";
- this.serviceEmptyIcon.Size = new System.Drawing.Size(12, 14);
- this.serviceEmptyIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.serviceEmptyIcon.TabIndex = 14;
- this.serviceEmptyIcon.TabStop = false;
- //
- // verifyEmptyIcon
- //
- this.verifyEmptyIcon.Image = global::WexInstaller.Properties.Resources.ActionOpen;
- this.verifyEmptyIcon.Location = new System.Drawing.Point(15, 183);
- this.verifyEmptyIcon.Name = "verifyEmptyIcon";
- this.verifyEmptyIcon.Size = new System.Drawing.Size(12, 14);
- this.verifyEmptyIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.verifyEmptyIcon.TabIndex = 15;
- this.verifyEmptyIcon.TabStop = false;
- //
- // serviceLabel
- //
- this.serviceLabel.AutoSize = true;
- this.serviceLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.serviceLabel.Location = new System.Drawing.Point(34, 162);
- this.serviceLabel.Name = "serviceLabel";
- this.serviceLabel.Size = new System.Drawing.Size(95, 13);
- this.serviceLabel.TabIndex = 16;
- this.serviceLabel.Text = "Configure service.";
- //
- // verifyLabel
- //
- this.verifyLabel.AutoSize = true;
- this.verifyLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.verifyLabel.Location = new System.Drawing.Point(34, 183);
- this.verifyLabel.Name = "verifyLabel";
- this.verifyLabel.Size = new System.Drawing.Size(125, 13);
- this.verifyLabel.TabIndex = 17;
- this.verifyLabel.Text = "Verify service is running.";
- //
- // updateLabel
- //
- this.updateLabel.AutoSize = true;
- this.updateLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.updateLabel.Location = new System.Drawing.Point(34, 203);
- this.updateLabel.Name = "updateLabel";
- this.updateLabel.Size = new System.Drawing.Size(128, 13);
- this.updateLabel.TabIndex = 19;
- this.updateLabel.Text = "Update security settings.";
- //
- // actionFailedIcon
- //
- this.actionFailedIcon.Image = global::WexInstaller.Properties.Resources.ActionError;
- this.actionFailedIcon.Location = new System.Drawing.Point(15, 122);
- this.actionFailedIcon.Name = "actionFailedIcon";
- this.actionFailedIcon.Size = new System.Drawing.Size(12, 14);
- this.actionFailedIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.actionFailedIcon.TabIndex = 20;
- this.actionFailedIcon.TabStop = false;
- this.actionFailedIcon.Visible = false;
- //
- // currentActionIcon
- //
- this.currentActionIcon.Image = global::WexInstaller.Properties.Resources.ActionCurrent;
- this.currentActionIcon.Location = new System.Drawing.Point(15, 122);
- this.currentActionIcon.Name = "currentActionIcon";
- this.currentActionIcon.Size = new System.Drawing.Size(12, 14);
- this.currentActionIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.currentActionIcon.TabIndex = 21;
- this.currentActionIcon.TabStop = false;
- this.currentActionIcon.Visible = false;
- //
- // validSuccessIcon
- //
- this.validSuccessIcon.Image = global::WexInstaller.Properties.Resources.ActionDone;
- this.validSuccessIcon.Location = new System.Drawing.Point(15, 122);
- this.validSuccessIcon.Name = "validSuccessIcon";
- this.validSuccessIcon.Size = new System.Drawing.Size(14, 14);
- this.validSuccessIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.validSuccessIcon.TabIndex = 22;
- this.validSuccessIcon.TabStop = false;
- this.validSuccessIcon.Visible = false;
- //
- // templateSuccessIcon
- //
- this.templateSuccessIcon.Image = global::WexInstaller.Properties.Resources.ActionDone;
- this.templateSuccessIcon.Location = new System.Drawing.Point(15, 142);
- this.templateSuccessIcon.Name = "templateSuccessIcon";
- this.templateSuccessIcon.Size = new System.Drawing.Size(14, 14);
- this.templateSuccessIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.templateSuccessIcon.TabIndex = 23;
- this.templateSuccessIcon.TabStop = false;
- this.templateSuccessIcon.Visible = false;
- //
- // serviceSuccessIcon
- //
- this.serviceSuccessIcon.Image = global::WexInstaller.Properties.Resources.ActionDone;
- this.serviceSuccessIcon.Location = new System.Drawing.Point(15, 162);
- this.serviceSuccessIcon.Name = "serviceSuccessIcon";
- this.serviceSuccessIcon.Size = new System.Drawing.Size(14, 14);
- this.serviceSuccessIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.serviceSuccessIcon.TabIndex = 24;
- this.serviceSuccessIcon.TabStop = false;
- this.serviceSuccessIcon.Visible = false;
- //
- // verifySuccessIcon
- //
- this.verifySuccessIcon.Image = global::WexInstaller.Properties.Resources.ActionDone;
- this.verifySuccessIcon.Location = new System.Drawing.Point(15, 183);
- this.verifySuccessIcon.Name = "verifySuccessIcon";
- this.verifySuccessIcon.Size = new System.Drawing.Size(14, 14);
- this.verifySuccessIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.verifySuccessIcon.TabIndex = 25;
- this.verifySuccessIcon.TabStop = false;
- this.verifySuccessIcon.Visible = false;
- //
- // updateSuccessIcon
- //
- this.updateSuccessIcon.Image = global::WexInstaller.Properties.Resources.ActionDone;
- this.updateSuccessIcon.Location = new System.Drawing.Point(15, 203);
- this.updateSuccessIcon.Name = "updateSuccessIcon";
- this.updateSuccessIcon.Size = new System.Drawing.Size(14, 14);
- this.updateSuccessIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.updateSuccessIcon.TabIndex = 26;
- this.updateSuccessIcon.TabStop = false;
- this.updateSuccessIcon.Visible = false;
- //
- // updateEmptyIcon
- //
- this.updateEmptyIcon.Image = global::WexInstaller.Properties.Resources.ActionOpen;
- this.updateEmptyIcon.Location = new System.Drawing.Point(15, 203);
- this.updateEmptyIcon.Name = "updateEmptyIcon";
- this.updateEmptyIcon.Size = new System.Drawing.Size(12, 14);
- this.updateEmptyIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.updateEmptyIcon.TabIndex = 18;
- this.updateEmptyIcon.TabStop = false;
- //
- // ServerConfigAction
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.updateLabel);
- this.Controls.Add(this.verifyLabel);
- this.Controls.Add(this.serviceLabel);
- this.Controls.Add(this.templateLabel);
- this.Controls.Add(this.validLabel);
- this.Controls.Add(this.actionLabel);
- this.Controls.Add(this.validEmptyIcon);
- this.Controls.Add(this.validSuccessIcon);
- this.Controls.Add(this.currentActionIcon);
- this.Controls.Add(this.actionFailedIcon);
- this.Controls.Add(this.templateEmptyIcon);
- this.Controls.Add(this.templateSuccessIcon);
- this.Controls.Add(this.serviceEmptyIcon);
- this.Controls.Add(this.serviceSuccessIcon);
- this.Controls.Add(this.verifyEmptyIcon);
- this.Controls.Add(this.verifySuccessIcon);
- this.Controls.Add(this.updateEmptyIcon);
- this.Controls.Add(this.updateSuccessIcon);
- this.DoubleBuffered = true;
- this.Name = "ServerConfigAction";
- this.Size = new System.Drawing.Size(560, 499);
- this.Controls.SetChildIndex(this.updateSuccessIcon, 0);
- this.Controls.SetChildIndex(this.updateEmptyIcon, 0);
- this.Controls.SetChildIndex(this.verifySuccessIcon, 0);
- this.Controls.SetChildIndex(this.verifyEmptyIcon, 0);
- this.Controls.SetChildIndex(this.serviceSuccessIcon, 0);
- this.Controls.SetChildIndex(this.serviceEmptyIcon, 0);
- this.Controls.SetChildIndex(this.templateSuccessIcon, 0);
- this.Controls.SetChildIndex(this.templateEmptyIcon, 0);
- this.Controls.SetChildIndex(this.actionFailedIcon, 0);
- this.Controls.SetChildIndex(this.currentActionIcon, 0);
- this.Controls.SetChildIndex(this.validSuccessIcon, 0);
- this.Controls.SetChildIndex(this.validEmptyIcon, 0);
- this.Controls.SetChildIndex(this.actionLabel, 0);
- this.Controls.SetChildIndex(this.validLabel, 0);
- this.Controls.SetChildIndex(this.templateLabel, 0);
- this.Controls.SetChildIndex(this.serviceLabel, 0);
- this.Controls.SetChildIndex(this.verifyLabel, 0);
- this.Controls.SetChildIndex(this.updateLabel, 0);
- ((System.ComponentModel.ISupportInitialize)(this.validEmptyIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.templateEmptyIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.serviceEmptyIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.verifyEmptyIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.actionFailedIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.currentActionIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.validSuccessIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.templateSuccessIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.serviceSuccessIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.verifySuccessIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.updateSuccessIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.updateEmptyIcon)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label actionLabel;
- private System.Windows.Forms.PictureBox validEmptyIcon;
- private System.Windows.Forms.Label validLabel;
- private System.Windows.Forms.PictureBox templateEmptyIcon;
- private System.Windows.Forms.Label templateLabel;
- private System.Windows.Forms.PictureBox serviceEmptyIcon;
- private System.Windows.Forms.PictureBox verifyEmptyIcon;
- private System.Windows.Forms.Label serviceLabel;
- private System.Windows.Forms.Label verifyLabel;
- private System.Windows.Forms.Label updateLabel;
- private System.Windows.Forms.PictureBox actionFailedIcon;
- private System.Windows.Forms.PictureBox currentActionIcon;
- private System.Windows.Forms.PictureBox validSuccessIcon;
- private System.Windows.Forms.PictureBox templateSuccessIcon;
- private System.Windows.Forms.PictureBox serviceSuccessIcon;
- private System.Windows.Forms.PictureBox verifySuccessIcon;
- private System.Windows.Forms.PictureBox updateSuccessIcon;
- private System.Windows.Forms.PictureBox updateEmptyIcon;
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel4.cs'
--- a/WexInstaller/Panels/ServerConfigPanel4.cs 2011-01-23 17:51:26 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel4.cs 1970-01-01 00:00:00 +0000
@@ -1,172 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Text;
-using System.Windows.Forms;
-
-namespace WexInstaller.Panels
-{
- public partial class ServerConfigAction : InstallerPanel
- {
- private bool nextOk;
- private bool backOk;
- private bool executed;
-
- public ServerConfigAction(ServerConfigurationController controller)
- {
- InitializeComponent();
- Caption = "MySQL Server Configuration";
- Controller = controller;
- nextOk = true;
- backOk = true;
- executed = false;
- }
-
- public override void Activate()
- {
- if (!executed)
- {
- NextButton.Text = Properties.Resources.NextButtonExecuteText;
- NextButton.Refresh();
- }
-
- serviceLabel.Visible = Controller.CreateService;
- serviceEmptyIcon.Visible = Controller.CreateService;
- verifyLabel.Visible = Controller.CreateService;
- verifyEmptyIcon.Visible = Controller.CreateService;
- updateLabel.Visible = Controller.CreateService;
- updateEmptyIcon.Visible = Controller.CreateService;
-
- base.Activate();
- }
-
- public override bool NextOk()
- {
- return nextOk;
- }
-
- public override bool BackOk()
- {
- return backOk;
- }
-
- public override bool Next()
- {
- if (!executed)
- {
- nextOk = false;
- backOk = false;
- SignalChange();
-
- NextButton.Text = Properties.Resources.NextButtonDefaultText;
- NextButton.Refresh();
-
- // Do configuration here.
- Controller.Configured += new ConfigurationEventHandler(ConfigurationChanged);
- Controller.Configure();
-
- executed = true;
- Application.DoEvents();
-
- return false;
- }
-
- return base.Next();
- }
-
-
- public override bool Back()
- {
- if (!executed)
- {
- NextButton.Text = Properties.Resources.NextButtonDefaultText;
- NextButton.Refresh();
- }
-
- return base.Back();
- }
-
- private ServerConfigurationController Controller { get; set; }
-
- private void ConfigurationChanged(object sender, ConfigurationEventArgs e)
- {
- switch (e.Type)
- {
- case (ConfigurationEventType.Info):
- PictureBox pb = null;
- switch (e.Action)
- {
- case "VALID_TEMPLATE":
- pb = validEmptyIcon;
- break;
- case "PROCESS_TEMPLATE":
- pb = templateEmptyIcon;
- break;
- case "CONFIGURE_SERVICE":
- pb = serviceEmptyIcon;
- break;
- case "START_SERVICE":
- pb = verifyEmptyIcon;
- break;
- case "SECURITY_SETTING":
- pb = updateEmptyIcon;
- break;
- }
- currentActionIcon.Location = pb.Location;
- currentActionIcon.Visible = true;
- currentActionIcon.BringToFront();
- currentActionIcon.Refresh();
- pb.Visible = false;
- pb.Refresh();
- break;
- case (ConfigurationEventType.Success):
- switch (e.Action)
- {
- case "VALID_TEMPLATE":
- validSuccessIcon.Visible = true;
- validSuccessIcon.BringToFront();
- validSuccessIcon.Refresh();
- break;
- case "PROCESS_TEMPLATE":
- templateSuccessIcon.Visible = true;
- templateSuccessIcon.BringToFront();
- templateSuccessIcon.Refresh();
- break;
- case "CONFIGURE_SERVICE":
- serviceSuccessIcon.Visible = true;
- serviceSuccessIcon.BringToFront();
- serviceSuccessIcon.Refresh();
- break;
- case "START_SERVICE":
- verifySuccessIcon.Visible = true;
- verifySuccessIcon.BringToFront();
- verifySuccessIcon.Refresh();
- break;
- case "SECURITY_SETTING":
- updateSuccessIcon.Visible = true;
- updateSuccessIcon.BringToFront();
- updateSuccessIcon.Refresh();
- break;
- }
- currentActionIcon.Visible = false;
- currentActionIcon.Refresh();
- break;
- case (ConfigurationEventType.Error):
- actionFailedIcon.Location = currentActionIcon.Location;
- actionFailedIcon.Visible = true;
- actionFailedIcon.BringToFront();
- actionFailedIcon.Refresh();
- currentActionIcon.Visible = false;
- currentActionIcon.Refresh();
- break;
- case (ConfigurationEventType.Finished):
- nextOk = true;
- backOk = false;
- break;
- };
- SignalChange();
- }
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel4.resx'
--- a/WexInstaller/Panels/ServerConfigPanel4.resx 2010-08-10 02:23:48 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel4.resx 1970-01-01 00:00:00 +0000
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
\ No newline at end of file
=== removed file 'WexInstaller/Panels/ServerConfigPanel5.Designer.cs'
--- a/WexInstaller/Panels/ServerConfigPanel5.Designer.cs 2010-09-24 15:32:17 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel5.Designer.cs 1970-01-01 00:00:00 +0000
@@ -1,227 +0,0 @@
-namespace WexInstaller.Panels
-{
- partial class ServerConfigStep1a
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Component Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.skipRestart = new System.Windows.Forms.CheckBox();
- this.restartEmtpyIcon = new System.Windows.Forms.PictureBox();
- this.restartActionLabel = new System.Windows.Forms.Label();
- this.actionCurrentIcon = new System.Windows.Forms.PictureBox();
- this.restartSuccessIcon = new System.Windows.Forms.PictureBox();
- this.actionFailedIcon = new System.Windows.Forms.PictureBox();
- this.actionLabel = new System.Windows.Forms.Label();
- this.restartWarningIcon = new System.Windows.Forms.PictureBox();
- this.restartWarningLabel = new System.Windows.Forms.Label();
- this.errorList = new System.Windows.Forms.ListView();
- this.errorHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.openConfigFile = new System.Windows.Forms.Button();
- ((System.ComponentModel.ISupportInitialize)(this.restartEmtpyIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.actionCurrentIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.restartSuccessIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.actionFailedIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.restartWarningIcon)).BeginInit();
- this.SuspendLayout();
- //
- // skipRestart
- //
- this.skipRestart.AutoSize = true;
- this.skipRestart.Location = new System.Drawing.Point(15, 423);
- this.skipRestart.Name = "skipRestart";
- this.skipRestart.Size = new System.Drawing.Size(260, 17);
- this.skipRestart.TabIndex = 2;
- this.skipRestart.Text = "&Skip. Mark this box to manually restart instance.";
- this.skipRestart.UseVisualStyleBackColor = true;
- this.skipRestart.CheckedChanged += new System.EventHandler(this.skipRestart_CheckedChanged);
- //
- // restartEmtpyIcon
- //
- this.restartEmtpyIcon.Image = global::WexInstaller.Properties.Resources.ActionOpen;
- this.restartEmtpyIcon.Location = new System.Drawing.Point(16, 117);
- this.restartEmtpyIcon.Name = "restartEmtpyIcon";
- this.restartEmtpyIcon.Size = new System.Drawing.Size(12, 14);
- this.restartEmtpyIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.restartEmtpyIcon.TabIndex = 3;
- this.restartEmtpyIcon.TabStop = false;
- //
- // restartActionLabel
- //
- this.restartActionLabel.AutoSize = true;
- this.restartActionLabel.Location = new System.Drawing.Point(34, 118);
- this.restartActionLabel.Name = "restartActionLabel";
- this.restartActionLabel.Size = new System.Drawing.Size(176, 13);
- this.restartActionLabel.TabIndex = 4;
- this.restartActionLabel.Text = "Attempt to restart existing service.";
- //
- // actionCurrentIcon
- //
- this.actionCurrentIcon.Image = global::WexInstaller.Properties.Resources.ActionCurrent;
- this.actionCurrentIcon.Location = new System.Drawing.Point(16, 117);
- this.actionCurrentIcon.Name = "actionCurrentIcon";
- this.actionCurrentIcon.Size = new System.Drawing.Size(12, 14);
- this.actionCurrentIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.actionCurrentIcon.TabIndex = 5;
- this.actionCurrentIcon.TabStop = false;
- this.actionCurrentIcon.Visible = false;
- //
- // restartSuccessIcon
- //
- this.restartSuccessIcon.Image = global::WexInstaller.Properties.Resources.ActionDone;
- this.restartSuccessIcon.Location = new System.Drawing.Point(16, 117);
- this.restartSuccessIcon.Name = "restartSuccessIcon";
- this.restartSuccessIcon.Size = new System.Drawing.Size(14, 14);
- this.restartSuccessIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.restartSuccessIcon.TabIndex = 6;
- this.restartSuccessIcon.TabStop = false;
- this.restartSuccessIcon.Visible = false;
- //
- // actionFailedIcon
- //
- this.actionFailedIcon.Image = global::WexInstaller.Properties.Resources.ActionError;
- this.actionFailedIcon.Location = new System.Drawing.Point(16, 117);
- this.actionFailedIcon.Name = "actionFailedIcon";
- this.actionFailedIcon.Size = new System.Drawing.Size(12, 14);
- this.actionFailedIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.actionFailedIcon.TabIndex = 7;
- this.actionFailedIcon.TabStop = false;
- this.actionFailedIcon.Visible = false;
- //
- // actionLabel
- //
- this.actionLabel.AutoSize = true;
- this.actionLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.actionLabel.Location = new System.Drawing.Point(16, 75);
- this.actionLabel.Name = "actionLabel";
- this.actionLabel.Size = new System.Drawing.Size(328, 16);
- this.actionLabel.TabIndex = 8;
- this.actionLabel.Text = "Click the [Execute] button to restart the existing service.";
- //
- // restartWarningIcon
- //
- this.restartWarningIcon.Image = global::WexInstaller.Properties.Resources.ActionWarning;
- this.restartWarningIcon.Location = new System.Drawing.Point(16, 137);
- this.restartWarningIcon.Name = "restartWarningIcon";
- this.restartWarningIcon.Size = new System.Drawing.Size(17, 15);
- this.restartWarningIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.restartWarningIcon.TabIndex = 9;
- this.restartWarningIcon.TabStop = false;
- this.restartWarningIcon.Visible = false;
- //
- // restartWarningLabel
- //
- this.restartWarningLabel.AutoSize = true;
- this.restartWarningLabel.Location = new System.Drawing.Point(37, 137);
- this.restartWarningLabel.Name = "restartWarningLabel";
- this.restartWarningLabel.Size = new System.Drawing.Size(98, 13);
- this.restartWarningLabel.TabIndex = 10;
- this.restartWarningLabel.Text = "Errors in Event Log";
- this.restartWarningLabel.Visible = false;
- //
- // errorList
- //
- this.errorList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.errorList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
- this.errorHeader});
- this.errorList.Location = new System.Drawing.Point(37, 179);
- this.errorList.Name = "errorList";
- this.errorList.Size = new System.Drawing.Size(143, 202);
- this.errorList.TabIndex = 11;
- this.errorList.UseCompatibleStateImageBehavior = false;
- this.errorList.View = System.Windows.Forms.View.Details;
- this.errorList.Visible = false;
- this.errorList.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.errorList_ItemSelectionChanged);
- //
- // errorHeader
- //
- this.errorHeader.Text = "Error Message";
- this.errorHeader.Width = 140;
- //
- // openConfigFile
- //
- this.openConfigFile.Location = new System.Drawing.Point(211, 179);
- this.openConfigFile.Name = "openConfigFile";
- this.openConfigFile.Size = new System.Drawing.Size(179, 23);
- this.openConfigFile.TabIndex = 12;
- this.openConfigFile.Text = "Open Config File in External Editor";
- this.openConfigFile.UseVisualStyleBackColor = true;
- this.openConfigFile.Visible = false;
- this.openConfigFile.Click += new System.EventHandler(this.openConfigFile_Click);
- //
- // ServerConfigStep1a
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Caption = "Service State";
- this.Controls.Add(this.openConfigFile);
- this.Controls.Add(this.errorList);
- this.Controls.Add(this.restartWarningLabel);
- this.Controls.Add(this.actionLabel);
- this.Controls.Add(this.restartWarningIcon);
- this.Controls.Add(this.skipRestart);
- this.Controls.Add(this.restartActionLabel);
- this.Controls.Add(this.restartEmtpyIcon);
- this.Controls.Add(this.actionFailedIcon);
- this.Controls.Add(this.restartSuccessIcon);
- this.Controls.Add(this.actionCurrentIcon);
- this.Name = "ServerConfigStep1a";
- this.Controls.SetChildIndex(this.actionCurrentIcon, 0);
- this.Controls.SetChildIndex(this.restartSuccessIcon, 0);
- this.Controls.SetChildIndex(this.actionFailedIcon, 0);
- this.Controls.SetChildIndex(this.restartEmtpyIcon, 0);
- this.Controls.SetChildIndex(this.restartActionLabel, 0);
- this.Controls.SetChildIndex(this.skipRestart, 0);
- this.Controls.SetChildIndex(this.restartWarningIcon, 0);
- this.Controls.SetChildIndex(this.actionLabel, 0);
- this.Controls.SetChildIndex(this.restartWarningLabel, 0);
- this.Controls.SetChildIndex(this.errorList, 0);
- this.Controls.SetChildIndex(this.openConfigFile, 0);
- ((System.ComponentModel.ISupportInitialize)(this.restartEmtpyIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.actionCurrentIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.restartSuccessIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.actionFailedIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.restartWarningIcon)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.CheckBox skipRestart;
- private System.Windows.Forms.PictureBox restartEmtpyIcon;
- private System.Windows.Forms.Label restartActionLabel;
- private System.Windows.Forms.PictureBox actionCurrentIcon;
- private System.Windows.Forms.PictureBox restartSuccessIcon;
- private System.Windows.Forms.PictureBox actionFailedIcon;
- private System.Windows.Forms.Label actionLabel;
- private System.Windows.Forms.PictureBox restartWarningIcon;
- private System.Windows.Forms.Label restartWarningLabel;
- private System.Windows.Forms.ListView errorList;
- private System.Windows.Forms.ColumnHeader errorHeader;
- private System.Windows.Forms.Button openConfigFile;
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel5.cs'
--- a/WexInstaller/Panels/ServerConfigPanel5.cs 2010-12-09 15:55:24 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel5.cs 1970-01-01 00:00:00 +0000
@@ -1,178 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Drawing;
-using System.Data;
-using System.Text;
-using System.Windows.Forms;
-using System.ServiceProcess;
-using System.Diagnostics;
-using System.Text.RegularExpressions;
-using System.IO;
-
-namespace WexInstaller.Panels
-{
- public partial class ServerConfigStep1a : InstallerPanel
- {
- private bool nextOk;
- private bool backOk;
- private bool executed;
-
- public ServerConfigStep1a(ServerConfigurationController controller)
- {
- InitializeComponent();
- Controller = controller;
- nextOk = true;
- backOk = true;
- }
-
- private ServerConfigurationController Controller { get; set; }
-
- public override void Activate()
- {
- if (!executed)
- {
- NextButton.Text = Properties.Resources.NextButtonExecuteText;
- NextButton.Refresh();
- }
- base.Activate();
- }
-
- public override bool NextOk()
- {
- return nextOk;
- }
-
- public override bool BackOk()
- {
- return backOk;
- }
-
- public override bool Next()
- {
- if (!executed)
- {
- NextButton.Text = Properties.Resources.NextButtonDefaultText;
- NextButton.Enabled = false;
- NextButton.Refresh();
-
- restartEmtpyIcon.Visible = false;
- actionFailedIcon.Visible = false;
- restartWarningIcon.Visible = false;
- restartWarningLabel.Visible = false;
- errorList.Visible = false;
- openConfigFile.Visible = false;
-
- actionCurrentIcon.Visible = true;
- actionCurrentIcon.BringToFront();
- actionCurrentIcon.Refresh();
-
- // Do work here.
- DateTime attemptTime = DateTime.Now;
- Controller.mysql_scm.Start(Controller.ServiceName);
-
- ServiceControllerStatus sc = Controller.mysql_scm.GetServiceStatus(Controller.ServiceName);
- if (sc == ServiceControllerStatus.Running)
- {
- actionCurrentIcon.Visible = false;
- restartSuccessIcon.Visible = true;
- restartSuccessIcon.BringToFront();
- executed = true;
- }
- else
- {
- actionCurrentIcon.Visible = false;
- actionFailedIcon.Visible = true;
- actionFailedIcon.BringToFront();
- actionFailedIcon.Refresh();
-
- TimeSpan searchPeriod = new TimeSpan(0, 0, 60); // 20 Second timeout.
- errorList.Items.Clear();
-
- EventLog myEventLog = new EventLog("Application", ".");
- foreach (EventLogEntry ele in myEventLog.Entries)
- {
- if (ele.EntryType == EventLogEntryType.Error &&
- ele.Source == "MySQL")
- {
- if ((ele.TimeWritten - attemptTime) < searchPeriod)
- {
- //eventlogs.AppendLine(ele.Message);
- string eleTitle = String.Format("MySQL Error {0}", ele.Index.ToString());
-
- ListViewItem item = new ListViewItem(eleTitle);
- item.Name = Regex.Replace(eleTitle, @" ", "");
- item.Tag = ele;
- item.SubItems.Add(String.Empty);
- errorList.Items.Add(item);
- }
- }
- }
-
- openConfigFile.Visible = (String.IsNullOrEmpty(Controller.ExistingConfigFile) == false);
- errorList.Visible = true;
- restartWarningIcon.Visible = true;
- restartWarningLabel.Visible = true;
- errorList.Refresh();
- restartWarningLabel.Refresh();
- restartWarningIcon.Refresh();
-
- NextButton.Text = Properties.Resources.NextButtonExecuteText;
- NextButton.Enabled = true;
- NextButton.Refresh();
- }
-
- return false;
- }
- return base.Next();
- }
-
- public override bool Back()
- {
- if (!executed)
- {
- NextButton.Text = Properties.Resources.NextButtonDefaultText;
- NextButton.Refresh();
- }
-
- return base.Back();
- }
-
-
- private void skipRestart_CheckedChanged(object sender, EventArgs e)
- {
- if (skipRestart.Checked == true)
- {
- executed = true;
- NextButton.Text = Properties.Resources.NextButtonDefaultText;
- NextButton.Enabled = true;
- NextButton.Refresh();
- }
- else
- {
- executed = false;
- NextButton.Text = Properties.Resources.NextButtonExecuteText;
- NextButton.Enabled = true;
- NextButton.Refresh();
- }
- }
-
- private void errorList_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
- {
- if (e.IsSelected)
- {
- EventLogEntry ele = e.Item.Tag as EventLogEntry;
- Debug.Assert(ele != null);
- DialogResult result = MessageBox.Show(String.Format("Error Details? \r\n\r\n {0}", ele.Message), "Error Details", MessageBoxButtons.OK, MessageBoxIcon.Information);
- }
- }
-
- private void openConfigFile_Click(object sender, EventArgs e)
- {
- if (File.Exists(Controller.ExistingConfigFile))
- {
- System.Diagnostics.Process.Start(Controller.ExistingConfigFile);
- }
- }
- }
-}
=== removed file 'WexInstaller/Panels/ServerConfigPanel5.resx'
--- a/WexInstaller/Panels/ServerConfigPanel5.resx 2010-09-11 18:20:24 +0000
+++ b/WexInstaller/Panels/ServerConfigPanel5.resx 1970-01-01 00:00:00 +0000
@@ -1,120 +0,0 @@
-ï»
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
\ No newline at end of file
=== modified file 'WexInstaller/Properties/Resources.Designer.cs'
--- a/WexInstaller/Properties/Resources.Designer.cs 2011-01-24 17:24:16 +0000
+++ b/WexInstaller/Properties/Resources.Designer.cs 2011-02-08 21:28:42 +0000
@@ -176,13 +176,6 @@
}
}
- internal static System.Drawing.Bitmap AddIn_Icon {
- get {
- object obj = ResourceManager.GetObject("AddIn_Icon", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
/// <summary>
/// Looks up a localized string similar to All MySQL Products.
/// </summary>
@@ -192,13 +185,6 @@
}
}
- internal static System.Drawing.Bitmap Application_Icon {
- get {
- object obj = ResourceManager.GetObject("Application_Icon", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
/// <summary>
/// Looks up a localized string similar to MySql Universal Installer.
/// </summary>
@@ -251,13 +237,6 @@
}
}
- internal static System.Drawing.Bitmap Connector_Icon {
- get {
- object obj = ResourceManager.GetObject("Connector_Icon", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
/// <summary>
/// Looks up a localized string similar to User must manually select which products and features will be installed..
/// </summary>
@@ -302,13 +281,6 @@
}
}
- internal static System.Drawing.Bitmap Documentation_Icon {
- get {
- object obj = ResourceManager.GetObject("Documentation_Icon", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
/// <summary>
/// Looks up a localized string similar to Downloading....
/// </summary>
@@ -619,13 +591,6 @@
}
}
- internal static System.Drawing.Bitmap Server_Icon {
- get {
- object obj = ResourceManager.GetObject("Server_Icon", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
internal static System.Drawing.Bitmap server_machine {
get {
object obj = ResourceManager.GetObject("server_machine", resourceCulture);
@@ -667,13 +632,6 @@
}
}
- internal static System.Drawing.Bitmap Tutorials_Icon {
- get {
- object obj = ResourceManager.GetObject("Tutorials_Icon", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
/// <summary>
/// Looks up a localized string similar to There as an error downloading the product catalog. Please check your connection and try again later..
/// </summary>
=== modified file 'WexInstaller/Properties/Resources.resx'
--- a/WexInstaller/Properties/Resources.resx 2011-02-07 22:47:46 +0000
+++ b/WexInstaller/Properties/Resources.resx 2011-02-08 21:28:42 +0000
@@ -187,15 +187,6 @@
<data name="about" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\about.rtf;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
- <data name="AddIn_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\AddOnsCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="Connector_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\ConnectorCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="Server_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\ServerCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
<data name="warning_sign" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\warning_sign.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -231,9 +222,6 @@
<data name="DriveSpaceNeeded" xml:space="preserve">
<value>Estimated Total Space required on drive: {0}</value>
</data>
- <data name="Application_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\ServerCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
<data name="dedicated_machine" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dedicated_machine.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -285,12 +273,6 @@
<data name="check_mark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\check_mark.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
- <data name="Documentation_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\DocsCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
- <data name="Tutorials_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\TutorialsCategoryIcon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
- </data>
<data name="Abort" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Abort.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -381,7 +363,6 @@
<data name="UpdateCaption" xml:space="preserve">
<value>Update?</value>
</data>
- <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="ActionOpen" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ActionOpen.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
=== modified file 'WexInstaller/WexInstaller.csproj'
--- a/WexInstaller/WexInstaller.csproj 2011-02-07 22:47:46 +0000
+++ b/WexInstaller/WexInstaller.csproj 2011-02-08 21:28:42 +0000
@@ -108,19 +108,9 @@
<Compile Include="Controls\ResourcesPage.Designer.cs">
<DependentUpon>ResourcesPage.cs</DependentUpon>
</Compile>
- <Compile Include="Core\Installer.cs" />
<Compile Include="Core\ListViewWex.cs">
<SubType>Component</SubType>
</Compile>
- <Compile Include="Core\Logger.cs" />
- <Compile Include="Core\LoggerListener.cs" />
- <Compile Include="Core\MirrorsXML.cs" />
- <Compile Include="Core\MsiInterop.cs" />
- <Compile Include="Core\Package.cs" />
- <Compile Include="Core\PluginManager.cs" />
- <Compile Include="Core\ProductCatalog.cs" />
- <Compile Include="Core\ProductCategory.cs" />
- <Compile Include="Core\ProductFeature.cs" />
<Compile Include="Core\ProductManifest.cs" />
<Compile Include="HiddenTabsControl.cs">
<SubType>Component</SubType>
@@ -128,7 +118,6 @@
<Compile Include="HiddenTabsControl.Designer.cs">
<DependentUpon>HiddenTabsControl.cs</DependentUpon>
</Compile>
- <Compile Include="InstallerConfiguration.cs" />
<Compile Include="Core\Options.cs" />
<Compile Include="Controls\InstallWizardControl.cs">
<SubType>UserControl</SubType>
@@ -196,7 +185,6 @@
<Compile Include="MainForm.Designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
- <Compile Include="Core\Product.cs" />
<Compile Include="Core\ProductManager.cs" />
<Compile Include="InstallWizard\AllConfigOverview.cs">
<SubType>UserControl</SubType>
@@ -204,13 +192,6 @@
<Compile Include="InstallWizard\AllConfigOverview.Designer.cs">
<DependentUpon>AllConfigOverview.cs</DependentUpon>
</Compile>
- <Compile Include="Panels\InstallerPanel.cs">
- <SubType>UserControl</SubType>
- </Compile>
- <Compile Include="Panels\InstallerPanel.Designer.cs">
- <DependentUpon>InstallerPanel.cs</DependentUpon>
- </Compile>
- <Compile Include="Core\ProductConfigurationController.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Controls\RemoveAllPage.cs">
@@ -297,9 +278,6 @@
<EmbeddedResource Include="InstallWizard\AllConfigOverview.resx">
<DependentUpon>AllConfigOverview.cs</DependentUpon>
</EmbeddedResource>
- <EmbeddedResource Include="Panels\InstallerPanel.resx">
- <DependentUpon>InstallerPanel.cs</DependentUpon>
- </EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@@ -327,7 +305,6 @@
</EmbeddedResource>
<None Include="app.config" />
<None Include="app.manifest" />
- <None Include="ClassDiagram1.cd" />
<None Include="Design.cd" />
</ItemGroup>
<ItemGroup>
@@ -417,7 +394,12 @@
<None Include="Resources\WelcomeStepsMaintenance.png" />
<None Include="Resources\WelcomeStepsInitial.png" />
</ItemGroup>
- <ItemGroup />
+ <ItemGroup>
+ <ProjectReference Include="..\WexInstaller.Core\WexInstaller.Core.csproj">
+ <Project>{64664A39-D6C5-4842-A879-BDD915DDDCCF}</Project>
+ <Name>WexInstaller.Core</Name>
+ </ProjectReference>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
=== modified file 'installer-vs2010.sln'
--- a/installer-vs2010.sln 2011-02-08 18:41:30 +0000
+++ b/installer-vs2010.sln 2011-02-08 21:28:42 +0000
@@ -22,6 +22,8 @@
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Examples", "Examples\Examples.wixproj", "{13190F97-5D72-4949-A77A-500A57DA44BB}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WexInstaller.Core", "WexInstaller.Core\WexInstaller.Core.csproj", "{64664A39-D6C5-4842-A879-BDD915DDDCCF}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -123,6 +125,18 @@
{13190F97-5D72-4949-A77A-500A57DA44BB}.Release|Win32.ActiveCfg = Release|x86
{13190F97-5D72-4949-A77A-500A57DA44BB}.Release|x86.ActiveCfg = Release|x86
{13190F97-5D72-4949-A77A-500A57DA44BB}.Release|x86.Build.0 = Release|x86
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Debug|Win32.ActiveCfg = Debug|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Release|Win32.ActiveCfg = Release|Any CPU
+ {64664A39-D6C5-4842-A879-BDD915DDDCCF}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20110208212842-hwrfwy4mrbo2bcsj.bundle
| Thread |
|---|
| • bzr commit into wex-installer-1.0 branch (reggie.burnett:318) | Reggie Burnett | 8 Feb |