#209997 - 2015-02-24 11:26 AM
READVALUIE returning nothing on 64 bits platforms
|
yellowdog
Starting to like KiXtart
Registered: 2005-06-14
Posts: 102
|
Hello,
Could you tell me why when using the READVALUE command on any 64 bits platform the return is always empty, although the value is present in the registry ?
I tried the following:
READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent", "DisplayName")
READVALUE("HKEY_LOCAL_MACHINE\Wow6432Node\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent", "DisplayName")
Thanks for the answer.
|
Top
|
|
|
|
#210004 - 2015-02-24 08:09 PM
Re: READVALUIE returning nothing on 64 bits platforms
[Re: Lonkero]
|
yellowdog
Starting to like KiXtart
Registered: 2005-06-14
Posts: 102
|
Glenn, I copied your command at the begining of my script and set either on or off, but it doese not solve my problem, the return of READVALUE is still empty.
Lonkero, the value is not in the WOW node, I tried to get the value from either the 32 or 64 node and the result is always empty.
Any idea ?
|
Top
|
|
|
|
#210023 - 2015-03-02 10:06 AM
Re: READVALUIE returning nothing on 64 bits platforms
[Re: Lonkero]
|
yellowdog
Starting to like KiXtart
Registered: 2005-06-14
Posts: 102
|
Christophem, I test the presence of the fusion inventory 64 bits client on a server. And the key for this agent is located here on a 64 bits server.
READVALUE ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent","DisplayName")
And systematically the content of the READVALUE is empty.
What is the problem ?
|
Top
|
|
|
|
#210073 - 2015-03-10 03:06 PM
Re: READVALUIE returning nothing on 64 bits platforms
[Re: Lonkero]
|
yellowdog
Starting to like KiXtart
Registered: 2005-06-14
Posts: 102
|
I must be blind, but I tried Glenn's stuff in vain and any key in either the WOW or not is returning nothing.
What's the answer please ?
Edited by yellowdog (2015-03-10 03:07 PM)
|
Top
|
|
|
|
#210089 - 2015-03-11 11:17 AM
Re: READVALUIE returning nothing on 64 bits platforms
[Re: Allen]
|
yellowdog
Starting to like KiXtart
Registered: 2005-06-14
Posts: 102
|
That is not the answer, I did a mistake copying the key indeed.
But I get nothing in return from the command if I use the following key, set for a 64 bits server.
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent"
|
Top
|
|
|
|
#210101 - 2015-03-11 05:53 PM
Re: READVALUIE returning nothing on 64 bits platforms
[Re: Glenn Barnas]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4545
Loc: USA
|
Post your results:
? @onwow64
? @kix
?
? READVALUE ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent","DisplayName")
? @serror
?
? READVALUE ("HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent","DisplayName")
? @serror
?
$RC = SetOption('WOW64AlternateRegView', 'on')
? READVALUE ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent","DisplayName")
? @serror
?
? READVALUE ("HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FusionInventory-Agent","DisplayName")
? @serror
?
|
Top
|
|
|
|
#210105 - 2015-03-13 12:06 PM
Re: READVALUIE returning nothing on 64 bits platforms
[Re: Allen]
|
yellowdog
Starting to like KiXtart
Registered: 2005-06-14
Posts: 102
|
The result of your script is:
C:\Windows\kixtart>KIX32.EXE test.kix
1 4.51
Le fichier spécifié est introuvable.
Le fichier spécifié est introuvable.
Le fichier spécifié est introuvable.
Le fichier spécifié est introuvable.
C:\Windows\kixtart>
|
Top
|
|
|
|
#210107 - 2015-03-13 03:53 PM
Re: READVALUIE returning nothing on 64 bits platforms
[Re: Jochen]
|
yellowdog
Starting to like KiXtart
Registered: 2005-06-14
Posts: 102
|
OK now it's working
C:\TEMP\KIX>KIX32.EXE test.kix
1 4.64
Le fichier spécifié est introuvable.
Le fichier spécifié est introuvable.
FusionInventory Agent 2.3.14 (x64 edition) L'opération a réussi.
Le fichier spécifié est introuvable.
C:\TEMP\KIX>
Thank you for your assistance all together.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 515 anonymous users online.
|
|
|