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
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).
Property - Signature
PREREQSQL NewSignature1
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)
Please log in to answer
Posted by:
gmorgan618
17 years ago
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
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
Posted by:
stabish
13 years ago
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
FINDMYREG =
(Default) HKEY_LOCAL_MACHINE\SOFTWARE\
AppSearch
Property Signature
FINDMYREG NewSignature1
Signature Root Key Type
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.