/build/static/layout/Breadcrumb_cap_w.png

InstallShield SYSTEM SEARCH

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

Answers (10)

Posted by: anonymous_9363 14 years ago
Red Belt
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
Posted by: stabish 14 years ago
Orange Belt
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
Posted by: anonymous_9363 14 years ago
Red Belt
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.
Posted by: Yankir 14 years ago
Senior Yellow Belt
0
Make sure AppSearch is placed above LaunchCondition standard action.
Posted by: stabish 14 years ago
Orange Belt
0
I changed it to FINDMYREG<>"" as well as FINDMYREG <> 0 still playing around but no success :(
Posted by: stabish 14 years ago
Orange Belt
0
Yankir - Just verified AppSearch is placed above LaunchCondition by default
Posted by: Yankir 14 years ago
Senior Yellow Belt
0
You can also go for combination of If condition and Terminate Installation if nothing else works.
Posted by: captain_planet 14 years ago
Black Belt
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?
Posted by: nebuchadnezzar 12 years ago
Yellow Belt
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
Posted by: jaybee96 12 years ago
Red Belt
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?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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