anchor.diff:          Id = ""
           Overridable = "no"
           Value = ""
  +    }
  +
  +/// Parameters for WiX Upgrade
  +type WiXUpgrade =
  +    {
  +        Id: Guid
  +        UpgradeVersion: string
  +    }
  +    override w.ToString() = "<Upgrade Id=\"" + w.Id.ToString("D") + "\">" + w.UpgradeVersion + "</Upgrade>"
  +
  +/// Default value for WiX Upgrade
  +let WiXUpgradeDefaults = 
  +    {
  +        Id = Guid.Empty
  +        UpgradeVersion = ""
  +    }
  +
  +/// Parameters for WiX Upgrade Version
  +type WiXUpgradeVersion =
  +    {
  +        OnlyDetect : string
  +        Minimum : string
  +        Maximum : string
  +        Property : string
  +        IncludeMinimum : string
  +        IncludeMaximum : string
  +    }
  +    override w.ToString() = "<UpgradeVersion Minimum=\"" + w.Minimum + "\" OnlyDetect=\"" + w.OnlyDetect + "\" IncludeMinimum=\"" + w.IncludeMinimum + "\" Maximum=\"" + w.Maximum 
  +                            + "\" IncludeMaximum=\"" + w.IncludeMaximum + "\" Property=\"" + w.Property + "\" />"
  +
  +/// Default value for WiX Upgrade
  +let WiXUpgradeVersionDefaults = 
  +    {
  +        OnlyDetect = ""
  +        Minimum = ""
  +        Maximum = ""
  +        Property = ""
  +        IncludeMinimum = ""
  +        IncludeMaximum = ""
  +    }
  +
  +/// Parameters for WiX Major Upgrade
  +type WiXMajorUpgrade = 
  +    {
  +        Schedule : string
  +        AllowDowngrades : string
  +        DowngradeErrorMessage : string
  +    }
  +    override w.ToString() = "<MajorUpgrade Schedule=\"" + w.Schedule + "\" AllowDowngrades=\"" + w.AllowDowngrades + "\" DowngradeErrorMessage=\"" + w.DowngradeErrorMessage + "\" />"
  +
  +/// Default value for WiX Major Upgrade
  +let WiXMajorUpgradeDefaults =
  +    {
  +        Schedule = ""
  +        AllowDowngrades = ""
  +        DowngradeErrorMessage = ""
       }
   
   /// Generates WiX Template with specified file name (you can prepend location too)
  
positive.code:             Manufacturer=\"@Product.Publisher@\"
              UpgradeCode=\"@Product.UpgradeGuid@\"
              >
          
              <!-- Auto Increment Package Id for every release -->
              <Package
                Id=\"*\"
  
negative.code:         ProductVersion = ""
          ProductPublisher = ""
          UpgradeGuid = Guid.Empty
          Upgrade = ""
          MajorUpgrade = ""
          UIRefs = ""
          WiXVariables = ""
          Directories = ""
  