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

New Post: Bootstrapper, .MSI Uninstall UI doesn't show

$
0
0
Hello, Oleg.
I Use Wix# to create .exe-bundle, this bundle installs two packages: 1) .net4.5 (if missing) 2) my msi-installer.
As example I use "Bootstrapper\WixBootstrapper_NoU".

What i do:
1) I compile project.
2) Then I execute .exe-file first time, - it shows installation UI of the msi-file, and i install it successfully.
3) After that I execute .exe-file second time - and it DOESN'T SHOW uninstall UI of the msi-file, i wait some time and check - my program was uninstalled.

What i want:
I want to show user uninstall UI of the msi-file. If i use example "Bootstrapper\WixBootstrapper_UI", i see bootstrapper UI. What should i do? (Or is it even possible)?

Here is my code:
(object "project" is a simple msi-installer)
            string productMsi = Compiler.BuildMsi(project);
            var bootstrapper = new Bundle(@"Установщик MyProgram",
                            new PackageGroupRef(@"NetFx45Web"),
                            new MsiPackage(productMsi) { DisplayInternalUI = true })
           {
                OutFileName = @"MyProgram.Setup",
                Version = new Version("1.0.0.0"),
                Application = new SilentBootstrapperApplication(),
                UpgradeCode = new Guid("E1C17AD2-790F-4AE4-BE25-9DB79BDDAF74")
            };
            bootstrapper.Build();
Thank you for your answer!

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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