ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject [3/3] git commit: 3412 - Ambari-SCOM MSI have to perform rollback in case of interrupted installation
Date Sat, 01 Feb 2014 00:15:02 GMT
3412 - Ambari-SCOM MSI have to perform rollback in case of interrupted installation


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9302f101
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9302f101
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9302f101

Branch: refs/heads/branch-1.4.4
Commit: 9302f1017d61b1aef11a3c69453d033621041e27
Parents: 168cc0a
Author: tbeerbower <tbeerbower@hortonworks.com>
Authored: Fri Jan 31 19:14:06 2014 -0500
Committer: tbeerbower <tbeerbower@hortonworks.com>
Committed: Fri Jan 31 19:14:27 2014 -0500

----------------------------------------------------------------------
 contrib/ambari-scom/msi/build.cmd               |  16 +-
 .../ambari-winpkg/resources/winpkg.utils.psm1   |   1 -
 .../ambari-winpkg/scripts/install.ps1           |  37 +-
 .../ambari-winpkg/scripts/uninstall.ps1         |  12 +-
 .../msi/src/AmbariSetupTools/winpkg.cmd         |  15 -
 .../msi/src/AmbariSetupTools/winpkg.ps1         |   3 +
 .../msi/src/AmbariSetupTools/winpkg.utils.psm1  |   1 -
 contrib/ambari-scom/msi/src/GUI/App.config      |  19 -
 .../ambari-scom/msi/src/GUI/Form1.Designer.cs   | 352 -------------------
 contrib/ambari-scom/msi/src/GUI/Form1.cs        | 276 ---------------
 contrib/ambari-scom/msi/src/GUI/Form1.resx      | 139 --------
 .../ambari-scom/msi/src/GUI/GUI_Ambari.csproj   | 101 ------
 contrib/ambari-scom/msi/src/GUI/Program.cs      |  38 --
 .../msi/src/GUI/Properties/AssemblyInfo.cs      |  52 ---
 .../src/GUI/Properties/Resources.Designer.cs    |  87 -----
 .../msi/src/GUI/Properties/Resources.resx       | 130 -------
 .../msi/src/GUI/Properties/Settings.Designer.cs |  46 ---
 .../msi/src/GUI/Properties/Settings.settings    |  20 --
 contrib/ambari-scom/msi/src/GUI_Ambari.sln      |  31 ++
 .../ambari-scom/msi/src/GUI_Ambari/App.config   |  19 +
 .../msi/src/GUI_Ambari/Form1.Designer.cs        | 348 ++++++++++++++++++
 contrib/ambari-scom/msi/src/GUI_Ambari/Form1.cs | 302 ++++++++++++++++
 .../ambari-scom/msi/src/GUI_Ambari/Form1.resx   | 140 ++++++++
 .../msi/src/GUI_Ambari/GUI_Ambari.csproj        | 102 ++++++
 .../ambari-scom/msi/src/GUI_Ambari/Program.cs   |  81 +++++
 .../src/GUI_Ambari/Properties/AssemblyInfo.cs   |  49 +++
 .../GUI_Ambari/Properties/Resources.Designer.cs |  75 ++++
 .../src/GUI_Ambari/Properties/Resources.resx    | 130 +++++++
 .../GUI_Ambari/Properties/Settings.Designer.cs  |  42 +++
 .../src/GUI_Ambari/Properties/Settings.settings |  20 ++
 .../msi/src/Result/Ambari_Result.csproj         |  92 -----
 contrib/ambari-scom/msi/src/Result/App.config   |  19 -
 contrib/ambari-scom/msi/src/Result/Program.cs   |  43 ---
 .../msi/src/Result/Properties/AssemblyInfo.cs   |  52 ---
 .../src/Result/Properties/Resources.Designer.cs |  87 -----
 .../msi/src/Result/Properties/Resources.resx    | 130 -------
 .../src/Result/Properties/Settings.Designer.cs  |  45 ---
 .../msi/src/Result/Properties/Settings.settings |  20 --
 contrib/ambari-scom/msi/src/ambari-scom.wxs     |  15 +-
 39 files changed, 1402 insertions(+), 1785 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/build.cmd
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/build.cmd b/contrib/ambari-scom/msi/build.cmd
index e5a28b8..9b6a655 100644
--- a/contrib/ambari-scom/msi/build.cmd
+++ b/contrib/ambari-scom/msi/build.cmd
@@ -27,12 +27,8 @@ powershell.exe -NoProfile -InputFormat none -ExecutionPolicy unrestricted -comma
 
 echo Building GUI
 set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319
-call %msBuildDir%\msbuild.exe "%cd%\src\GUI\GUI_Ambari.csproj"  || exit /b 1
-copy /y "%cd%\src\GUI\bin\Debug\GUI_Ambari.exe" "%cd%\src\bin\GUI_Ambari.exe" || exit /b 1
-
-echo Building Result Messagebox
-call %msBuildDir%\msbuild.exe "%cd%\src\Result\Ambari_Result.csproj"  || exit /b 1
-copy /y "%cd%\src\Result\bin\Debug\Ambari_Result.exe" "%cd%\src\bin\Ambari_Result.exe" || exit /b 1
+call %msBuildDir%\msbuild.exe "%cd%\src\GUI_Ambari\GUI_Ambari.csproj"  || exit /b 1
+copy /y "%cd%\src\GUI_Ambari\bin\Debug\GUI_Ambari.exe" "%cd%\src\bin\GUI_Ambari.exe" || exit /b 1
 
 echo Building MSI
 pushd "%cd%\src" || exit /b 1
@@ -45,14 +41,14 @@ echo Cleaning
 del /f /q "%cd%\src\ambari-scom.wixobj"  || exit /b 1
 del /f /q "%cd%\src\ambari-scom.wixpdb"  || exit /b 1
 del /f /q "%cd%\src\ambari-scom.msi"  || exit /b 1
+attrib -r -s -h "%cd%\src\GUI_Ambari.v11.suo" || exit /b 1
+del /f /q "%cd%\src\GUI_Ambari.v11.suo"  || exit /b 1
 del /f /q "%cd%\src\bin\GUI_Ambari.exe"  || exit /b 1
 del /f /q "%cd%\src\bin\Ambari_Result.exe"  || exit /b 1
 del /f /q "%cd%\src\AmbariPackages\ambari-winpkg.zip" || exit /b 1
 del /f /q "%cd%\src\AmbariPackages\ambari-winpkg\resources\*.jar"  || exit /b 1
 del /f /q "%cd%\src\AmbariPackages\ambari-winpkg\resources\*.zip"  || exit /b 1
 del /f /q "%cd%\src\AmbariPackages\ambari-winpkg\resources\Hadoop-Metrics-SQLServer-CREATE.ddl"  || exit /b 1
-rd /s /q "%cd%\src\GUI\bin"  || exit /b 1
-rd /s /q "%cd%\src\GUI\obj"  || exit /b 1
-rd /s /q "%cd%\src\Result\bin"  || exit /b 1
-rd /s /q "%cd%\src\Result\obj"  || exit /b 1
+rd /s /q "%cd%\src\GUI_Ambari\bin"  || exit /b 1
+rd /s /q "%cd%\src\GUI_Ambari\obj"  || exit /b 1
 echo Done

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/resources/winpkg.utils.psm1
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/resources/winpkg.utils.psm1 b/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/resources/winpkg.utils.psm1
index 8ff3276..5ac454a 100644
--- a/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/resources/winpkg.utils.psm1
+++ b/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/resources/winpkg.utils.psm1
@@ -14,7 +14,6 @@
 ### limitations under the License.
 
 
-### NOTE: This file is common across the Windows installer projects for Hadoop Core, Hive, and Pig.
 ### This dependency is currently managed by convention.
 ### If you find yourself needing to change something in this file, it's likely that you're
 ### either doing something that's more easily done outside this file or is a bigger change

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/install.ps1
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/install.ps1 b/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/install.ps1
index 09b38d1..a762373 100644
--- a/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/install.ps1
+++ b/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/install.ps1
@@ -132,6 +132,7 @@ function Main( $scriptDir )
 	[Environment]::SetEnvironmentVariable("AMB_DATA_DIR", $destination, "Machine")
 	if (!(test-path $destination)) {New-Item -path $destination -ItemType directory}
 	$path = [Environment]::CurrentDirectory
+	$env:AMB_INSTALL_PATH = [Environment]::CurrentDirectory
 	$Package_trim =  Split-Path -Path $path -Parent
 	Write-Log "Copying Ambari-Scom.Jar"
 	$jar = Join-Path $Package_trim "resources\ambari-scom-*.jar"
@@ -149,6 +150,17 @@ function Main( $scriptDir )
 	Copy-Item -Force $jar $destination
 	Write-log "Pushing Ambari-SCOM and SQL Server JDBC to each node"
 	$current = @()
+    $failed=@()
+ 	$failed_file = join-path $env:TMP "ambari_failed.txt"
+	$db_file = join-path $env:TMP "db_ambari_failed.txt"
+ 	if (Test-Path $failed_file)
+ 	{
+ 		Remove-Item $failed_file -Force
+ 	}
+	if (Test-Path $db_file)
+	{
+		Remove-Item $db_file -Force
+	}
 	$SQL_SERVER_NAME = $env:SQL_SERVER_NAME
 	if (($SQL_SERVER_NAME  -ieq "localhost") -or ($SQL_SERVER_NAME  -ieq "127.0.0.1"))
 	{
@@ -192,6 +204,7 @@ function Main( $scriptDir )
 					{
 						Out-File -FilePath $log -InputObject "Modifying $name.xml" -Append -Encoding "UTF8"
 						Write-Host "Modifying $name.xml"
+                        Write-Output "Modifying $name.xml"
 						[xml]$xml = Get-Content $xml_file
 						$arguments = ($xml.service.arguments).split(" ")
 						for ($i = 0; $i -lt $arguments.length; $i++){
@@ -220,15 +233,22 @@ function Main( $scriptDir )
 				{
 					Out-File -FilePath $log -InputObject "Creating MonitoringDatabase environment" -Append -Encoding "UTF8"
 					Write-HOST "Creating MonitoringDatabase environment"
+                    Write-Output "Creating MonitoringDatabase environment"
 					$sql_path = Join-Path $destination "\Hadoop-Metrics-SQLServer-CREATE.ddl"
-					$cmd ="sqlcmd -s $SQL_SERVER_NAME -i $sql_path"
-					invoke-cmd $cmd 
+					$cmd ="sqlcmd -s $SQL_SERVER_NAME -i $sql_path -U $SQL_SERVER_LOGIN -P $SQL_SERVER_PASSWORD"
+					$check = invoke-cmd $cmd 
+					if ($check -like "*failed*")
+					{
+						Write-Output "Cannot create database"
+						Out-File -FilePath $log -InputObject "Cannot create database" -Append -Encoding "UTF8"
+					}
 				}
 				$hdp_home = [Environment]::GetEnvironmentVariable("HADOOP_HOME","Machine")
 				if ($hdp_home -ne $null)
 				{
 					Out-File -FilePath $log -InputObject "Installing data sink on $server" -Append -Encoding "UTF8"
 					Write-Host "Installing data sink on $server"
+                    Write-Output "Installing data sink on $server"
 					$metrics = Join-Path $hdp_home "bin\hadoop-metrics2.properties"
 					if (-not (test-path $metrics))
 					{
@@ -242,15 +262,18 @@ function Main( $scriptDir )
 					}
 					Out-File -FilePath $log -InputObject "Modifying CLASSPATH" -Append -Encoding "UTF8"
 					Write-Host "Modifying CLASSPATH"
+                    Write-Output "Modifying CLASSPATH"
 					$names = @("namenode","secondarynamenode","datanode","historyserver","jobtracker","tasktracker")
 					foreach ($name in $names)
 					{
 						modify_xml $name
 					}
 					Write-Host "Start services flag is $START_SERVICES"
+                    Write-Output "Start services flag is $START_SERVICES"
 					if ($START_SERVICES -like "*yes*")
 					{
 						Write-Host "Starting services"
+                        Write-Output "Starting services"
 						Out-File -FilePath $log -InputObject "Starting HDP services" -Append -Encoding "UTF8"
 						$hdp_root= [Environment]::GetEnvironmentVariable("HADOOP_NODE_INSTALL_ROOT","Machine")
 						$cmd = Join-Path $hdp_root "start_local_hdp_services.cmd"
@@ -261,14 +284,21 @@ function Main( $scriptDir )
 				{	
 					Out-File -FilePath $log -InputObject "Cleaning things on SQL server" -Append -Encoding "UTF8"
 					Write-Host "Cleaning things on SQL server"
+                    Write-Output "Cleaning things on SQL server"
 					$log_new = Join-Path $ENV:TMP "ambari_install.log"
 					Copy-Item $log $log_new
 					Remove-Item $Destination -force -Recurse
 				}
 			} -ArgumentList ($server,$SQL_SERVER_NAME,$SQL_SERVER_PORT,$SQL_SERVER_LOGIN,$SQL_SERVER_PASSWORD,$destination,$ambari_metrics,$START_SERVICES)
+            if ($out -like "*Cannot create database*")
+			{
+                Write-Log "DB creation on $server failed."
+				Out-File -FilePath $db_file -InputObject $server -Append -Encoding "UTF8"
+			}
 			if ($out -eq $null)
 			{
 				Write-Log "Installation on $server failed. Please check host availability"
+                Out-File -FilePath $failed_file -InputObject $server -Append -Encoding "UTF8"
 			}
 			else
 			{
@@ -333,7 +363,10 @@ try
 }
 catch
 {
+	
 	Write-Log $_.Exception.Message "Failure" $_
+	Write-Log "Starting rollback"
+	invoke-ps "$env:AMB_INSTALL_PATH\uninstall.ps1"
 	exit 1
 }
 finally

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/uninstall.ps1
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/uninstall.ps1 b/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/uninstall.ps1
index 10a403f..c3f3546 100644
--- a/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/uninstall.ps1
+++ b/contrib/ambari-scom/msi/src/AmbariPackages/ambari-winpkg/scripts/uninstall.ps1
@@ -47,8 +47,16 @@ function Main( $scriptDir )
     Write-Log "UNINSTALLATION STARTED"
 	Write-Log "Reading Ambari and HDP layout"
 	$destination= [Environment]::GetEnvironmentVariable("AMB_DATA_DIR","Machine")
-	$ENV:AMB_LAYOUT = Join-Path $destination "ambariproperties.txt"
-	$ENV:HDP_LAYOUT = Join-Path $destination "clusterproperties.txt"
+	if (-not (Test-Path ENV:AMB_LAYOUT))
+	{
+		$ENV:AMB_LAYOUT = Join-Path $destination "ambariproperties.txt"
+	}
+	if (-not (Test-Path ENV:HDP_LAYOUT) -or ($ENV:HDP_LAYOUT -notlike "*:"))
+	{
+		$ENV:HDP_LAYOUT = Join-Path $destination "clusterproperties.txt"
+	}
+	Write-Log "Ambari layout = $ENV:AMB_LAYOUT" 
+	Write-Log "Cluster layout = $ENV:HDP_LAYOUT" 
 	Export-ClusterLayoutIntoEnv $ENV:AMB_LAYOUT "amb"
 	Export-ClusterLayoutIntoEnv $ENV:HDP_LAYOUT "hdp"
 	$jar = Join-Path $destination "\metrics-sink-*.jar"

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.cmd
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.cmd b/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.cmd
index e87ee90..0e750cd 100644
--- a/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.cmd
+++ b/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.cmd
@@ -14,20 +14,5 @@ rem See the License for the specific language governing permissions and
 rem limitations under the License.
 
 @echo off
-@rem Licensed to the Apache Software Foundation (ASF) under one or more
-@rem contributor license agreements.  See the NOTICE file distributed with
-@rem this work for additional information regarding copyright ownership.
-@rem The ASF licenses this file to You under the Apache License, Version 2.0
-@rem (the "License"); you may not use this file except in compliance with
-@rem the License.  You may obtain a copy of the License at
-@rem
-@rem     http://www.apache.org/licenses/LICENSE-2.0
-@rem
-@rem Unless required by applicable law or agreed to in writing, software
-@rem distributed under the License is distributed on an "AS IS" BASIS,
-@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@rem See the License for the specific language governing permissions and
-@rem limitations under the License.
-
 powershell.exe -NoProfile -InputFormat none -ExecutionPolicy unrestricted -command %~dp0winpkg.ps1 %*
 goto :eof

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.ps1
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.ps1 b/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.ps1
index f383652..d24e8b0 100644
--- a/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.ps1
+++ b/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.ps1
@@ -495,14 +495,17 @@ function Main( $winpkgBinPath, $Package, $Action )
 	    [Environment]::CurrentDirectory = $pwd
 		if ($env:HDP_LAYOUT -notlike "*:*")
 		{
+			Write-Log "Setting HDP_LAYOUT" 
 			$HDP_LAYOUT = [Environment]::GetEnvironmentVariable("HDP_LAYOUT","Machine")
 			if ($HDP_LAYOUT -eq $null)
 			{
+				Write-Log "Setting HDP_LAYOUT from HDP installed" 
 				$HNIR= [Environment]::GetEnvironmentVariable("HADOOP_NODE_INSTALL_ROOT","Machine")
 				$ENV:HDP_LAYOUT = "$HNIR\cluster.properties"
 			}
 			else
 			{
+				Write-Log "Setting HDP_LAYOUT from system environment" 
 				$ENV:HDP_LAYOUT=$HDP_LAYOUT
 			}
 		}

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.utils.psm1
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.utils.psm1 b/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.utils.psm1
index 8ff3276..5ac454a 100644
--- a/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.utils.psm1
+++ b/contrib/ambari-scom/msi/src/AmbariSetupTools/winpkg.utils.psm1
@@ -14,7 +14,6 @@
 ### limitations under the License.
 
 
-### NOTE: This file is common across the Windows installer projects for Hadoop Core, Hive, and Pig.
 ### This dependency is currently managed by convention.
 ### If you find yourself needing to change something in this file, it's likely that you're
 ### either doing something that's more easily done outside this file or is a bigger change

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/App.config
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/App.config b/contrib/ambari-scom/msi/src/GUI/App.config
deleted file mode 100644
index 58f0a29..0000000
--- a/contrib/ambari-scom/msi/src/GUI/App.config
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-     http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License. -->
-
-<configuration>
-    <startup> 
-        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
-    </startup>
-</configuration>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Form1.Designer.cs
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Form1.Designer.cs b/contrib/ambari-scom/msi/src/GUI/Form1.Designer.cs
deleted file mode 100644
index df3168a..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Form1.Designer.cs
+++ /dev/null
@@ -1,352 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements.  See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License.  You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-
-namespace GUI_Ambari
-{
-    partial class Form1
-    {
-        /// <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 Windows Form 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.Install = new System.Windows.Forms.Button();
-            this.AID = new System.Windows.Forms.TextBox();
-            this.Browse = new System.Windows.Forms.Button();
-            this.Sname = new System.Windows.Forms.TextBox();
-            this.label1 = new System.Windows.Forms.Label();
-            this.asda = new System.Windows.Forms.Label();
-            this.label2 = new System.Windows.Forms.Label();
-            this.Sport = new System.Windows.Forms.TextBox();
-            this.label3 = new System.Windows.Forms.Label();
-            this.Slogin = new System.Windows.Forms.TextBox();
-            this.label4 = new System.Windows.Forms.Label();
-            this.Spassword = new System.Windows.Forms.TextBox();
-            this.Cancel = new System.Windows.Forms.Button();
-            this.Reset = new System.Windows.Forms.Button();
-            this.BrowseDirs = new System.Windows.Forms.FolderBrowserDialog();
-            this.Spassworde = new System.Windows.Forms.CheckBox();
-            this.label5 = new System.Windows.Forms.Label();
-            this.Cbrowse = new System.Windows.Forms.Button();
-            this.Cpath = new System.Windows.Forms.TextBox();
-            this.OpenFile = new System.Windows.Forms.OpenFileDialog();
-            this.label6 = new System.Windows.Forms.Label();
-            this.SQLDbrowse = new System.Windows.Forms.Button();
-            this.SQLDpath = new System.Windows.Forms.TextBox();
-            this.Cstart = new System.Windows.Forms.CheckBox();
-            this.SuspendLayout();
-            // 
-            // Install
-            // 
-            this.Install.Location = new System.Drawing.Point(136, 282);
-            this.Install.Name = "Install";
-            this.Install.Size = new System.Drawing.Size(75, 23);
-            this.Install.TabIndex = 0;
-            this.Install.Text = "Install";
-            this.Install.UseVisualStyleBackColor = true;
-            this.Install.Click += new System.EventHandler(this.Install_Click);
-            // 
-            // AID
-            // 
-            this.AID.Location = new System.Drawing.Point(12, 24);
-            this.AID.Name = "AID";
-            this.AID.Size = new System.Drawing.Size(280, 20);
-            this.AID.TabIndex = 1;
-            this.AID.Text = "C:\\Ambari";
-            // 
-            // Browse
-            // 
-            this.Browse.Location = new System.Drawing.Point(298, 21);
-            this.Browse.Name = "Browse";
-            this.Browse.Size = new System.Drawing.Size(75, 23);
-            this.Browse.TabIndex = 2;
-            this.Browse.Text = "Browse";
-            this.Browse.UseVisualStyleBackColor = true;
-            this.Browse.Click += new System.EventHandler(this.Browse_Click);
-            // 
-            // Sname
-            // 
-            this.Sname.Location = new System.Drawing.Point(12, 63);
-            this.Sname.Name = "Sname";
-            this.Sname.Size = new System.Drawing.Size(280, 20);
-            this.Sname.TabIndex = 3;
-            // 
-            // label1
-            // 
-            this.label1.AutoSize = true;
-            this.label1.Location = new System.Drawing.Point(12, 9);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(161, 13);
-            this.label1.TabIndex = 4;
-            this.label1.Text = "Ambari SCOM package directory";
-            // 
-            // asda
-            // 
-            this.asda.AutoSize = true;
-            this.asda.Location = new System.Drawing.Point(12, 47);
-            this.asda.Name = "asda";
-            this.asda.Size = new System.Drawing.Size(111, 13);
-            this.asda.TabIndex = 5;
-            this.asda.Text = "SQL Server hostname";
-            // 
-            // label2
-            // 
-            this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(12, 86);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(83, 13);
-            this.label2.TabIndex = 7;
-            this.label2.Text = "SQL Server port";
-            // 
-            // Sport
-            // 
-            this.Sport.Location = new System.Drawing.Point(12, 102);
-            this.Sport.Name = "Sport";
-            this.Sport.Size = new System.Drawing.Size(280, 20);
-            this.Sport.TabIndex = 6;
-            this.Sport.Text = "1433";
-            this.Sport.TextChanged += new System.EventHandler(this.Sport_TextChanged);
-            // 
-            // label3
-            // 
-            this.label3.AutoSize = true;
-            this.label3.Location = new System.Drawing.Point(12, 125);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(87, 13);
-            this.label3.TabIndex = 9;
-            this.label3.Text = "SQL Server login";
-            // 
-            // Slogin
-            // 
-            this.Slogin.Location = new System.Drawing.Point(12, 141);
-            this.Slogin.Name = "Slogin";
-            this.Slogin.Size = new System.Drawing.Size(280, 20);
-            this.Slogin.TabIndex = 8;
-            // 
-            // label4
-            // 
-            this.label4.AutoSize = true;
-            this.label4.Location = new System.Drawing.Point(12, 164);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(110, 13);
-            this.label4.TabIndex = 11;
-            this.label4.Text = "SQL Server password";
-            // 
-            // Spassword
-            // 
-            this.Spassword.Location = new System.Drawing.Point(12, 180);
-            this.Spassword.Name = "Spassword";
-            this.Spassword.Size = new System.Drawing.Size(277, 20);
-            this.Spassword.TabIndex = 10;
-            this.Spassword.UseSystemPasswordChar = true;
-            // 
-            // Cancel
-            // 
-            this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
-            this.Cancel.Location = new System.Drawing.Point(217, 282);
-            this.Cancel.Name = "Cancel";
-            this.Cancel.Size = new System.Drawing.Size(75, 23);
-            this.Cancel.TabIndex = 12;
-            this.Cancel.Text = "Cancel";
-            this.Cancel.UseVisualStyleBackColor = true;
-            this.Cancel.Click += new System.EventHandler(this.Cancel_Click);
-            // 
-            // Reset
-            // 
-            this.Reset.Location = new System.Drawing.Point(298, 282);
-            this.Reset.Name = "Reset";
-            this.Reset.Size = new System.Drawing.Size(75, 23);
-            this.Reset.TabIndex = 13;
-            this.Reset.Text = "Reset";
-            this.Reset.UseVisualStyleBackColor = true;
-            this.Reset.Click += new System.EventHandler(this.Reset_Click);
-            // 
-            // BrowseDirs
-            // 
-            this.BrowseDirs.RootFolder = System.Environment.SpecialFolder.MyComputer;
-            // 
-            // Spassworde
-            // 
-            this.Spassworde.AutoSize = true;
-            this.Spassworde.Location = new System.Drawing.Point(295, 182);
-            this.Spassworde.Name = "Spassworde";
-            this.Spassworde.Size = new System.Drawing.Size(78, 17);
-            this.Spassworde.TabIndex = 14;
-            this.Spassworde.Text = "Show pass";
-            this.Spassworde.UseVisualStyleBackColor = true;
-            this.Spassworde.CheckedChanged += new System.EventHandler(this.Spassworde_CheckedChanged);
-            // 
-            // label5
-            // 
-            this.label5.AutoSize = true;
-            this.label5.Location = new System.Drawing.Point(12, 241);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(219, 13);
-            this.label5.TabIndex = 17;
-            this.label5.Text = "Path to cluster layout file (clusterpoperties.txt)";
-            // 
-            // Cbrowse
-            // 
-            this.Cbrowse.Location = new System.Drawing.Point(298, 253);
-            this.Cbrowse.Name = "Cbrowse";
-            this.Cbrowse.Size = new System.Drawing.Size(75, 23);
-            this.Cbrowse.TabIndex = 16;
-            this.Cbrowse.Text = "Browse";
-            this.Cbrowse.UseVisualStyleBackColor = true;
-            this.Cbrowse.Click += new System.EventHandler(this.Cbrowse_Click);
-            // 
-            // Cpath
-            // 
-            this.Cpath.Location = new System.Drawing.Point(12, 256);
-            this.Cpath.Name = "Cpath";
-            this.Cpath.Size = new System.Drawing.Size(277, 20);
-            this.Cpath.TabIndex = 15;
-            // 
-            // OpenFile
-            // 
-            this.OpenFile.DefaultExt = "*.txt";
-            // 
-            // label6
-            // 
-            this.label6.AutoSize = true;
-            this.label6.Location = new System.Drawing.Point(12, 203);
-            this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(222, 13);
-            this.label6.TabIndex = 20;
-            this.label6.Text = "Path to SQL Server JDBC Driver (sqljdbc4.jar)";
-            // 
-            // SQLDbrowse
-            // 
-            this.SQLDbrowse.Location = new System.Drawing.Point(298, 215);
-            this.SQLDbrowse.Name = "SQLDbrowse";
-            this.SQLDbrowse.Size = new System.Drawing.Size(75, 23);
-            this.SQLDbrowse.TabIndex = 19;
-            this.SQLDbrowse.Text = "Browse";
-            this.SQLDbrowse.UseVisualStyleBackColor = true;
-            this.SQLDbrowse.Click += new System.EventHandler(this.SQLDbrowse_Click);
-            // 
-            // SQLDpath
-            // 
-            this.SQLDpath.Location = new System.Drawing.Point(12, 218);
-            this.SQLDpath.Name = "SQLDpath";
-            this.SQLDpath.Size = new System.Drawing.Size(277, 20);
-            this.SQLDpath.TabIndex = 18;
-            // 
-            // Cstart
-            // 
-            this.Cstart.AutoSize = true;
-            this.Cstart.Location = new System.Drawing.Point(12, 283);
-            this.Cstart.Name = "Cstart";
-            this.Cstart.Size = new System.Drawing.Size(92, 17);
-            this.Cstart.TabIndex = 21;
-            this.Cstart.Text = "Start Services";
-            this.Cstart.UseVisualStyleBackColor = true;
-            // 
-            // Form1
-            // 
-            this.AcceptButton = this.Install;
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.CancelButton = this.Cancel;
-            this.ClientSize = new System.Drawing.Size(375, 308);
-            this.ControlBox = false;
-            this.Controls.Add(this.Cstart);
-            this.Controls.Add(this.label6);
-            this.Controls.Add(this.SQLDbrowse);
-            this.Controls.Add(this.SQLDpath);
-            this.Controls.Add(this.label5);
-            this.Controls.Add(this.Cbrowse);
-            this.Controls.Add(this.Cpath);
-            this.Controls.Add(this.Spassworde);
-            this.Controls.Add(this.Reset);
-            this.Controls.Add(this.Cancel);
-            this.Controls.Add(this.label4);
-            this.Controls.Add(this.Spassword);
-            this.Controls.Add(this.label3);
-            this.Controls.Add(this.Slogin);
-            this.Controls.Add(this.label2);
-            this.Controls.Add(this.Sport);
-            this.Controls.Add(this.asda);
-            this.Controls.Add(this.label1);
-            this.Controls.Add(this.Sname);
-            this.Controls.Add(this.Browse);
-            this.Controls.Add(this.AID);
-            this.Controls.Add(this.Install);
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
-            this.MaximizeBox = false;
-            this.MinimizeBox = false;
-            this.Name = "Form1";
-            this.ShowIcon = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Text = "Ambari-SCOM setup";
-            this.TopMost = true;
-            this.Load += new System.EventHandler(this.Form1_Load);
-            this.ResumeLayout(false);
-            this.PerformLayout();
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Button Install;
-        private System.Windows.Forms.TextBox AID;
-        private System.Windows.Forms.Button Browse;
-        private System.Windows.Forms.TextBox Sname;
-        private System.Windows.Forms.Label label1;
-        private System.Windows.Forms.Label asda;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.TextBox Sport;
-        private System.Windows.Forms.Label label3;
-        private System.Windows.Forms.TextBox Slogin;
-        private System.Windows.Forms.Label label4;
-        private System.Windows.Forms.TextBox Spassword;
-        private System.Windows.Forms.Button Cancel;
-        private System.Windows.Forms.Button Reset;
-        private System.Windows.Forms.FolderBrowserDialog BrowseDirs;
-        private System.Windows.Forms.CheckBox Spassworde;
-        private System.Windows.Forms.Label label5;
-        private System.Windows.Forms.Button Cbrowse;
-        private System.Windows.Forms.TextBox Cpath;
-        private System.Windows.Forms.OpenFileDialog OpenFile;
-        private System.Windows.Forms.Label label6;
-        private System.Windows.Forms.Button SQLDbrowse;
-        private System.Windows.Forms.TextBox SQLDpath;
-        private System.Windows.Forms.CheckBox Cstart;
-       
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Form1.cs
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Form1.cs b/contrib/ambari-scom/msi/src/GUI/Form1.cs
deleted file mode 100644
index 9d6cc8c..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Form1.cs
+++ /dev/null
@@ -1,276 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements.  See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License.  You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-
-using System;
-using System.IO;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using System.Text.RegularExpressions;
-using System.Diagnostics;
-
-namespace GUI_Ambari
-{
-    public partial class Form1 : Form
-    {
-        public Form1()
-        {
-
-            InitializeComponent();
-
-        }
-
-        private void Form1_Load(object sender, EventArgs e)
-        {
-            Sname.Text = Environment.GetEnvironmentVariable("computername");
-
-
-        }
-
-        private void Browse_Click(object sender, EventArgs e)
-        {
-            BrowseDirs.ShowDialog();
-
-            if (BrowseDirs.SelectedPath.ToString().Contains(" "))
-            {
-                MessageBox.Show("Please select correct log directory. Directories containing spaces are disallowed", "Error");
-
-
-            }
-            else if (BrowseDirs.SelectedPath.ToString().Length == 3)
-            {
-                MessageBox.Show("Please select correct log directory. Root directories are disallowed", "Error");
-
-            }
-            else
-            {
-
-                AID.Text = BrowseDirs.SelectedPath;
-            }
-        }
-
-        private void Sport_TextChanged(object sender, EventArgs e)
-        {
-            string test = Sport.Text.ToString();
-
-
-            if (!Regex.IsMatch(test, "[0-9]") || (Convert.ToInt32(test) > 65536))
-            {
-                Sport.Clear();
-            }
-
-        }
-
-        private void Install_Click(object sender, EventArgs e)
-        {
-            if (string.IsNullOrEmpty(AID.Text) || string.IsNullOrEmpty(Sname.Text) || string.IsNullOrEmpty(Sport.Text) || string.IsNullOrEmpty(Slogin.Text) || string.IsNullOrEmpty(Spassword.Text) || string.IsNullOrEmpty(SQLDpath.Text))
-            {
-                MessageBox.Show("Please fill in all fields", "Error");
-            }
-            else if (string.IsNullOrEmpty(AID.Text) || AID.Text.Contains(" ") || !AID.Text.Contains("\\") || !AID.Text.Contains(":") || (AID.Text.Length < 4))
-            {
-                MessageBox.Show("Please enter correct Ambari directory", "Error");
-            }
-            else if (string.IsNullOrEmpty(SQLDpath.Text) || SQLDpath.Text.Contains(" ") || !SQLDpath.Text.Contains("\\") || !SQLDpath.Text.Contains(":") || (SQLDpath.Text.Length < 4)|| !SQLDpath.Text.Contains(".jar"))
-            {
-                MessageBox.Show("Please enter correct SQL JDBC driver path", "Error");
-            }
-            else
-            {
-                //if (!(Sname.Text == Environment.GetEnvironmentVariable("computername")))
-                //{
-                //    Validate_Hosts();
-                //}
-                //else
-                //{
-                    Generate_Ambari_Props();
-                //}
-                
-            }
-        }
-
-        private void Cancel_Click(object sender, EventArgs e)
-        {
-            DialogResult result = MessageBox.Show("Do you really want to exit?", "Warning", MessageBoxButtons.YesNo);
-            if (result == DialogResult.Yes)
-            {
-                Environment.Exit(1);
-            }
-
-        }
-
-        private void Reset_Click(object sender, EventArgs e)
-        {
-            AID.Text = "C:\\Ambari";
-            Sname.Text = Environment.GetEnvironmentVariable("computername");
-            Sport.Text = "1433";
-            Slogin.Clear();
-            Spassword.Clear();
-            Spassworde.Checked = false;
-            Cpath.Clear();
-            SQLDpath.Clear();
-            Cstart.Checked = false;
-        }
-
-        private void Spassworde_CheckedChanged(object sender, EventArgs e)
-        {
-            if (Spassworde.Checked)
-            {
-                Spassword.UseSystemPasswordChar = false;
-                Spassword.Text = Spassword.Text;
-            }
-            else
-            {
-                Spassword.UseSystemPasswordChar = true;
-                Spassword.Text = Spassword.Text;
-            }
-        }
-        private void Generate_Ambari_Props()
-        {
-            string res = Environment.GetEnvironmentVariable("appdata") + "\\amb_install";
-            if (System.IO.Directory.Exists(res))
-            {
-                System.IO.Directory.Delete(res, true);
-                System.IO.Directory.CreateDirectory(res);
-            }
-            if (!System.IO.Directory.Exists(res))
-            {
-                System.IO.Directory.CreateDirectory(res);
-            }
-            string cp = res + "\\ambariproperties.txt";
-            using (StreamWriter sw = File.CreateText(cp))
-            {
-                sw.WriteLine("AMB_DATA_DIR=" + AID.Text);
-                sw.WriteLine("SQL_SERVER_NAME=" + Sname.Text);
-                sw.WriteLine("SQL_SERVER_LOGIN=" + Slogin.Text);
-                sw.WriteLine("SQL_SERVER_PASSWORD=" + Spassword.Text);
-                sw.WriteLine("SQL_SERVER_PORT=" + Sport.Text);
-                sw.WriteLine("SQL_JDBC_PATH=" + SQLDpath.Text);
-                if (Cstart.Checked == true)
-                {
-                    Environment.SetEnvironmentVariable("START_SERVICES", "yes", EnvironmentVariableTarget.Machine);
-                }
-
-            }
-            Environment.SetEnvironmentVariable("HDP_LAYOUT", Cpath.Text, EnvironmentVariableTarget.Machine);
-            Environment.Exit(0);
-        }
-        private void Validate_Hosts()
-        {
-
-            foreach (Control c in this.Controls)
-            {
-                c.Enabled = false;
-            }
-            string failed = "";
-
-            failed = ping(Sname.Text, failed);
-
-
-
-            if (!string.IsNullOrEmpty(failed))
-            {
-                DialogResult result = MessageBox.Show(new Form() { TopMost = true }, "SQL Server host is not accessible:\r\n" + failed + "Do you want to continue installation with inaccessible SQL Server host?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
-                if (result == DialogResult.Yes)
-                {
-                    Generate_Ambari_Props();
-                }
-                else
-                {
-                    foreach (Control c in this.Controls)
-                    {
-                        c.Enabled = true;
-                    }
-                }
-            }
-            
-        }
-        private string ping(string host, string failed)
-        {
-
-            Process process = new Process();
-            process.StartInfo.FileName = "C:\\windows\\system32\\ping.exe";
-            process.StartInfo.Arguments = host;
-            process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
-            process.Start();
-            process.WaitForExit();
-            int code = process.ExitCode;
-            if (code == 1)
-            {
-                failed = failed + host + "\r\n";
-            }
-
-            return failed;
-        }
-
-        private void Cbrowse_Click(object sender, EventArgs e)
-        {
-           OpenFileDialog OpenFile = new OpenFileDialog();
-           OpenFile.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";
-           OpenFile.InitialDirectory = @"C:\";
-           OpenFile.Title = "Please select Ambari properties file";
-           OpenFile.ShowDialog();
-          
-           if (OpenFile.FileName.ToString().Contains(" "))
-            {
-                MessageBox.Show("Please select correct path. Path containing spaces are disallowed", "Error");
-
-
-            }
-           else if (OpenFile.FileName.ToString().Length <= 4)
-            {
-                MessageBox.Show("Please select correct path", "Error");
-
-            }
-            else
-            {
-
-                Cpath.Text = OpenFile.FileName.ToString();
-            }
-        }
-
-        private void SQLDbrowse_Click(object sender, EventArgs e)
-        {
-            OpenFileDialog OpenFile = new OpenFileDialog();
-            OpenFile.Filter = "jar files (*.jar)|*.jar|All files (*.*)|*.*";
-            OpenFile.InitialDirectory = @"C:\";
-            OpenFile.Title = "Please select SQL JDBC driver.";
-            OpenFile.ShowDialog();
-
-
-            if (OpenFile.FileName.ToString().Contains(" "))
-            {
-                MessageBox.Show("Please select correct path. Path containing spaces are disallowed", "Error");
-
-
-            }
-            else if (OpenFile.FileName.ToString().Length <= 4)
-            {
-                MessageBox.Show("Please select correct path", "Error");
-
-            }
-            else
-            {
-                SQLDpath.Text = OpenFile.FileName.ToString();
-            }
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Form1.resx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Form1.resx b/contrib/ambari-scom/msi/src/GUI/Form1.resx
deleted file mode 100644
index f0005b1..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Form1.resx
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-     http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License. -->
-
-<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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <metadata name="BrowseDirs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>17, 17</value>
-  </metadata>
-  <metadata name="OpenFile.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>129, 17</value>
-  </metadata>
-</root>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/GUI_Ambari.csproj
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/GUI_Ambari.csproj b/contrib/ambari-scom/msi/src/GUI/GUI_Ambari.csproj
deleted file mode 100644
index a2e9cc0..0000000
--- a/contrib/ambari-scom/msi/src/GUI/GUI_Ambari.csproj
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-     http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License. -->
-
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{48B27787-5714-4C28-9F9D-8B2A02237BAD}</ProjectGuid>
-    <OutputType>WinExe</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>GUI_Ambari</RootNamespace>
-    <AssemblyName>GUI_Ambari</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <PlatformTarget>AnyCPU</PlatformTarget>
-    <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' ">
-    <PlatformTarget>AnyCPU</PlatformTarget>
-    <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.Core" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Deployment" />
-    <Reference Include="System.Drawing" />
-    <Reference Include="System.Windows.Forms" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Form1.cs">
-      <SubType>Form</SubType>
-    </Compile>
-    <Compile Include="Form1.Designer.cs">
-      <DependentUpon>Form1.cs</DependentUpon>
-    </Compile>
-    <Compile Include="Program.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <EmbeddedResource Include="Form1.resx">
-      <DependentUpon>Form1.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="Properties\Resources.resx">
-      <Generator>ResXFileCodeGenerator</Generator>
-      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
-      <SubType>Designer</SubType>
-    </EmbeddedResource>
-    <Compile Include="Properties\Resources.Designer.cs">
-      <AutoGen>True</AutoGen>
-      <DependentUpon>Resources.resx</DependentUpon>
-    </Compile>
-    <None Include="Properties\Settings.settings">
-      <Generator>SettingsSingleFileGenerator</Generator>
-      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
-    </None>
-    <Compile Include="Properties\Settings.Designer.cs">
-      <AutoGen>True</AutoGen>
-      <DependentUpon>Settings.settings</DependentUpon>
-      <DesignTimeSharedInput>True</DesignTimeSharedInput>
-    </Compile>
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="App.config" />
-  </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

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Program.cs
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Program.cs b/contrib/ambari-scom/msi/src/GUI/Program.cs
deleted file mode 100644
index 59de9d6..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Program.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements.  See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License.  You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace GUI_Ambari
-{
-    static class Program
-    {
-        /// <summary>
-        /// The main entry point for the application.
-        /// </summary>
-        [STAThread]
-        static void Main()
-        {
-            Application.EnableVisualStyles();
-            Application.SetCompatibleTextRenderingDefault(false);
-            Application.Run(new Form1());
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Properties/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Properties/AssemblyInfo.cs b/contrib/ambari-scom/msi/src/GUI/Properties/AssemblyInfo.cs
deleted file mode 100644
index 7f9c77f..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements.  See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License.  You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-
-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("GUI_Ambari")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("GUI_Ambari")]
-[assembly: AssemblyCopyright("Copyright ©  2013")]
-[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("ad830f21-dcaf-4391-852b-6de098861879")]
-
-// 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")]

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Properties/Resources.Designer.cs
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Properties/Resources.Designer.cs b/contrib/ambari-scom/msi/src/GUI/Properties/Resources.Designer.cs
deleted file mode 100644
index 20f852d..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements.  See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License.  You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-
-//------------------------------------------------------------------------------
-// <auto-generated>
-//     This code was generated by a tool.
-//     Runtime Version:4.0.30319.18052
-//
-//     Changes to this file may cause incorrect behavior and will be lost if
-//     the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace GUI_Ambari.Properties
-{
-
-
-    /// <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 ((resourceMan == null))
-                {
-                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GUI_Ambari.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;
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Properties/Resources.resx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Properties/Resources.resx b/contrib/ambari-scom/msi/src/GUI/Properties/Resources.resx
deleted file mode 100644
index 97b0bb7..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Properties/Resources.resx
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-     http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License. -->
-
-<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.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: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" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-            </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" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-            </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

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Properties/Settings.Designer.cs
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Properties/Settings.Designer.cs b/contrib/ambari-scom/msi/src/GUI/Properties/Settings.Designer.cs
deleted file mode 100644
index 98559d7..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements.  See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License.  You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-
-//------------------------------------------------------------------------------
-// <auto-generated>
-//     This code was generated by a tool.
-//     Runtime Version:4.0.30319.18052
-//
-//     Changes to this file may cause incorrect behavior and will be lost if
-//     the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace GUI_Ambari.Properties
-{
-
-
-    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
-    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
-    {
-
-        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
-        public static Settings Default
-        {
-            get
-            {
-                return defaultInstance;
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI/Properties/Settings.settings
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI/Properties/Settings.settings b/contrib/ambari-scom/msi/src/GUI/Properties/Settings.settings
deleted file mode 100644
index 5f90ec3..0000000
--- a/contrib/ambari-scom/msi/src/GUI/Properties/Settings.settings
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-     http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License. -->
-
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
-  <Profiles>
-    <Profile Name="(Default)" />
-  </Profiles>
-  <Settings />
-</SettingsFile>

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI_Ambari.sln
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI_Ambari.sln b/contrib/ambari-scom/msi/src/GUI_Ambari.sln
new file mode 100644
index 0000000..88bb830
--- /dev/null
+++ b/contrib/ambari-scom/msi/src/GUI_Ambari.sln
@@ -0,0 +1,31 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+#Licensed to the Apache Software Foundation (ASF) under one or more
+#contributor license agreements.  See the NOTICE file distributed with
+#this work for additional information regarding copyright ownership.
+#The ASF licenses this file to You under the Apache License, Version 2.0
+#(the "License"); you may not use this file except in compliance with
+#the License.  You may obtain a copy of the License at
+#     http:#www.apache.org/licenses/LICENSE-2.0
+#Unless required by applicable law or agreed to in writing, software
+#distributed under the License is distributed on an "AS IS" BASIS,
+#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#See the License for the specific language governing permissions and
+#limitations under the License.
+# Visual Studio Express 2012 for Windows Desktop
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUI_Ambari", "GUI_Ambari\GUI_Ambari.csproj", "{48B27787-5714-4C28-9F9D-8B2A02237BAD}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{48B27787-5714-4C28-9F9D-8B2A02237BAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{48B27787-5714-4C28-9F9D-8B2A02237BAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{48B27787-5714-4C28-9F9D-8B2A02237BAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{48B27787-5714-4C28-9F9D-8B2A02237BAD}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

http://git-wip-us.apache.org/repos/asf/ambari/blob/9302f101/contrib/ambari-scom/msi/src/GUI_Ambari/App.config
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/msi/src/GUI_Ambari/App.config b/contrib/ambari-scom/msi/src/GUI_Ambari/App.config
new file mode 100644
index 0000000..c0f10ed
--- /dev/null
+++ b/contrib/ambari-scom/msi/src/GUI_Ambari/App.config
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+     http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License. -->
+<!-- test -->
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
+    </startup>
+</configuration>


Mime
View raw message