/build/static/layout/Breadcrumb_cap_w.png

Using System search to create Install condition

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

Answers (3)

Posted by: gmorgan618 17 years ago
Blue Belt
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
Posted by: oreillyr 17 years ago
Fifth Degree Brown Belt
0
Thanks Grant, that worked great. I was going round in circles there for a while[:D]
Posted by: stabish 13 years ago
Orange Belt
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

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ