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

New Post: Project Won't Build if Using SilentBootstrapperApplication

$
0
0
I have a single project componenet and the Wix# project to build the bootstrapper and installer in one solution. All works well if I simply accept the default bootstrapper application, but if I use the SilentBootstrapperApplication as show below, I get the errors also shown below when building the solution.
var msiFile = Compiler.BuildMsi(project);

var bootstrapper =
            new Bundle("MyProject",
                new MsiPackage(msiFile))
            {
                Version = assemblyVersion,
                UpgradeCode = new Guid("5ECB207C-4150-47F8-8A06-0E9509B7A5E4"),
                OutDir = Environment.GetEnvironmentVariable("OutDir") + @"\Installer\" + assemblyVersion,
                Manufacturer = "MyCo",
                Compressed = true
            };

        bootstrapper.Application = new SilentBootstrapperApplication();
        bootstrapper.Build();
<snip>The Windows Installer XML variable !(wix.WixMbaPrereqPackageId) is unknown</snip>
<snip>The Windows Installer XML variable !(wix.WixMbaPrereqLicenseUrl) is unknown</snip>

Where am I going wrong? I cannot see what I've missed. Other than that, I'm liking Wix# a lot!

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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