(
(
exists key "HKEY_CLASSES_ROOT\Installer\Products" of
(
if
(
exists key "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion" whose
(
exists value "ProductId" of it OR exists value "CommonFilesDir" of it
)
of registry
)
then
(
x64 registry
)
else
(
registry
)
)
)
AND
(
exists key whose
(
(
value "ProductName" of it as string contains "Office"
)
AND
(
value "ProductName" of it as string contains "2003"
)
AND
(
(
value "ProductName" of it as string contains "Professional Enterprise Edition"
)
OR
(
value "ProductName" of it as string contains "Standard Edition"
)
OR
(
value "ProductName" of it as string contains "Basic Edition"
)
OR
(
value "ProductName" of it as string contains "Small Business Edition"
)
OR
(
value "ProductName" of it as string contains "Professional Edition"
)
)
)
of key "HKEY_CLASSES_ROOT\Installer\Products" of
(
if
(
exists key "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion" whose
(
exists value "ProductId" of it OR exists value "CommonFilesDir" of it
)
of registry
)
then
(
x64 registry
)
else
(
registry
)
)
)
)
((exists key "HKEY_CLASSES_ROOT\Installer\Products" of (if (exists key "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion" whose (exists value "ProductId" of it OR exists value "CommonFilesDir" of it) of registry) then (x64 registry) else (registry))) AND (exists key whose ((value "ProductName" of it as string contains "Office") AND (value "ProductName" of it as string contains "2003") AND ((value "ProductName" of it as string contains "Professional Enterprise Edition") OR (value "ProductName" of it as string contains "Standard Edition") OR (value "ProductName" of it as string contains "Basic Edition") OR (value "ProductName" of it as string contains "Small Business Edition") OR (value "ProductName" of it as string contains "Professional Edition"))) of key "HKEY_CLASSES_ROOT\Installer\Products" of (if (exists key "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion" whose (exists value "ProductId" of it OR exists value "CommonFilesDir" of it) of registry) then (x64 registry) else (registry))))