/build/static/layout/Breadcrumb_cap_w.png

System search Fails...Pls need some suggestions

Hello

I am trying to build a package, I have to create a condition so that it installs only on particular cmputers which has a registry key (part of build)

So i have configured System Search with following options:
PROPERTY : REGLOOKUP
OPERATION: Read raw value from registry
ROOT : HKEY_LOCAL_MACHINE
KEY : SOFTWARE\COMPANY\CONFIG\IDENTITY
VALUE NAME: Hardware
this value name has a data DELL OPTIPLEX GX520ML
and also i have enabled Launch condition with condition REGLOOKUP="DELL OPTIPLEX GX520ML" along with some error message

But when i install i just get error message that i entered though i have the registry key. I have tried by removing the quotes.

Please Help me with any suggestions...

Thanks in advance

0 Comments   [ + ] Show comments

Answers (10)

Posted by: Inabus 16 years ago
Second Degree Green Belt
0
Just use the following in the condition and nothing else:

REGLOOKUP

If that doesnt work then use Not REGLOOKUP.

Regards
P
Posted by: vinpra 16 years ago
Senior Yellow Belt
0
Thanks for the reply,
I have tried using that..but here i need to install the package on a particular model of machine, and we have created a registry on each build with computer model name, I need to check the reg value data before i install the app

Here is the complete reg path
[HKEY_LOCAL_MACHINE\SOFTWARE\abcd\ConfigCenter\Identity]
"HardwareModel"="Dell Optiplex GX520ML"

and i have to make sure that package installs only on Dell Optiplex GX520ML computers..

anymore suggestions please......
Posted by: anonymous_9363 16 years ago
Red Belt
0
This may be one of those "can't see the wood for the trees" scenarios. Your AppSearch set-up is:

PROPERTY : REGLOOKUP
OPERATION: Read raw value from registry
ROOT : HKEY_LOCAL_MACHINE
KEY : SOFTWARE\COMPANY\CONFIG\IDENTITY
VALUE NAME: Hardware
this value name has a data DELL OPTIPLEX GX520ML

but your registry looks like this:

[HKEY_LOCAL_MACHINE\SOFTWARE\abcd\ConfigCenter\Identity]
"HardwareModel"="Dell Optiplex GX520ML"

Or are these typos?
Posted by: vinpra 16 years ago
Senior Yellow Belt
0
am sorry..i changed the company name just to avoid it, pls read it as COMPANY

[HKEY_LOCAL_MACHINE\SOFTWARE\Company\ConfigCenter\Identity]
"HardwareModel"="Dell Optiplex GX520ML"
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
OK

Set the install condition to REGLOOKUP="DELL OPTIPLEX GX520ML"

Make sure you have the following in the RegLocator table

Signature_ = NewSignature1
Root = 2
Key = SOFTWARE\abcd\ConfigCenter\Identity
Name = HardwareModel
Type = 2

Make sure you have the following in the AppSearch table:

Property = REGLOOKUP
Signature_ = NewSignature1

Give that a go, note that the signature can be anything you want as long as it matches between the 2 tables.

P
Posted by: vinpra 16 years ago
Senior Yellow Belt
0
I have checked every thing
launch condition:
REGLOOKUP="Dell Optiplex GX520ML"

AppSearch:
Property: REGLOOKUP,
Signature_ : AppReg

In RegLocator:
Signature_ : AppReg;
Root: 2
Key : SOFTWARE\abcd\ConfigCenter\Identity
Name: HardwareModel
Type: 2


Still i get the error message "Not valid machine" which i have entered in launch conditiion, though i have the registry or not

What am i doing wrong?
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
Could you confirm the case of the strings as in your first post you have caps and in the last post you have mixed for both the reg value and the system search value.

To be honest the logic you have seems fine to me, would be worth checking the case of all properties and values, as well as spelling, as a single typo could cause this to break.

P
Posted by: spartacus 16 years ago
Black Belt
0
.. and if lowercase / uppercase does turn out to be the issue, you could always use

REGLOOKUP~="DELL OPTIPLEX GX520ML"

as your launch condition (note the tilde "~")

Regards,

Spartacus
Posted by: sh79 16 years ago
Senior Yellow Belt
0
Did you get this sorted yet Vinpra?
Just a thought but have you verified that the LaunchConditions action runs after your Appsearch?
I think by default Appsearch runs first but you never know - or maybe your Appsearch action is not present.
I've come across some msi's that don't have this action so never evaluate the search..hence LaunchConditions that don't work.
You've said that you are trying to 'build' a package so I presume it's not a vendor msi which pretty much rules out a sequencing issue.

You should prob check your logs if you haven't done so..you'll see the actions listed there.. I think you'll also see the property as it is populated. Check to see if it contains what it should.
Posted by: vinpra 16 years ago
Senior Yellow Belt
0
Thanks for response. I have sorted it out. I forgot to sequense the launch condition above the app search..

sh79, yes i am building a package,its not a vendor msi. i missed at the sequencing issue...anyways thanks for the info
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