public async Task <bool> DeployToDevice()
        {
            try
            {
                await deploy.SimplePSExecCommand(deploy.GetString("mvps_install"), "MVPS Hosts File Install");

                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }
Exemple #2
0
        public async Task <bool> DeployToDevice()
        {
            try
            {
                await deploy.SimplePSExecCommand(deploy.GetString("spark_install"), "Spark Communicator Install");

                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }
Exemple #3
0
        public async Task <bool> DeployToDevice()
        {
            try
            {
                await deploy.SimplePSExecCommand(deploy.GetString("ivue_install"), "Intellivue Install");

                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }
        public async Task <bool> DeployToDevice()
        {
            try
            {
                await deploy.SimplePSExecCommand(deploy.GetString("carbonblack_install"), "Carbon Black Install");

                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }
        public async Task <bool> DeployToDevice()
        {
            if (await deploy.SimplePSExecCommand(deploy.GetString("ghostscript_driver"), "Ghostscript PDF Driver Install"))
            {
                deploy.LogMessage("Ghostscript Driver Installed.");
            }
            else
            {
                deploy.LogMessage("Ghostscript Driver Install Failed!");
                return(false);
            }

            if (await deploy.SimplePSExecCommand(deploy.GetString("ghostscript_install"), "Ghostscript PDF Printer Install"))
            {
                deploy.LogMessage("Ghostscript PDF Printer Installed.");
            }
            else
            {
                deploy.LogMessage("Ghostscript PDF Printer Install Failed!");
                return(false);
            }

            return(true);
        }
        public async Task <bool> DeployToDevice()
        {
            try
            {
                deploy.LogMessage("Installing VPN Client... (Remember to open client and set FCBDD Profile to 'Public')");
                await deploy.SimplePSExecCommand(deploy.GetString("vpn_install"), "VPN Client Install");

                return(true);
            }
            catch (Exception)
            {
                deploy.LogMessage("##### NOTE:  Errors are expected due to the installation causing the device to momentarily disconnect.");
                // Return true because errors are expected and we don't want to stop any proceeding deployments.
                return(true);
            }
        }
Exemple #7
0
        private string GetTVAssignString()
        {
            var apiToken = deploy.GetString("teamviewer_apitoken");

            return(fullTempDirectory + deploy.GetString("teamviewer_assign_exe") + " -apitoken " + apiToken + " -datafile " + deploy.GetString("teamviewer_assign_json"));
        }