rename net_2_1 to moonlight
[mcs.git] / tools / installutil / demo.cs
blobf3af4777254c1108fb1f30326112d0b3ce89dec6
1 using System;
2 using System.Configuration.Install;
3 using System.ComponentModel;
4 using System.Collections;
6 [RunInstaller(true)]
7 class MyInstall : Installer {
8 public MyInstall ()
10 Committed += new InstallEventHandler(MyInstaller_Committed);
13 // Event handler for 'Committed' event.
14 private void MyInstaller_Committed(object sender, InstallEventArgs e)
16 Console.WriteLine("");
17 Console.WriteLine("Committed Event occured.");
18 Console.WriteLine("");
21 public override void Install (IDictionary state)
23 Console.WriteLine ("Installing");
27 class X {
28 static void Main ()