Excel2003Registry=Registry. DoesKeyExist (HKEY_LOCAL_MACHINE, "SOFTWARE \ \ Microsoft \ \ Office \ \ 15.0 \ \ Excel");
Returns nil
My machine is win10, filled with 0 ffice2013
Setupfactory7 can only identify to Excel2003Registry=Registry. DoesKeyExist (HKEY_LOCAL_MACHINE, "SOFTWARE \ \ Microsoft \ \ Office \ \ 15.0, plus excel won't read it, this is how to return a responsibility? Tried many times, 1 day is studied, and the fruit, there is a reading in setupfactory7 registry value function, found the SOFTWARE \ \ Microsoft \ \ Office \ \ after 15.0 no EXCEL, anyway can't read the installation directory for the EXCEL,,,,
CodePudding user response:
Registry key HKLM associated with 32 or 64 - bit Windows is, if it is a 64 - bit, try to add Wow6432NodeHKEY_LOCAL_MACHINE, "SOFTWARE \ \ Wow6432Node \ \ Microsoft \ \ Office \ \ 15.0 \ \ Excel