Create registry key in 32-bit hive on x64 PC using Installshield 2012 LE - Avoid redirection

天大地大妈咪最大 提交于 2019-12-12 18:45:07

问题


I am trying to deploy an Outlook 2010 x64 AddIn in a x64 OS. For this AddIn I have to create the registry keys at HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\[add-in ID]. But Installshield Spring 2012 LE insists in creating the registry keys at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\Outlook\Addins\[add-in ID].

I know there's a redirection of the registry creation taking place, but how do I avoid this redirection? The AddIn registry keys need to be created in the 32-bits hive in order for it to work.

Any ideas?


回答1:


Open your setup in VS, go to the "Organize Your Setup" section at "General Information". There change the property "ALLUSERS" to "ALLUSERS=""(Per-user installation)". This will make the Installshield create the registry keys in the 32-bit hive of the registry. – Joe Almore Oct 10 '13 at 3:03



来源:https://stackoverflow.com/questions/18860957/create-registry-key-in-32-bit-hive-on-x64-pc-using-installshield-2012-le-avoid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!