public static string GetInstallDir() { var result = ""; SafeSetString("InstallDir", x => result = x); return result; }