Quantcast
Channel: Desktop & Server Management (DSM) Forum
Viewing all articles
Browse latest Browse all 470

RegKey x86 System auslesen

$
0
0
Hallo,

ich habe mal dieses Script gemacht:

Set('_MsOfficeVersion','0')
!
!Check Office Version
If CheckPlatform(cpWinSevenx64)
If RegKeyExists('HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432N ode\Microsoft\Office\14.0')
RegReadValue('HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432N ode\Microsoft\Windows\CurrentVersion\Uninstall\{90 140000-0011-0000-0000-0000000FF1CE}','DisplayVersion','_MsOfficeVersion' )
If %_MsOfficeVersion%<>'0'
!
ExitProcEx(Done,'Office found "%_MsOfficeVersion%"')
Else
If CheckPlatform(cpWinSevenx86)
If RegKeyExists('HKEY_LOCAL_MACHINE\SOFTWARE\Microsof t\Office\14.0',)
RegReadValue('HKEY_LOCAL_MACHINE\SOFTWARE\Microsof t\Windows\CurrentVersion\Uninstall\{90140000-0011-0000-0000-0000000FF1CE}','DisplayVersion','_MSOfficeVersion' ,reUseX64Hive)
If %_MsOfficeVersion%<>'0'
!
ExitProcEx(Done,'Office found "%_MsOfficeVersion%"')


Auf eine x64 System wird die Office Version erkannt aber auf eine x86 System hingegen nicht.

im ENTEO früher hatte das ohne Probleme funktioniert so aber jetzt geht nicht mehr

Viewing all articles
Browse latest Browse all 470

Trending Articles