namespace SabreTools.Data.Models.WiseInstaller.Actions
{
///
/// Check If File/Dir Exists
///
/// This action determines if a file or directory exists, whether a directory is writable, or if a
/// .DLL is loaded into memory. It can perform different actions based on the result of the
/// check.
///
///
/// This action is called through Call DLL Function and is mapped to "f19".
/// This acts like the start of a block if a flag is set.
///
///
public class CheckIfFileDirExists : FunctionData
{
///
/// Flags from the argument data
///
///
/// Encoded as a string, binary representation in script file.
/// Expected flags:
/// - Display Message Only (unknown)
/// - Abort Installation (unknown)
/// - Start Block (unknown)
/// - Start While Loop (unknown)
/// - Perform loop at least once (unknown)
///
public byte DataFlags { get; set; }
///
/// Pathname
///
public string? Pathname { get; set; }
///
/// Appears in the body of the message dialog box. Leave this blank to prevent the
/// message from appearing.
///
public string? Message { get; set; }
///
/// Dialog box title
///
public string? Title { get; set; }
}
}