summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-03-09 10:26:09 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-03-09 10:59:08 +0200
commit5ce2c589081aaa6f5414c12cdabd8e96482430c3 (patch)
treee5960ed77d9419d5d2f50b0504d962a6a6c1bfe3
parent2a2c05e99c47297a8793a54728af8355149d897a (diff)
Look for Windows SDK v7.1, too
-rwxr-xr-xoowintool4
1 files changed, 4 insertions, 0 deletions
diff --git a/oowintool b/oowintool
index a0ca4f6318e0..3515ccd64a44 100755
--- a/oowintool
+++ b/oowintool
@@ -98,6 +98,10 @@ sub print_windows_sdk_home()
$value = reg_get_value ('HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/Windows/v6.1/InstallationFolder');
if (!defined $value)
{
+ $value = reg_get_value ('HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/Windows/v7.1/InstallationFolder');
+ }
+ if (!defined $value)
+ {
$value = reg_get_value ('HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/Windows/CurrentInstallFolder');
}
if (!defined $value)