Menu

#924 LOCALAPPDATA not working on Win7

2.0 Series
closed-invalid
Anders
Scripting (211)
5
2009-08-16
2009-08-07
Anonymous
No

I have two users defined on my Win7 machine, one is an administrator login, the other is a standard user. When running an NSIS install as the standard user, UAC privilege elevation works as expected and all other installer actions work as expected (Program Files, shortcuts, registry keys, etc.). However the expansion of $LOCALAPPDATA contains the name of the administrative user instead of the user that I'm logged in as.

I'm using NSIS 2.45, advanced logging build, on Win7 build 7100.

I can be reached at jeremy@perceptivepixel.com.

Discussion

  • Anders

    Anders - 2009-08-08

    This is how it's supposed to work, if you require elevation, you are doing a all users install and should not touch appdata/localappadata/HKEY_CURRENT_USER

     
  • Amir Szekely

    Amir Szekely - 2009-08-16
    • assigned_to: nobody --> anders_k
    • status: open --> closed-invalid
     

Log in to post a comment.