moet36
(Just in Town)
2018-01-30 05:19 AM
ReadValue doesn't work

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


AllenAdministrator
(KiX Supporter)
2018-01-30 05:52 AM
Re: ReadValue doesn't work

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")