lib/omnibus/packagers/msi.rb
def upgrade_code(val = NULL)
      if null?(val)
        @upgrade_code || raise(MissingRequiredAttribute.new(self, :upgrade_code, "2CD7259C-776D-4DDB-A4C8-6E544E580AA1"))
      else
        unless val.is_a?(String)
          raise InvalidValue.new(:upgrade_code, "be a String")
        end

        @upgrade_code = val
      end
    end
def upgrade_code(val = NULL)
      if null?(val)
        @upgrade_code || raise(MissingRequiredAttribute.new(self, :upgrade_code, "2CD7259C-776D-4DDB-A4C8-6E544E580AA1"))
      else
        unless val.is_a?(String)
          raise InvalidValue.new(:upgrade_code, "be a String")
        end

        @upgrade_code = val
      end
    end
@!group DSL methods
 --------------------------------------------------

 Set or retrieve the upgrade code.

 @example
   upgrade_code 'ABCD-1234'

 @param [Hash] val
   the UpgradeCode to set

 @return [Hash]
   the set UpgradeCode