public void SetUpFixture()
        {
            WixDocument doc = new WixDocument();

            doc.LoadXml(GetWixXml());
            directoryRef = doc.RootDirectoryRef;
        }
        void AddNewChildElementsToDirectory()
        {
            WixDirectoryRefElement dirRef          = document.GetRootDirectoryRef();
            WixDirectoryElement    programFilesDir = dirRef.FirstChild as WixDirectoryElement;

            WixDirectoryElement sharpDevelopDir = programFilesDir.AddDirectory("SharpDevelop");

            sharpDevelopDir.Id = "SharpDevelopFolder";

            WixComponentElement component = sharpDevelopDir.AddComponent("SharpDevelopExe");

            component.Guid = "guid";
            WixFileElement file = component.AddFile("SharpDevelop.exe");

            file.Source = @"..\..\bin\SharpDevelop.exe";
        }