I need to have an entry stored in [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers] so as to mark a product file in compatibility mode (for all users). When setting this and running in Windows7, the entries land in [HKEY_LOCAL_MACHINESOFTWARE*Wow6432Node*MicrosoftWindows NTCurrentVersionAppCompatFlagsLayers] where they are not taken into account for the purpose.

I can understand that this translation isn't done by InstallBuilder; I found a general reference on this: http://stackoverflow.com/questions/7311146/write-the-registry-value-without-redirect-in-wow6432node

How can I follow one of these situations with Installbuilder?

asked 14 May '13, 02:36

Andre's gravatar image

accept rate: 0%

You can force the key to be written to the 64bit view using the <wowMode> setting:

  <!-- The 64bit version takes precedence so we check it in second place -->

You can also force all your installer to write to the 64bit view enabling the 64bit mode as explained in this article.


answered 14 May '13, 03:07

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Thanks a lot. I now see that the edition panel has the "Wow mode" field, I did not notice since it needs "Advanced mode" which is the default only if Wow mode is filled.

I'm now going to check if this setting is omitted in WinXP when I have coded:

<wowmode>64</wowmode> <rulelist> <platformtest type="windows-x64"/> </rulelist>

or at least that it doesn't cause an error message.


answered 14 May '13, 04:55

Andre's gravatar image

accept rate: 0%

You can safely always enable it. It will be ignored on 32bit systems.

(14 May '13, 05:57) juanjo ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 May '13, 02:36

Seen: 1,878 times

Last updated: 14 May '13, 05:57