Release v1.0.24.0

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 107
Change Set: 36979cf791ed
Released: Sep 7, 2015
Updated: Sep 8, 2015 by oleg_s
Dev status: Stable Help Icon

Recommended Download

Application WixSharp.1.0.24.0.7z
application, 19729K, uploaded Sep 8, 2015 - 107 downloads

Release Notes

  • Added ManagedProject.UIInitialized event.
project.UIInitialized += UIInitialized;
...
static void UIInitialized(SetupEventArgs e)
{
    if (e.IsInstalling)
    {
        var conflictingProductCode = "{1D6432B4-E24D-405E-A4AB-D7E6D088C111}";

        if (AppSearch.IsProductInstalled(conflictingProductCode))
        {
            var msg = string.Format(
                        "Installed '{0}' is incompatible with this product.\n"+
                        "Setup will be aborted.",
                        AppSearch.GetProductName(conflictingProductCode));
            MessageBox.Show(msg, "Setup");
            e.Result = ActionResult.UserExit;
        }
    }
}
  • Added AppSearch C# routines
bool keyExist = AppSearch.RegKeyExists(Registry.LocalMachine,
                                      @"System\CurrentControlSet\services");

object regValue = AppSearch.GetRegValue(Registry.ClassesRoot, ".txt", null);

string code = AppSearch.GetProductCode("Windows Live Photo Common")
                       .FirstOrDefault();

string name = AppSearch.GetProductName("<GUID>");

bool installed = AppSearch.IsProductInstalled("<GUID>");

string[] products = AppSearch.GetProducts();
  • Issue#60: Adding QtCmdLineAction and FilePermission produces candle error
  • Issue#58: DisableSystemRestore is put onto the wrong element
  • Issue#57: External AppDomain cannot load WixSharp.dll

Reviews for this release

     
This is a fantastic product and much needed for Wix installs, especially if you want to call external functions in your C# based solution. In fact, Wix Toolset should look to incorporate it into their Visual Studio extension.
by SlikVik on Sep 9, 2015 at 12:13 PM