PDA

View Full Version : AppSearch not working?



peterbi
06-18-2004, 07:27 PM
Hi,

I am facing a very basic issue: I used AppSearch and RegLocator tables to setup a public property MSDEINSTALLED, which tells me if MSDE has been installed in the target system:

AppSearch table:
---------------------
Property Signature
MSDEINSTALLED Signature_msde


RegLocator table:
------------------------------------------------------------------------------
Signature Root Key
Signature_msde 2 SOFTWARE\Microsoft\Microsoft SQL Server\80

------------------------------------
Name Type
2


Then I create a new dialog (DependencyFailed - to abort install), and set InstallWelcom's 'Next' button do the following:

Event Argument Condition
-------------------------------------------------------------------------------
NewDialog ReadyToInstall MSDEINSTALLED
NewDialog DependencyFailed Not MSDEINSTALLED

I think this should make it.

But the problem is that I always run into DependencyFailed dialog, no matter I have that reg key or not ...

Is there any problem with the settings? Why AppSearch doesn't work?

Thanks,
Peter

TsungH
06-19-2004, 12:30 PM
Follow up here (http://community.installshield.com/showthread.php?s=&threadid=127302&highlight=reglocator).

For other discussions, please search on RegLocator in InstallShield Community > Search (http://community.installshield.com/search.php?s=).

peterbi
06-21-2004, 11:25 AM
Hmmm, that sounds AppSearch is really restricted for use on with RegLocator ...

So I can create a CA to search the reg key, and set a public property, right?

Thanks,
Peter

huntant
06-21-2004, 12:10 PM
You need to search for an entry that has a value. It looks like you will be retrieving the value of (Default) which will be nothing, so the property is not created.

I use AppSearch and RegLocator tables all the time, and have never had a problem.



Anthony

Peter Kosenko
11-03-2004, 07:54 PM
I have a similar issue. But this is not a question about how to use RegLocator but an even more fundamental question. What registry values am I supposed to be searching for to determine whether SQL Server OR MSDE are installed on the computer? It seems to me that they both use the Microsoft SQL Server key. What distinguishes them (SQL Server vs. MSDE)?

If I find out before anyone else tells me, I'll post again.

Peter Kosenko


*********************


Hi,

I am facing a very basic issue: I used AppSearch and RegLocator tables to setup a public property MSDEINSTALLED, which tells me if MSDE has been installed in the target system:

AppSearch table:
---------------------
Property Signature
MSDEINSTALLED Signature_msde


RegLocator table:
------------------------------------------------------------------------------
Signature Root Key
Signature_msde 2 SOFTWARE\Microsoft\Microsoft SQL Server\80

------------------------------------
Name Type
2


Then I create a new dialog (DependencyFailed - to abort install), and set InstallWelcom's 'Next' button do the following:

Event Argument Condition
-------------------------------------------------------------------------------
NewDialog ReadyToInstall MSDEINSTALLED
NewDialog DependencyFailed Not MSDEINSTALLED

I think this should make it.

But the problem is that I always run into DependencyFailed dialog, no matter I have that reg key or not ...

Is there any problem with the settings? Why AppSearch doesn't work?

Thanks,
Peter