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

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
Just use the following in the condition and nothing else:

REGLOOKUP

If that doesnt work then use Not REGLOOKUP.

Regards
P
Answered 10/31/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
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......
Answered 10/31/2007 by: vinpra
Senior Yellow Belt

Please log in to comment
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?
Answered 10/31/2007 by: VBScab
Red Belt

Please log in to comment
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"
Answered 10/31/2007 by: vinpra
Senior Yellow Belt

Please log in to comment
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
Answered 10/31/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
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?
Answered 10/31/2007 by: vinpra
Senior Yellow Belt

Please log in to comment
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
Answered 10/31/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
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
Answered 10/31/2007 by: spartacus
Black Belt

Please log in to comment
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.
Answered 10/31/2007 by: sh79
Senior Yellow Belt

Please log in to comment
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
Answered 11/01/2007 by: vinpra
Senior Yellow Belt

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