View Single Post
Old 20th February 2019, 13:01   #1
Junior Member
Join Date: Sep 2018
Posts: 5
Writing unsupported AppCompatFlags value on 64-bit Windows

Hello, my dear,

I would like to know how to create the Layers directory via NSIS
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

On a blank machine this directory does not exist and I put this in my script
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" "C:\application,exe" "~ RUNASADMIN WIN7RTM"

and it does not create it.
You can come to my help.
Ptitus37 is offline   Reply With Quote