anchor.diff:  -define(PKG_COMMENT, "DDErl is a registered trademark of"
                        " K2 Informatics GmbH").
   -define(WXSFILE, "dderl.wxs").
  --define(WIXOBJFILE, "dderl.wixobj").
  +-define(MSIFILE, "dderl.msi").
   -define(TAB, "dderlids").
   -define(TABFILE, "dderlids.dets").
   
  
positive.code:                 dir -> {ok, Item#item.id}
              end
      end;
  get_id(undefined, Field, undefined) when is_list(Field) ->
      Id = "id_"++?H(Field),
      case dets:lookup(?TAB, Id) of
          [] ->
  
negative.code:     io:format("~s", [os:cmd("rebar generate")]),
      ok = file:set_cwd(CurDir).
  
  create_wxs(Verbose, Root) ->
      {ok, FileH} = file:open(filename:join([Root, "rel"
                                             , "wixsetup", ?WXSFILE])
                              , [write, raw]),
      {ok, PRODUCT_GUID} = get_id(Verbose, undefined, 'PRODUCT_GUID', undefined),
      {ok, UPGRADE_GUID} = get_id(Verbose, undefined, 'UPGRADE_GUID', undefined),
      {ok, ID} = get_id(Verbose, undefined, ?COMPANY, undefined),
      ok = file:write(FileH,
          "<?xml version='1.0' encoding='windows-1252'?>\n"
          "<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>\n\n"
  