Using Installshield System Search to verify if the registry entry "HKEY_LOCAL_MACHINE\SOFTWARE\MYREG" exists then proceed with the Install, if not then show the message "Please Install my XYZ Reg first" & abort. I setup a new property called FINDMYREG & then followed the System Search wizard. The pop up message that i set in my Launch condition pops up regardless. I only want the message to pop up if the registry is not there. 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

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
The condition is the problem. Your test for it is triggered by its mere presence (IF FINDMYREG).

- Change the FINDMYREG property's default value to something, say, 0
- Change the condition to test for something other than 0, i.e. FINDMYREG <> 0
Answered 04/26/2010 by: VBScab
Red Belt

Please log in to comment
0
If i change the value for FINDMYREG to anything but null it forces to install the app regardless of the system search & the message doesnt pops up
Answered 04/26/2010 by: stabish
Orange Belt

Please log in to comment
0
Did you make the condition change as well If not, the SS is still testing for the presence of the property, not its value.
Answered 04/26/2010 by: VBScab
Red Belt

Please log in to comment
0
Make sure AppSearch is placed above LaunchCondition standard action.
Answered 04/26/2010 by: Yankir
Senior Yellow Belt

Please log in to comment
0
I changed it to FINDMYREG<>"" as well as FINDMYREG <> 0 still playing around but no success :(
Answered 04/26/2010 by: stabish
Orange Belt

Please log in to comment
0
Yankir - Just verified AppSearch is placed above LaunchCondition by default
Answered 04/26/2010 by: stabish
Orange Belt

Please log in to comment
0
You can also go for combination of If condition and Terminate Installation if nothing else works.
Answered 04/26/2010 by: Yankir
Senior Yellow Belt

Please log in to comment
0
You should do what VBScab said in that:
- Change the FINDMYREG property's default value to something, say, 0
- Change the condition to test for something other than 0, i.e. FINDMYREG <> 0
In other words, if the reg key has been found and the property has been updated, then continue with the install. Otherwise dont.

And when Yankir said to make sure AppSearch is run before LaunchCondition, did you check both the InstallUISequence AND the InstallExecuteSequence?
Answered 04/26/2010 by: captain_planet
Third Degree Brown Belt

Please log in to comment
0
After struggling with this I finally figured out what I was doing wrong.
Part 1
1. Add or modify a system search, Choose Registry entry for your item to search for.
2. Select HKEY_LOCAL_MACHINE as the registry root.
3. Copy and Paste your registry of choice into the Registry Key.
[right][/right]a. SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{90110409-6000-11D3-8CFE-0150048383C9}
4. My registry Value is UninstallString
5. Choose a name for the property yu want to store the Value in, mine is OFFICE2003
6.Leave the additional option Just store the value in the property as default.

Part2
Create a Property in Property Manger with the expected value of the search, mine is, Name: GUID03, Value: MsiExec.exe /I{90110409-6000-11D3-8CFE-0150048383C9}
Part3
Set the Condition as follows, OFFICE2003 = GUID03

This will work if you have MSOffice 2003 install on a windows XP computer but it is just a outline so you can customize it to your needs
Answered 12/08/2011 by: nebuchadnezzar
Yellow Belt

Please log in to comment
0
hmm .. If I see it correctly , you are looking for a previous product?

You can populate the Upgrade table to get the ProductCode from a previous product.
And create a property that will identify the productversion of Office..

Am I right?
Answered 12/13/2011 by: jaybee96
Red Belt

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