PDA

View Full Version : Software Requirements problem



geppo12
12-30-2002, 03:35 AM
I Cannot add a software Requirements which look for a specific key on Registry. Moreover I am confused about the "64 bit part of registry" checkmark present in the wizard.

I answer all question of the wizard, I have that key in my registry, but if I enable that software Requirements, the installation fails.

Thank for help
Ing Giuseppe Monteleone

Mike Marino
01-02-2003, 12:40 PM
What are the settings you are using in the Wizard?

geppo12
01-02-2003, 06:44 PM
I Start wizard: HKEY_CLASSES_ROOT and the i put in the register key SOFTWARE\Microsoft\SQL Server
and nothing in the registry value

these setting doesn't work

Thank for help
Ing Giuseppe Monteleone

Mike Marino
01-03-2003, 11:53 AM
When using a Registry Requirement as you have defined:

HKEY_CLASSES_ROOT
SOFTWARE\Microsoft\SQL Server

When the Value is left blank, this causes the installation to look at the data of the "(Default)" value of that registry key. If the "(Default)" has no value, or is empty, Windows Installer considers this as the key not being present.

So if there is no "(Default)" value for a registry key, the condition will fail. Unless you are specifically checking for the "(Default)" value, it is usually best to look for a specific Value.

Hope this helps