Skip to content
⌘ NSIS Forum Archive

RequestExecutionLevel user and installation in ProgramFiles

4 posts

bruno#

RequestExecutionLevel user and installation in ProgramFiles

Hello

On windows 8 and next,
Is it possible to install my application in Program Files and write in HKLM with a standard windows user and an nsis script with RequestExecutionLevel user ?

I have problem with it so I have to be with a RequestExecutionLevel admin.

If my script and my application have a windows certificate it changes something?

If not I need to change my installation directory?

thanks
bruno#
Thanks Anders.
So i need to change directory to lower the level of my install for a standard user.
Anders#
Originally Posted by bruno View Post
Thanks Anders.
So i need to change directory to lower the level of my install for a standard user.
Yes and you can only write to HKCU in the registry. You can set $InstDir to $LocalAppData\Programs\MyApp for example...