View Single Post
Old 20th February 2019, 16:19   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,320
So you are choosing to ignore Microsoft's advice and set a value you are not really supposed to set instead of fixing your application?

To set a compatibility flag for a 64-bit application you must detect if you are on 64-bit Windows with the macro in x64.nsh and if that is the case you can call "SetRegView 64" to change to the 64-bit registry view.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote