Fixed the return value of the GetOfficeExePath, this should be null so it's clear the file hasn't been found.

This commit is contained in:
Robin Krom 2022-08-17 23:12:55 +02:00
parent 296dc9f340
commit 511034a34b
No known key found for this signature in database
GPG key ID: BCC01364F1371490

View file

@ -38,6 +38,6 @@ internal static class OfficeUtils
return $@"{installRootKey.GetValue("Path")}\{exeName}"; return $@"{installRootKey.GetValue("Path")}\{exeName}";
} }
} }
return string.Empty; return null;
} }
} }