예제 #1
0
파일: TestUX.cs 프로젝트: Jeremiahf/wix3
        public override void CopyAndConfigureUx(string LayoutLocation, WixElement Wix)
        {
            string srcBinDir = WixTest.Settings.WixToolDirectory;

            // 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);
            }
        }
예제 #2
0
파일: UxBase.cs 프로젝트: Jeremiahf/wix3
 public abstract void CopyAndConfigureUx(string LayoutLocation, WixElement Wix);
예제 #3
0
        public void CreateAndInitializeWixBundleManifestWithMinimumDefaults()
        {
            Wix = new OM.WixAuthoringOM.WixElement();
            Wix.Xmlns = "http://schemas.microsoft.com/wix/2006/wi";
            Wix.Bundle = new OM.WixAuthoringOM.Bundle.BundleElement();
            Wix.Bundle.Compressed = "yes";
            Wix.Bundle.Version = "1.0.0.0";
            Wix.Bundle.Name = "Burn Chainer Test";
            Wix.Bundle.AboutUrl = "http://burn/about.html";
            Wix.Bundle.DisableModify = "no";
            Wix.Bundle.DisableRemove = "no";
            Wix.Bundle.DisableRepair = "no";
            Wix.Bundle.HelpTelephone = "555-555-5555";
            Wix.Bundle.HelpUrl = "http://burn/help.html";
            Wix.Bundle.Manufacturer = "BurnPublisher";
            Wix.Bundle.UpdateUrl = "http://burn/update.html";
            Wix.Bundle.UpgradeCode = "{3A882C10-C361-4bdf-91A6-D13C4DB71F7B}";

            if (null != this.Ux) Wix.Bundle.UX = this.Ux.GetWixBundleUXElement();

            Wix.Bundle.Chain = new OM.WixAuthoringOM.Bundle.Chain.ChainElement();
        }