Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Adding extension items

$
0
0
That is strange. As you mentioned "Burn Standard Application UI" is native (not managed) application. Meaning that MSI+Burn is as traditional as it gets.

Actually I was using the Burn Std App + UI themes, the code that generates it look like:
new Bundle("MyApp"){
                                Application = new LicenseBootstrapperApplication()
                                {
                                    LicensePath = @"res\license.rtf", LogoFile = @"res\Logo.png",
                                };
                Compiler.WixSourceGenerated += (document) =>
                {
                    var bundle = document.Root.Select("Bundle");
                    if (bundle != null)
                    {
                        XNamespace balNs = "http://schemas.microsoft.com/wix/BalExtension";
                        var wixApp = bundle.Descendants(balNs + "WixStandardBootstrapperApplication").FirstOrDefault();
                        if (wixApp != null)
                        {
                            wixApp.SetAttributeValue("ThemeFile", @"res\RtfLargeTheme.xml");
                        }
                    }
                };

                var bootstapperFile = Compiler.Build(bootstrapper);
I downloaded RtfLargeTheme from https://github.com/wixtoolset/wix3/tree/develop/src/ext/BalExtension/wixstdba/Resources
If you open it by using Wix's ThmViewer then you can notice the diff between the traditional UI and the Burn UI.

It's probably feasible to adjust the theme so that the UI looks more traditionally, but I already faced a ton of issues with it, for example the file name for logo should be "Logo.png", otherwise the package generation will fail.

Now I am trying silent bootstrap app provided by WixSharp...

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>