UserContext vs. UAC

Got a problem you cannot solve? Try here.
Post Reply
anja_laenge
Posts: 131
Joined: Tue Nov 20, 2012 1:02 am

UserContext vs. UAC

Post by anja_laenge »

Hi,

we have the following requirements:
  • present a dialog to choose the target showing ALL mapped folders and drives, shares, network locations the user sees in the windows explorer and choose them via dialog
  • install for all users
  • install into
    • program files
    • all other locations mentioned above
    • targets entered as UNC paths
  • set environment varriables
  • set permissions for various folders
  • deliver an msi

To achieve the first, we need to start in the corresponding user context (non elevated),
to achieve the rest we need an admin context.
An admin context does not know the mapped drives/folders the user knows meaning an "M:\mytarget" configured by a user is invalid in the admin context.

How to achieve all of the above?
We are using X9 studio.

kind regards
Anja
anja_laenge
Posts: 131
Joined: Tue Nov 20, 2012 1:02 am

Re: UserContext vs. UAC

Post by anja_laenge »

Hello technical support team, someone at home?
glenharvy
Posts: 167
Joined: Fri Sep 14, 2007 3:53 am

Re: UserContext vs. UAC

Post by glenharvy »

Technical Support is a paid item which you obviously don't have. There are only a few "experts" that even look at this board and then only from time-to-time.

I would suggest you gather the data into a variable and when you "change context", use those variables bearing in mind permissions required to access those paths.
Post Reply