Hi All,

I am using Installshield 12 Professional.

I am trying to get my product to install/abort according to the result of a System Search. I have used the wizard and am searching for Microsoft SQL Server 2005 Express using the reg key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server 2005 Redist

If this key is found then continue with the install and if not show a pop up with a msg similar to"App requires SQL SEerver2005 as a pre-req, please install this first." and then abort the install.

I am not quite sure what to do with the property when the wizard asks what you want to do I click

"Store the value in a property and use the property in an install condition" and add my message there.

I have created a property called PREREQSQL but am not sure what to do with it( or would I store it in a pre defined property?). I have managed to get the pop-up to show however it shows whether the reg entry is there or not, not ideal[:D]. I have also managed to get it to install fully whether there or not i.e. ignore the install condition, also not ideal [:D].

I have ensured that AppSearch is before LaunchCondition in the sequences(Execute and UI).


APPSEARCH TABLE
Property - Signature

PREREQSQL NewSignature1

REGLOCATER TABLE
Signature Root Key Name Type
NewSignature1 2 SOFTWARE\Microsoft\Microsoft SQL Server 2005 Redist 2

Do I need to define the property in the property table and give it a value? Thanks in advance for any help
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You AppSearch will populate your property.

Create an entry in the Launch Condition Table

Condition:
PREREQSQL<>""

Then the description(or whatever it is called) is the message you want to display...

Launch Conditions must be true in order for the MSI to launch...

You may need to reorder your sequences in order to get the AppSearch before LaunchConditions

-Grant
Answered 02/08/2007 by: gmorgan618
Blue Belt

Please log in to comment
0
Thanks Grant, that worked great. I was going round in circles there for a while[:D]
Answered 02/08/2007 by: oreillyr
Fifth Degree Brown Belt

Please log in to comment
0
oreillyr- Sorry for hacking your post but i'm having the same problem i've tried to play with the conditions & also changed my property values but still no success. Please advise

Property
FINDMYREG =

System Search
Search For Search In Store In
(Default) HKEY_LOCAL_MACHINE\SOFTWARE\MYREG FINDMYREG

AppSearch

Property Signature
FINDMYREG NewSignature1

LaunchCondition
Condition Description
FINDMYREG Please Install my XYZ Reg first

RegLocator
Signature Root Key Type
NewSignature1 2 SOFTWARE\MYREG 2

Answered 04/26/2010 by: stabish
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity