Page 1 of 1 1
Topic Options
#213168 - 2018-01-30 05:19 AM ReadValue doesn't work
moet36 Offline
Just in Town

Registered: 2018-01-30
Posts: 1
Loc: usa
Hi there,

I wanted to check the Office 365 version by querying the registry. I created a very basic kix but seems not working. Did I miss anything? Please advise and thank you so much.

$ver = ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\ClickToRun\Configuration","Platform")
? "The version is: $ver"

and from the console, just got The version is: (nothing after:)
Testing on Win7 and Win10 no luck. Running kix 4.61

Top
#213169 - 2018-01-30 05:52 AM Re: ReadValue doesn't work [Re: moet36]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
We really need to move this question to a FAQ... it's asked at least once every 6 months.

Kixtart is a 32bit app, and by default will look in HKLM\Software\Wow6432node on 64bit Windows.

Try setting this option
$RC=setoption("WOW64AlternateRegView","On")

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.052 seconds in which 0.022 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org