JP1/NETM/DM Automatic Installation Toolガイド (Windows(R)用)

[目次][用語][索引][前へ][次へ]

AITCE-0030

<関数名> : 関数名が誤っています。

要因
無効な関数名(使用できるAPI一覧にない関数名)が指定されています。
対処
AITファイルで有効な関数名を指定してください。有効な関数(API名)の一覧は,「4.1 API一覧」を参照してください。
誤った指定例
DEFINE
{
   const string ExeVersion = "7.1";
   const string FileVersion = "7.1";
   string stMsgText;
}
MAIN
{
   if (ExeVersion == FileVersion)
      if (AIT_FileExists1("#setup.exe") == 0)      // 「AIT_FileExists1」は使用できるAPIではありません
         stMsgText = "Setup(Japanese) " + InstallerName + " Not Found";
         AIT_LogMessage(stMsgText);
      endif;
   endif;
}
「AIT_FileExists1()」は使用できるAPIではありません。
正しい指定例
DEFINE
{
   const string ExeVersion = "7.1";
   const string FileVersion = "7.1";
   string stMsgText;
}   
MAIN
{
   if (ExeVersion == FileVersion)
      if (AIT_FileExists("setup.exe") == 0)      // 使用できるAPIを指定しました
         stMsgText = "Setup(Japanese) " + InstallerName + " Not Found";
         AIT_LogMessage(stMsgText);
      endif;
   endif;
}
使用できるAPIとして「AIT_FileExists()」を指定しました。