Beispiel #1
0
        public void CanDeployMsiFileApp()
        {
            var task = new DeployApplication
            {
                ApplicationManagementUrl =
                    "http://localhost/mnowcommunicationservice/applicationmanagement.svc",
                InstallFilePath          = @"C:\Temp\mCORECommandCenter_7.2.12524.msi",
                DeviceGroup              = "Test",
                DeviceGroupManagementUrl =
                    "http://localhost/mnowcommunicationservice/devicegroupmanagement.svc",
                ShouldRemovePreviousVersion = true,
            };

            var result = task.Execute();

            Assert.IsTrue(result);
        }
        public void CanDeployMsiFileApp()
        {
            var task = new DeployApplication
                           {
                               ApplicationManagementUrl =
                                   "http://localhost/mnowcommunicationservice/applicationmanagement.svc",
                               InstallFilePath = @"C:\Temp\mCORECommandCenter_7.2.12524.msi",
                               DeviceGroup = "Test",
                               DeviceGroupManagementUrl =
                                   "http://localhost/mnowcommunicationservice/devicegroupmanagement.svc",
                               ShouldRemovePreviousVersion = true,
                           };

            var result = task.Execute();

            Assert.IsTrue(result);
        }
Beispiel #3
0
        public void CanDeployCabFileApp()
        {
            var task = new DeployApplication
            {
                ApplicationManagementUrl =
                    "http://localhost/mnowcommunicationservice/applicationmanagement.svc",
                InstallFilePath          = @"C:\Temp\AmeyMobile_2.0.11805.cab",
                DeviceGroup              = "Test",
                DeviceGroupManagementUrl =
                    "http://localhost/mnowcommunicationservice/devicegroupmanagement.svc",
                Version = "2.0.11805"
            };

            var result = task.Execute();

            Assert.IsTrue(result);
        }
        public void CanDeployCabFileApp()
        {
            var task = new DeployApplication
                           {
                               ApplicationManagementUrl =
                                   "http://localhost/mnowcommunicationservice/applicationmanagement.svc",
                               InstallFilePath = @"C:\Temp\AmeyMobile_2.0.11805.cab",
                               DeviceGroup = "Test",
                               DeviceGroupManagementUrl =
                                   "http://localhost/mnowcommunicationservice/devicegroupmanagement.svc",
                               Version = "2.0.11805"
                           };

            var result = task.Execute();

            Assert.IsTrue(result);
        }