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
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)
Please log in to answer
Posted by:
Inabus
17 years ago
Posted by:
vinpra
17 years ago
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......
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
17 years ago
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?
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
17 years ago
Posted by:
Inabus
17 years ago
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
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
17 years ago
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?
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
17 years ago
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
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
17 years ago
Posted by:
sh79
17 years ago
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.
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
17 years ago
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.