ExpandMacros() public méthode

public ExpandMacros ( string input ) : string
input string
Résultat string
Exemple #1
0
        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);
        }
Exemple #2
0
        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;
        }
Exemple #3
0
 protected string ExpandMacros(string sInput)
 {
     return(m_oBuilder.ExpandMacros(sInput));
 }