Page 1 of 1 1
Topic Options
#214287 - 2024-11-19 09:56 AM Can't read registry keys from Microsoft Office 2021
Christof Offline
Fresh Scripter

Registered: 2003-04-10
Posts: 35
Loc: Ornbau, Frankonia, Germany
Hello,

I try to read registry keys from Office 2021 but it's not working. It works with VB-Script, but not with Kix. Other keys can be read correctly, but nothing in the office path.

This is my code:
$Path=ReadValue("HKLM\SOFTWARE\Microsoft\Office\16.0\Word\InstallRoot","Path")
messagebox($Path,"Path")

I use Kix 4.70.

Top
#214288 - 2024-11-19 08:29 PM Re: Can't read registry keys from Microsoft Office 2021 [Re: Christof]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4549
Loc: USA
I'm guessing you are on x64 version of Windows...

Search for
setoption("WOW64AlternateRegView","On")

Here's a thread with a similar question...
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=211929#Post211929

Top
#214289 - 2024-11-20 10:30 AM Re: Can't read registry keys from Microsoft Office 2021 [Re: Allen]
Christof Offline
Fresh Scripter

Registered: 2003-04-10
Posts: 35
Loc: Ornbau, Frankonia, Germany
Thank you, this was the solution. Now it works.
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 366 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.052 seconds in which 0.023 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