VSTO x64 runtime installed but can't be found

后端 未结 1 811
猫巷女王i
猫巷女王i 2020-12-18 14:50

I created a WiX installer deploying an add in for Windows 2010. Target system is currently x64 Win & Office installed. I walked through several microsoft sites telling m

1条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 15:28

    On x64 systems WoW64 apps are transparently redirected into Wow6432Node node of the registry, so they actually look for a key like HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VSTO Runtime Setup there it is located. But the real x64 apps look into real HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTO Runtime Setup node, and the key is, naturally, not present there. This, most probably causes your installer to fail. So, for a x64 installer you need to specify full node with Wow6432Node path part.

    This is called Registry Reflection and covered in details here.

    0 讨论(0)
提交回复
热议问题