Hello world ;)
I am facing a problem for quite a while now, hoping anybody here has an idea how to deal with it.
We have a application that is distributed to different workstations in our company.
It has an updater which basically copies the new files to their destination folders on the client machines (XP, Win 7).
A requirement was that the application is copied into the "Programms" folder which is, as we all know, a protected one.
I used impersonation via
LogonUser of the advapi32.dll, passing an admin user login as parameters.
It worked fine for the XP machines, unfortunately not for the Win 7 ones.
Could anybody be so kind and tell me how impersonation is archieved on win 7 machines?
I digged through Google for quite a while now but nothing really worked.
I also added
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> in the manifest etc, no result but maybe I am just on the wrong path.
Any "enlightments" are kindly appreciated,