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

New Post: Simplified Bootstrapper & Managed UI

$
0
0
> Is that even possible to get the same outcome as with "simplified bootstrapper" meaning the main msi shows welcome dialog and checks whether the prerequisite product is installed and invokes its setup in the event of it's missing?

No fortunately it's not. Though you can use a silent (no-UI) bootstrapper. This way your bootstrapper will take care about checking/installing your prerequisite and then displaying your usual main msi UI. It is almost what you want. There will be no bootstrapper UI that is true but the msi UI will only be displayed after the prerequisite step is complete. The following is a sample of bootstrapping .NET to your product setup:
var bootstrapper =
        new Bundle("My Product Suite",
            new PackageGroupRef("NetFx40Web"),
            new MsiPackage(productMsi) { Id = "MyProductPackageId", DisplayInternalUI = true });

bootstrapper.Version = new Version("1.0.0.0");
bootstrapper.UpgradeCode = new Guid("6f330b47-2577-43ad-9095-1861bb25889c");
bootstrapper.Application = new SilentBootstrapperApplication();

bootstrapper.Build();

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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