Example #1
0
        private Config()
        {
            config = new Hashtable();
            string startPath = EnvInfo.GetStartPath();
            int    OSBits    = EnvInfo.GetSystemBits();

            if (OSBits == 32)
            {
                OSBits = 86;
            }
            config.Add("InstExePath", startPath + "\\tools\\DriverInst_x" + OSBits + ".exe");
            config.Add("DriverPath", startPath + "\\tools\\driver\\google_x" + OSBits + "_inf\\android_winusb.inf");
            config.Add("ADBExePath", startPath + "\\tools\\51adb.exe");
            config.Add("AppDirPath", startPath + "\\app\\");
            config.Add("Wav", startPath + "\\tools\\wav.wav");
            config.Add("HOST", "http://10.2.26.88/");
            config.Add("API", "http://10.2.26.88/api/a/type/xml/interface/");
        }
Example #2
0
        public void InstallVCRuntime()
        {
            string fileName = EnvInfo.GetStartPath() + "\\tools\\vcredist_x86.exe";

            EnvInfo.StartProcess(fileName, "");
        }