예제 #1
0
        public override void CopyAndConfigureUx(string LayoutLocation, WixElement Wix)
        {
            string srcBinDir = WixTest.Settings.WixToolsDirectory;

            // Copy the TestUX binaries
            LayoutManager.CopyFile(Path.Combine(srcBinDir, base.UxBinaryFilename), Path.Combine(LayoutLocation, base.UxBinaryFilename));
            foreach (string uxFile in TestUX.TestUxBinaries)
            {
                string[] paths      = uxFile.Split(new char[] { ';' });
                string   srcUxFile  = Path.Combine(srcBinDir, paths.Length == 2 ? paths[1] : paths[0]);
                string   destUxFile = Path.Combine(LayoutLocation, paths[0]);
                LayoutManager.CopyFile(srcUxFile, destUxFile);
            }
        }