* AssemblyInstaller.cs: stubbed
authorGert Driesen <drieseng@users.sourceforge.net>
Fri, 11 Jun 2004 06:05:10 +0000 (06:05 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Fri, 11 Jun 2004 06:05:10 +0000 (06:05 -0000)
* ManagedInstallerClass.cs: stubbed
* TransactedInstaller.cs: stubbed

svn path=/trunk/mcs/; revision=29266

mcs/class/System.Configuration.Install/System.Configuration.Install/AssemblyInstaller.cs [new file with mode: 0644]
mcs/class/System.Configuration.Install/System.Configuration.Install/ChangeLog
mcs/class/System.Configuration.Install/System.Configuration.Install/ManagedInstallerClass.cs [new file with mode: 0644]
mcs/class/System.Configuration.Install/System.Configuration.Install/TransactedInstaller.cs [new file with mode: 0644]

diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/AssemblyInstaller.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/AssemblyInstaller.cs
new file mode 100644 (file)
index 0000000..8ed0fd6
--- /dev/null
@@ -0,0 +1,115 @@
+// System.Configuration.Install.AssemblyInstaller.cs
+//
+// Author:
+//     Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) Novell
+//
+
+using System.Collections;
+using System.ComponentModel;
+using System.Reflection;
+
+namespace System.Configuration.Install
+{
+       public class AssemblyInstaller : Installer
+       {
+               public AssemblyInstaller ()
+               {
+               }
+
+               public AssemblyInstaller (Assembly assembly, string[] commandLine)
+               {
+                       _assembly = assembly;
+                       _commandLine = commandLine;
+                       _useNewContext = true;
+               }
+
+               public AssemblyInstaller (string filename, string[] commandLine)
+               {
+                       Path = System.IO.Path.GetFullPath (filename);
+                       _commandLine = commandLine;
+                       _useNewContext = true;
+               }
+
+               [MonoTODO]
+               public static void CheckIfInstallable (string assemblyName)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override void Commit (IDictionary savedState)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override void Install (IDictionary savedState)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override void Rollback (IDictionary savedState)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public override void Uninstall (IDictionary savedState)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               public Assembly Assembly {
+                       get {
+                               return _assembly;
+                       }
+                       set {
+                               _assembly = value;
+                       }
+               }
+
+               public string[] CommandLine {
+                       get {
+                               return _commandLine;
+                       }
+                       set {
+                               _commandLine = value;
+                       }
+               }
+
+               public override string HelpText {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+               public string Path {
+                       get {
+                               if (_assembly == null)
+                                       return null;
+                               
+                               return _assembly.Location;
+                       }
+                       set {
+                               if (value == null)
+                                       _assembly = null;
+
+                               _assembly = Assembly.LoadFrom (value);
+                       }
+               }
+               public bool UseNewContext {
+                       get {
+                               return _useNewContext;
+                       }
+                       set {
+                               _useNewContext = value;
+                       }
+               }
+
+               private Assembly _assembly;
+               private string[] _commandLine;
+               private bool _useNewContext;
+       }
+}
index 4b735d269e751170765286d8d16db20ac12f8a7f..c5f021e4aeac93a2edef9d024f8ad25d46c53e54 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-11  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * AssemblyInstaller.cs: stubbed
+       * ManagedInstallerClass.cs: stubbed
+       * TransactedInstaller.cs: stubbed
+
 2004-05-16  Gert Driesen (drieseng@users.sourceforge.net)
 
        * IManagedInstaller.cs: fixed signature
diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/ManagedInstallerClass.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/ManagedInstallerClass.cs
new file mode 100644 (file)
index 0000000..4ef9c5d
--- /dev/null
@@ -0,0 +1,33 @@
+// System.Configuration.Install.ManagedInstallerClass.cs
+//
+// Author:
+//     Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) Novell
+//
+
+using System.Runtime.InteropServices;
+
+namespace System.Configuration.Install
+{
+       [GuidAttribute ("42EB0342-0393-448f-84AA-D4BEB0283595")]
+       [ComVisible (true)]
+       public class ManagedInstallerClass : IManagedInstaller
+       {
+               public ManagedInstallerClass ()
+               {
+               }
+
+               [MonoTODO]
+               public static void InstallHelper (string[] args)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               int IManagedInstaller.ManagedInstall (string argString, int hInstall)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}
diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install/TransactedInstaller.cs b/mcs/class/System.Configuration.Install/System.Configuration.Install/TransactedInstaller.cs
new file mode 100644 (file)
index 0000000..a10e596
--- /dev/null
@@ -0,0 +1,29 @@
+// System.Configuration.Install.TransactedInstaller.cs
+//
+// Author:
+//     Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) Novell
+//
+
+using System.Collections;
+
+namespace System.Configuration.Install
+{
+       public class TransactedInstaller : Installer
+       {
+               public TransactedInstaller ()
+               {
+               }
+
+               [MonoTODO]
+               public override void Install (IDictionary savedState)
+               {
+               }
+
+               [MonoTODO]
+               public override void Uninstall (IDictionary savedState)
+               {
+               }
+       }
+}