My installer detects if it is being used on Windows 7 and the inserts the following key into the registry...

When I right click the icon and view its properties I am seeing the correct compatibility settings I expect to see, but the program doesnt run 🙁
If I delete the reg key and manually set the compatibility settings it works, wierd things is, doing things manually creates the exact same key in the registry.
Is there some other data that needs to be stored somewhere?
This is only happening for HKEY_LOCAL_MACHINE, it works correctly if installed into HKEY_CURRENT_USERS