public bool ValidateSettings(Builder builder, out string result) { if (!File.Exists(builder.ExpandMacros(VSPath))) { result = "The Visual Studio executable does not exist in the specified path\r\n"; return(false); } if (!File.Exists(builder.ExpandMacros(InnoSetupPath))) { result = "The InnoSetup executable does not exist in the specified path\r\n"; return(false); } if (!Directory.Exists(builder.ExpandMacros(SourcePath))) { result = "The hMailserver source code does not exist in the specified path\r\n"; return(false); } result = ""; return(true); }
public bool ValidateSettings(Builder builder, out string result) { if (!File.Exists(builder.ExpandMacros(VSPath))) { result = "The Visual Studio executable does not exist in the specified path\r\n"; return false; } if (!File.Exists(builder.ExpandMacros(InnoSetupPath))) { result = "The InnoSetup executable does not exist in the specified path\r\n"; return false; } if (!Directory.Exists(builder.ExpandMacros(SourcePath))) { result = "The hMailserver source code does not exist in the specified path\r\n"; return false; } result = ""; return true; }
protected string ExpandMacros(string sInput) { return(m_oBuilder.ExpandMacros(sInput)); }