Page 1 of 1

UserContext vs. UAC

Posted: Wed Feb 20, 2019 3:01 pm
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

Re: UserContext vs. UAC

Posted: Tue Feb 26, 2019 3:29 am
by anja_laenge
Hello technical support team, someone at home?

Re: UserContext vs. UAC

Posted: Thu Feb 28, 2019 6:43 am
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.