<ラベル名> : 定義されたラベルが使われていません。

要因
ラベルが定義されていますが,参照されていません。このラベルを無視します。
対処
ラベル名を参照するgotoステートメントを指定してください。
誤った指定例

DEFINE
{
  const string ExeVersion = "7.1";
  const string FileVersion = "7.1";
  integer sloop_max = 0;
}
MAIN
{
  if (ExeVersion == FileVersion )
ErrorLabel:   // ラベルに関連するgotoステートメントがありません
     AIT_LogMessage("Setup(Japanese)For Windows-Start");
     if (AIT_FileExists("#setup.exe") == 0)
        sloop_max = 0;
     endif;
  endif;
}

ラベルには,対応するgotoステートメントが必要です。gotoステートメントなしでラベルステートメントを定義すると,そのラベルステートメントは無視されます。この例では,ラベル「ErrorLabel」がgotoステートメントなしで指定されています。
正しい指定例

DEFINE
{
  const string ExeVersion = "7.1";
  const string FileVersion = "7.1";
  integer sloop_max = 0;
}
MAIN
{
  if (ExeVersion == FileVersion)
     AIT_LogMessage("Setup(Japanese)For Windows-Start");
     if (AIT_FileExists("#setup.exe") == 0)
        goto ErrorLabel;      // gotoステートメントを指定しました
        sloop_max = 0;
     endif;
ErrorLabel:      // ラベルが定義されています
     stMsgText = "Setup(Japanese) " + InstallerName + " Not Found";
     AIT_LogMessage(stMsgText);
  endif;
}

ラベル「ErrorLabel」に対応するgotoステートメントを指定しました。
なお,必要のないラベルステートメントを削除する対処方法もあります。